![]() |
Routines |
| Prev: 46409 | Up: Map | Next: 46440 |
|
Used by the routine at MatchSecondNoun.
|
||||
| CheckFlagAndSetDisplayParameter | 46410 | LD A,(46409) | Jump to MatchSecondNoun_Next if the byte at 46409 is not 255. | |
| 46413 | INC A | |||
| 46414 | JR NZ,MatchSecondNoun_Next | |||
| 46416 | LD (46409),A | Record the result in the display flag at 46409. | ||
| 46419 | LD A,(45433) | Go to MatchSecondNoun_Next if bit 7 of the display mode flag at 45433 is clear. | ||
| 46422 | BIT 7,A | |||
| 46424 | JR Z,MatchSecondNoun_Next | |||
| 46426 | LD A,254 | Write 254 to the room graphics parameter and read the display mode word. | ||
| 46428 | LD (41013),A | |||
| 46431 | LD HL,(45432) | |||
| 46434 | LD (41009),HL | Record the display pointer. | ||
| 46437 | OR %00000001 | Reset the zero flag. | ||
| 46439 | RET | Return. | ||
| Prev: 46409 | Up: Map | Next: 46440 |