Prev: B3DA Up: Map Next: B3F2
B3EA: Add Shot Offset
Used by the routines at UpdateShot and UpdateLeftShot.
Adds the byte at offset 0F of a shot to a table address.
Input
DE Address of the table
IX Address of the shot
Output
DE Address of the entry
AddShotOffset B3EA LD L,(IX+$0F) The low byte of the vertical acceleration.
B3ED LD H,$00 Clear H.
B3EF ADD HL,DE HL gains DE.
B3F0 EX DE,HL Swap DE and HL.
B3F1 RET Return.
Prev: B3DA Up: Map Next: B3F2