Routines |
Prev: 60244 | Up: Map | Next: 60281 |
Used by the routine at GameLoop.
|
||||
60245 | LD BC,0 | BC=0000. | ||
60248 | CALL Handler_ItemsCurrentRoom | Call Handler_ItemsCurrentRoom. | ||
60251 | LD A,(HL) | |||
60252 | CP 255 | |||
60254 | JR Z,60274 | |||
60256 | INC HL | |||
60257 | LD A,(IY+5) | |||
60260 | SUB (HL) | |||
60261 | INC HL | |||
60262 | INC HL | |||
60263 | INC HL | |||
60264 | SUB 6 | |||
60266 | CP 244 | |||
60268 | JR C,60251 | |||
60270 | LD C,1 | |||
60272 | JR 60251 | |||
60274 | LD A,C | Return if C is not zero. | ||
60275 | OR A | |||
60276 | RET NZ | |||
60277 | LD (60244),A | Write A to *60244. | ||
60280 | RET | Return. |
Prev: 60244 | Up: Map | Next: 60281 |