Prev: AAB4 Up: Map Next: AACC
AAC0: Action: Clear Flag
Clears 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_ClearFlag AAC0 JP NZ,RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes if the condition failed.
Clear the flag bit operand in Flags_GameStates.
AAC3 LD A,(IX+$01) Fetch the flag number (the operand) from *IX+01 into A.
AAC6 CALL ClearFlag Call ClearFlag to clear that flag bit.
AAC9 JP RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes.
Prev: AAB4 Up: Map Next: AACC