![]() |
Routines |
| Prev: 43780 | Up: Map | Next: 43810 |
|
Sets the bit operand in Flags_EventStates.
|
||||
|
When the condition succeeded, set the operand bit in Flags_EventStates so the matching event follows the player.
|
||||
| Action_SetEventFlag | 43790 | JP NZ,Handler_RunScript_10 | That event does not start following the player. | |
| 43793 | LD B,(IX+1) | The operand selects which event. | ||
| 43796 | INC B | |||
| 43797 | XOR A | |||
| 43798 | SCF | |||
| BuildEventMask | 43799 | RLA | Build the mask for that event. | |
| 43800 | DJNZ BuildEventMask | |||
| 43802 | LD HL,41169 | That event now follows the player. | ||
| 43805 | OR (HL) | |||
| 43806 | LD (HL),A | |||
| 43807 | JP Handler_RunScript_10 | Resume the script. | ||
| Prev: 43780 | Up: Map | Next: 43810 |