![]()  | 
Routines | 
| Prev: 40169 | Up: Map | Next: 40208 | 
| 
 | 
||||
| 40178 | LD A,C | Write C to *RoomDisplayParameter. | ||
| 40179 | LD (41012),A | |||
| 40182 | CALL 40142 | Call 40142. | ||
| 40185 | JR Z,40194 | Jump to 40194 if the zero flag is set. | ||
| 40187 | DEC (HL) | Decrease *HL by one. | ||
| 40188 | JP P,40192 | Jump to 40192 if *HL is greater than or equal to 0. | ||
| 40191 | INC (HL) | Increment *HL by one. | ||
| 40192 | POP DE | Restore DE from the stack. | ||
| 40193 | RET | Return. | ||
| 40194 | LD A,(HL) | Jump to 40192 if *HL is not zero. | ||
| 40195 | AND A | |||
| 40196 | JR NZ,40192 | |||
| 40198 | LD A,15 | A=15. | ||
| 40200 | CALL 53924 | Call 53924. | ||
| 40203 | ADD A,30 | A+=30. | ||
| 40205 | LD (HL),A | Write A to *HL. | ||
| 40206 | XOR A | A=0. | ||
| 40207 | RET | Return. | ||
| Prev: 40169 | Up: Map | Next: 40208 |