Routines |
Prev: 54976 | Up: Map | Next: 54996 |
|
||||||||
54983 | LD A,(23409) | Load A with current INK colour of glowing blocks | ||||||
54986 | INC A | Advance to next colour in sequence | ||||||
54987 | AND 7 | Ensure that only INK attributes are used, rolling back over to zero (black) after seven (white) | ||||||
54989 | JR Z,54986 | We don't want "black" light, so advance from zero (black) to one (blue) if black | ||||||
54991 | LD (23409),A | Place updated attribute back in memory | ||||||
54994 | LD E,A | Copy new attribute into E | ||||||
54995 | RET | Return |
Prev: 54976 | Up: Map | Next: 54996 |