Prev: 8970 Up: Map Next: 898E
8986: Swap IX and IY, and copy the position across
Used by the routine at fire_from.
Used by ground_object_fires to put the new shot at the shooter. copy_position then copies the screen column and pixel (+1, +2) and the screen row and line (+4, +5) of the record at IY into the record at IX, leaving the fractions; start_attacker and place_at_ship use it to start something at the ship.
Input
IX The shooter
IY The new record
swap_to_shot 8986 PUSH IX Swap them: IX the new record
8988 PUSH IY
898A POP IX
898C POP IY
Prev: 8970 Up: Map Next: 898E