![]() |
dsekai
World engine for retrocomputers.
|
Immediate arguments for script instructions. More...
Macros | |
#define | SCRIPT_ARG_STACK_P 32763 |
STACK_P: Argument indicating the instruction should pop its arg from MOBILE::script_stack, and then push it back when it's done. | |
#define | SCRIPT_ARG_STACK_I 32767 |
STACK_I: Argument indicating the instruction should pop its arg from MOBILE::script_stack, and then call mobile_incr_icount() to increment interaction count in MOBILE::flags on the actor. | |
#define | SCRIPT_ARG_STACK 32765 |
STACK: Argument indicating the instruction should pop its arg from MOBILE::script_stack. | |
#define | SCRIPT_ARG_RANDOM 32766 |
RANDOM: Argument indicating the instruction should use graphics_get_random() as its argument. | |
#define | SCRIPT_ARG_FOLLOW 32764 |
FOLLOW: Argument indicating the WALK (SCRIPT_CB_TABLE_2) instruction or FACE (SCRIPT_CB_TABLE_8) instruction should use the direction which will bring it closer to the player mobile determined by mobile_pathfind(). | |
#define | SCRIPT_ARG_MAX 32750 |
The maximum script argument guaranteed to be taken literally. Numbers above this may be interpreted as special instructions. | |
Immediate arguments for script instructions.
These can be provided as arguments to instructions instead of literal values and will then pass the true values indicated in their definitions to the instruction, instead.