![]() |
Routines |
| Prev: 41416 | Up: Map | Next: 41437 |
|
Used by the routines at Action_SetFlag and Action_OfferSave.
Sets one bit of the flags at Flags_GameStates.
|
||||||||
| SetFlag | 41426 | PUSH HL | Stash HL on the stack. | |||||
| 41427 | LD HL,41096 | Use the game state flags at Flags_GameStates. | ||||||
| 41430 | CALL BuildFlagMask | Call BuildFlagMask to find the flag byte and the mask for this flag. | ||||||
| 41433 | OR (HL) | Set this flag in its flag byte. | ||||||
| 41434 | LD (HL),A | |||||||
| 41435 | POP HL | Restore HL from the stack. | ||||||
| 41436 | RET | Return. | ||||||
| Prev: 41416 | Up: Map | Next: 41437 |