Prev: 28747 Up: Map Next: 28841
28814: Add a glowing character block to the current room
Used by the routines at 28683, 28747, 28841, 29184 and 29291.
Input
HL Points to a memory address in attribute file
Output
IX Points to entry in the table created on the last pass of this routine
28814 LD IX,23383 Point IX at table of attribute file addresses of glowing characters in current room
28818 DEC IX Move IX back two bytes...
28820 DEC IX ...
28822 INC IX Advance IX by two bytes...
28824 INC IX ...
28826 LD A,(IX+0) If two bytes at IX are non-zero...
28829 OR (IX+1) ...
28832 JR NZ,28822 ...then loop back to check next two bytes
28834 LD (IX+0),L Store HL at first empty pair of bytes after 23383...
28837 LD (IX+1),H ...
28840 RET Return
Prev: 28747 Up: Map Next: 28841