![]() |
Routines |
Prev: 30017 | Up: Map | Next: 30052 |
Used by the routine at 30017. Activates or deactivates an entry in the event table at 24544 or the object location table at 32028 as appropriate for a new game.
|
||||
30043 | LD A,(HL) | Pick up the first byte of the entry | ||
30044 | INC A | Have we reached the end of the table? | ||
30045 | RET Z | Return with the zero flag set if so | ||
30046 | RES 0,(HL) | Reset bit 0 of the first byte of the entry, thus activating it | ||
30048 | ADD A,A | Should this entry be active at the start of the game? | ||
30049 | RET NC | Return if so | ||
30050 | INC (HL) | Otherwise set bit 0 of the first byte of the entry, thus deactivating it | ||
This entry point is used by the routine at 29952.
|
||||
30051 | RET |
Prev: 30017 | Up: Map | Next: 30052 |