Prev: E6DB Up: Map Next: E6F6
E6DC: See if there is a laser in this room, and if so, update it
Used by the routine at C800.
E6DC LD IY,$EDF8 Point IY at the laser data. (EDF8)
E6E0 LD B,$0F 15 entries to check.
E6E2 LD A,($CFCA) Get the current room. (CFCA)
E6E5 CP (IY+$00) Does it match this one.
E6E8 JR Z,$E6F6 Jump forward if it does.
E6EA LD DE,$0004 Otherwise point to the next entry.
E6ED ADD IY,DE
E6EF DJNZ $E6E5 Loop while there are more entries to look at.
E6F1 LD C,$14 Pause and return.
E6F3 JP $E7D7
Prev: E6DB Up: Map Next: E6F6