Prev: AAA8 Up: Map Next: AAC0
AAB4: Action: Set Flag
Sets the flag bit operand in Flags_GameStates.
Input
F The zero flag is set when the conditions hold
IX Pointer to the script entry
When the condition failed, skip this action.
Action_SetFlag AAB4 JP NZ,RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes if the condition failed.
Set the flag bit operand in Flags_GameStates.
AAB7 LD A,(IX+$01) Fetch the flag number (the operand) from *IX+01 into A.
AABA CALL SetFlag Call SetFlag to set that flag bit.
AABD JP RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes.
Prev: AAA8 Up: Map Next: AAC0