Prev: 43850 Up: Map Next: 43891
43870: Action: Stop Turn Event
Clears the bit operand in Flags_TurnEvents.
When the condition succeeded, disarm the turn-based event selected by the operand.
Action_StopTurnEvent 43870 JP NZ,Handler_RunScript_10 Leave that turn-based event armed.
43873 LD B,(IX+1) The operand selects which event.
43876 INC B
43877 XOR A
43878 SCF
StopTurnEvent_Mask 43879 RLA Build the mask for that event.
43880 DJNZ StopTurnEvent_Mask
43882 LD HL,41160 That turn-based event is now disarmed.
43885 CPL
43886 AND (HL)
43887 LD (HL),A
43888 JP Handler_RunScript_10 Resume the script.
Prev: 43850 Up: Map Next: 43891