Prev: $0FBA Up: Map Next: $105A
$1042: Control the vertical flight of a catapult pellet
This corresponds to $6DC6 in the ZX Spectrum version.
The address of this uninterruptible subcommand routine is placed into the pellet's buffer by the routine at $0FBA.
$1042 JSR $322E Update the SRB for the pellet's current location.
$1045 DEC $B2 Has the pellet finished its journey upwards yet?
$1047 BNE $104C Branch if not.
$1049 JMP $0FC1 Otherwise terminate the pellet.
$104C DEC $FB Decrement the pellet's y-coordinate.
$104E JSR $322E Update the SRB for the pellet's new location.
This entry point is used by the routine at $0FBA.
$1051 LDX $FC Pick up the coordinates of the pellet's potential target in XY.
$1053 INX
$1054 LDY $FB
$1056 INY
$1057 JMP $2BB0 Check whether the pellet has hit a shield.
Prev: $0FBA Up: Map Next: $105A