Prev: A289 Up: Map Next: A294
A28B: Find Object Screen Address
Used by the routines at UpdateSpecialShot, UpdateShot, DrawShot and UpdateLeftShot.
Finds the screen address of a position that is held in an object.
Input
IX Address of the object
Output
HL Screen address
FindObjectScreenAddress A28B LD L,(IX+$0B) Fetch the horizontal position.
A28E LD H,(IX+$0C) Fetch the vertical position.
A291 JP GetScreenAddress Find the screen address.
Prev: A289 Up: Map Next: A294