Prev: 41459 Up: Map Next: 41504
41477: Add a glowing character block to the current room
Used by the routine at 41459.
Input
HL Attribute file address to add
Output
IX Points to entry in the table created on the last pass of this routine
41477 LD IX,23368 Point IX at table of attribute file addresses of glowing characters in current room
41481 DEC IX Move IX back two bytes...
41483 DEC IX ...
41485 INC IX Advance IX by two bytes...
41487 INC IX ...
41489 LD A,(IX+0) If two bytes at IX are non-zero...
41492 OR (IX+1) ...
41495 JR NZ,41485 ...then loop back to check next two bytes
41497 LD (IX+0),L Store HL at first empty pair of bytes after 23368...
41500 LD (IX+1),H ...
41503 RET Return
Prev: 41459 Up: Map Next: 41504