Prev: 43688 Up: Map Next: 43712
43700: 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 43700 JP NZ,RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes if the condition failed.
Set the flag bit operand in Flags_GameStates.
43703 LD A,(IX+1) Fetch the flag number (the operand) from *IX+1 into A.
43706 CALL SetFlag Call SetFlag to set that flag bit.
43709 JP RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes.
Prev: 43688 Up: Map Next: 43712