Prev: D23B Up: Map Next: D27D
D26E: Start of setting up room routine
Used by the routine at C89F.
Jump here from the check at C8D6 if the room item type (EB43) = 32.
Item type 32 is always the first data set in the room data sets (at 7C00). It holds the position of the 'viewport' of the room, which is used to adjust room item co-ordinates.
D26E LD HL,($EB49) Overflow/precision byte for vertical position of room viewport - EB49 > EAF6
D271 LD ($EAF6),HL Copy into game buffer
D274 LD HL,($EB47) Overflow/precision byte for horizontal position of room viewport - EB47 > EAF8
D277 LD ($EAF8),HL Copy into game buffer
D27A JP $D325
Prev: D23B Up: Map Next: D27D