Prev: 46042 Up: Map Next: 46066
46058: Add Shot Offset
Used by the routines at UpdateShot and UpdateLeftShot.
Adds the byte at offset 15 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 46058 LD L,(IX+15) The low byte of the vertical acceleration.
46061 LD H,0 Clear H.
46063 ADD HL,DE HL gains DE.
46064 EX DE,HL Swap DE and HL.
46065 RET Return.
Prev: 46042 Up: Map Next: 46066