Routines |
Prev: 41271 | Up: Map | Next: 41477 |
Used by the routine at 39393.
|
||||||||
41459 | INC HL | Advance HL by one byte... | ||||||
41460 | LD A,(HL) | ...and if value here is 255 (end marker)... | ||||||
41461 | CP 255 | ... | ||||||
41463 | RET Z | ...then return | ||||||
41464 | LD C,A | Load C with x-coordinate | ||||||
41465 | INC HL | Advance HL to y-coordinate... | ||||||
41466 | LD B,(HL) | ...and load into B | ||||||
41467 | PUSH HL | Store HL (current position in room layout data) | ||||||
41468 | CALL 63219 | Point HL at attribute file address for character coordinates x=C, y=B | ||||||
41471 | CALL 41477 | Add a glowing character block to the current room | ||||||
41474 | POP HL | Restore HL (current position in room layout data) | ||||||
41475 | JR 41459 | Loop back to 41459 for next entry |
Prev: 41271 | Up: Map | Next: 41477 |