![]() |
Routines |
| Prev: A1C8 | Up: Map | Next: A1DD |
|
Used by the routines at Action_SetFlag and Action_OfferSave.
Sets one bit of the flags at Flags_GameStates.
|
||||||||
| SetFlag | A1D2 | PUSH HL | Stash HL on the stack. | |||||
| A1D3 | LD HL,$A088 | Use the game state flags at Flags_GameStates. | ||||||
| A1D6 | CALL BuildFlagMask | Call BuildFlagMask to find the flag byte and the mask for this flag. | ||||||
| A1D9 | OR (HL) | Set this flag in its flag byte. | ||||||
| A1DA | LD (HL),A | |||||||
| A1DB | POP HL | Restore HL from the stack. | ||||||
| A1DC | RET | Return. | ||||||
| Prev: A1C8 | Up: Map | Next: A1DD |