Prev: C213 Up: Map Next: C25A
C239: Handler for Scanner bumping animation
Used by the routine at C27E.
C239 DEC (IX+$12) Decrement scanner state change
C23C JP Z,$C313 Jump to handle state change if zero
C23F LD A,(IX+$13) Set A to the scanner bumping counter
C242 AND $0F Set HL to the address pointer into the graphic data list for bumping animation
C244 SLA A
C246 LD E,A
C247 LD D,$00
C249 LD HL,$C25A
C24C ADD HL,DE
C24D LD E,(HL) Set graphic data of bump animation into enemy configuration
C24E INC HL
C24F LD D,(HL)
C250 LD (IX+$04),E
C253 LD (IX+$05),D
C256 INC (IX+$13) Increase bumping counter for scanner
C259 RET
Prev: C213 Up: Map Next: C25A