![]() |
Routines |
| Prev: 43831 | Up: Map | Next: 43870 |
|
Sets the bit operand in Flags_TurnEvents, which arms that turn-based event.
|
||||
|
When the condition succeeded, arm the turn-based event selected by the operand.
|
||||
| Action_StartTurnEvent | 43850 | JP NZ,Handler_RunScript_10 | Leave that turn-based event disarmed. | |
| 43853 | LD B,(IX+1) | The operand selects which event. | ||
| 43856 | INC B | |||
| 43857 | XOR A | |||
| 43858 | SCF | |||
| StartTurnEvent_Mask | 43859 | RLA | Build the mask for that event. | |
| 43860 | DJNZ StartTurnEvent_Mask | |||
| 43862 | LD HL,41160 | That turn-based event is now armed. | ||
| 43865 | OR (HL) | |||
| 43866 | LD (HL),A | |||
| 43867 | JP Handler_RunScript_10 | Resume the script. | ||
| Prev: 43831 | Up: Map | Next: 43870 |