Prev: 8D1F Up: Map Next: 8D3C
8D29: Put a record at the ship, offset
Used by the routine at wreck_ship.
Clears the record (free_object), copies the ship's place into it (copy_position with IY the ship's record), and moves it once by 28 pixels in X and ground_cell in Y (move_object), using the velocity as the offset.
Input
IX The record
IY The ship's record (ship_record)
place_at_ship 8D29 CALL free_object Clear it; at the ship
8D2C CALL copy_position
8D2F LD (IX+$07),$1C Moved by $1C across, ground_cell down
8D33 LD A,(ground_cell)
8D36 LD (IX+$09),A
8D39 JP move_object
Prev: 8D1F Up: Map Next: 8D3C