Prev: 9524 Up: Map Next: 9572
955F: Put the rocket's position in its drawing record
Used by the routine at draw_rocket.
The rocket's base position, X from rocket_x and Y from the two bytes after it (rocket_y), goes into the drawing record (rocket_record).
Input
IX The drawing record (rocket_record)
put_rocket_record 955F LD HL,(rocket_x)
9562 LD (IX+$02),L
9565 LD (IX+$01),H
9568 LD HL,(rocket_y)
956B LD (IX+$05),L
956E LD (IX+$04),H
9571 RET
Prev: 9524 Up: Map Next: 9572