![]() |
Routines |
| Prev: 41396 | Up: Map | Next: 41426 |
|
Tests one bit of the flags at Flags_GameStates.
|
||||||||||||||
| TestFlag | 41416 | PUSH HL | Stash HL on the stack. | |||||||||||
| 41417 | LD HL,41096 | Use the game state flags at Flags_GameStates. | ||||||||||||
| 41420 | CALL BuildFlagMask | Call BuildFlagMask to find the flag byte and the mask for this flag. | ||||||||||||
| 41423 | AND (HL) | Test the flag; the zero flag is set when it is clear. | ||||||||||||
| 41424 | POP HL | Restore HL from the stack. | ||||||||||||
| 41425 | RET | Return. | ||||||||||||
| Prev: 41396 | Up: Map | Next: 41426 |