Routines |
Prev: 53819 | Up: Map | Next: 53885 |
Used by the routine at 51359.
|
||||
Jump here from the check at 51414 if the room item type (60227) = 32.
Item type 32 is always the first data set in the room data sets (at 31744). It holds the position of the 'viewport' of the room, which is used to adjust room item co-ordinates.
|
||||
53870 | LD HL,(60233) | Overflow/precision byte for vertical position of room viewport - 60233 > 60150 | ||
53873 | LD (60150),HL | Copy into game buffer | ||
53876 | LD HL,(60231) | Overflow/precision byte for horizontal position of room viewport - 60231 > 60152 | ||
53879 | LD (60152),HL | Copy into game buffer | ||
53882 | JP 54053 |
Prev: 53819 | Up: Map | Next: 53885 |