Prev: 5B1F Up: Map Next: 5B22
5B20: Object Type Table Address
While a room is built by RetrieveRoom this word holds the address of the table of object types that is in use: ObjectTypes at first, and SecondObjectTypes once an object of type 1F has been met in the data for the room. Its high byte is also used by MovePlayer to hold the vertical speed of the player before it was adjusted by the collision routines.
ObjectTypeTableAddress 5B20 DEFB $00 The low byte of the address.
PreviousVerticalSpeed 5B21 DEFB $00 The high byte of the address, or the previous vertical speed.
Prev: 5B1F Up: Map Next: 5B22