Debug#

Contains various debug-only functionality.

Access with Debug->.

Variables#

int

RefFFC

int

RefItem

int

RefItemdata

int

RefNPC

int

RefLWeapon

int

RefEWeapon

int

SP

int

PC

int[]

GDR

const int

PlayfieldOffset

int[]

D

const untyped

NULL

const bool

Testing

Functions#

void

TriggerSecret(int arg1)

void

Breakpoint(char32[] string = NULL) deprecated

Variable descriptions#

int RefFFC πŸ”— Source


int RefItem πŸ”— Source


int RefItemdata πŸ”— Source


int RefNPC πŸ”— Source


int RefLWeapon πŸ”— Source


int RefEWeapon πŸ”— Source


int SP πŸ”— Source


int PC πŸ”— Source


int[] GDR πŸ”— Source


const int PlayfieldOffset πŸ”— Source


int[] D πŸ”— Source

This is the value of the ri->d[] registers.

These vary depending on the function, or the instruction.

For variable access, SETTER: ri->d[0] is the value being passed to the variable.

For variable access, GETTER: ri->d[0] *MIGHT BE* the value read from ther variable. (Need to verify.)

For array access, SETTER: ri->d[0] is the array index, and ri->d[1] is the value.

For array access, GETTER: ri->d[0] is the array index. Not sure on the RVal at this time.


const untyped NULL πŸ”— Source


const bool Testing πŸ”— Source

Returns true if this instance of ZC was launched from the β€˜Quest->Test’ option in ZQ.


Function descriptions#

void TriggerSecret(int arg1) πŸ”— Source


void Breakpoint(char32[] string = NULL) πŸ”— Source

Warning

Deprecated! ZASM debugger no longer exists.