Routines |
Prev: C1CA | Up: Map | Next: C239 |
Used by the routine at C620.
|
||||
C213 | LD A,(IX+$11) | Return if scanner is not moving up | ||
C216 | CP $02 | |||
C218 | RET NZ | |||
C219 | DEC (IX+$12) | Decrement state change counter for scanner | ||
C21C | JP Z,$C313 | Jump to handle state change if counter is 0 | ||
C21F | LD A,(IX+$01) | Decrement y-position based on scanner speed | ||
C222 | SUB (IX+$10) | |||
C225 | LD (IX+$01),A | |||
C228 | LD L,(IX+$04) | Point to the address of the next graphic data for scanner | ||
C22B | LD H,(IX+$05) | |||
C22E | LD DE,$0020 | |||
C231 | ADD HL,DE | |||
C232 | LD (IX+$04),L | |||
C235 | LD (IX+$05),H | |||
C238 | RET |
Prev: C1CA | Up: Map | Next: C239 |