![]() |
Routines |
| Prev: 45025 | Up: Map | Next: 45050 |
|
Used by the routine at StepDisplayStateWhenParserClear.
Returns to the caller when bit 1 of E is clear, and also when the game has started and pictures are disabled. Otherwise it drops the return address and leaves through CopyBytes_ReportSuccess.
|
||||
| TestSourceBitOne | 45032 | BIT 1,E | See whether bit 1 of the source is set. | |
| 45034 | RET Z | Return if that marker is clear. | ||
| 45035 | LD A,(40978) | Jump to TestSourceBitOne_DropReturn if the pictures-enabled byte at 40978 is set. | ||
| 45038 | AND A | |||
| 45039 | JR NZ,TestSourceBitOne_DropReturn | |||
| 45041 | LD A,(40987) | Return if the initialised flag is set. | ||
| 45044 | AND A | |||
| 45045 | RET NZ | |||
| TestSourceBitOne_DropReturn | 45046 | POP HL | Jump back to CopyBytes_ReportSuccess to return non-zero. | |
| 45047 | JP CopyBytes_ReportSuccess | |||
| Prev: 45025 | Up: Map | Next: 45050 |