Prev: 60074 Up: Map Next: 60129
60107: Data buffer - graphic working data
Graphic working data buffer - most used in graphic draw/erase routine at 56216
60107 DEFB 0 Graphic's horizontal screen position, in pixels - copied to 60115 at 53948
60108 DEFB 0 High byte for the item's horizontal screen position
Acts as an overflow/precision value for large/small values when this item's horizontal room position is calculated at 51265
60109 DEFW 0 Graphics address pointer (table at 38851)
60111 DEFB 0 Multi use flag/counter:
Draw/erase flag (0 = Erase, 1 = Draw), used in draw routine at 56378
Used as lightning flash counter (6) for intro sequence at lightning flash routine at 49274.
60112 DEFB 0 Number of tiles that make up the sprite/graphic to draw
60113 DEFB 0 Number of bytes in the graphic tile to draw
60114 DEFB 0 Store for graphic's vertical position, in pixels, from top of playing area
60115 DEFB 0 Store for graphic's horizontal position, in pixels, calculated from second character column on left of screen (the right half of the left decorative border)
60116 DEFB 0 High byte indicating the screen for the graphic's horizontal pixel position above
For objects in the room and visible on screen, this is 0
For objects off-screen, 1 = right of the current viewport, 255 = to the left
Calculated at 51222 when setting up objects
60117 DEFB 0 Flag indicating whether (any part of) graphic is visible on screen
  • Set to 0 at the beginning of the graphic drawing routine at 56222
  • Set to 1 in the same routine if any part of graphic is drawn (56311)
  • Appended as bit 0 to the graphic properties byte (60328) after drawing (or not drawing) graphic attributes at 53916
60118 DEFB 0 Byte copied from 60235 at 53954
Indicates whether room item is in a standard room or tunnel
Stored as byte 9 of each room item data set at 31744
60119 DEFB 0 - (unused)
60120 DEFB 0 - (unused)
60121 DEFB 0 - (unused)
60122 DEFB 0 - (unused)
60123 DEFB 0 - (unused)
60124 DEFB 0 - (unused)
60125 DEFB 0 - (unused)
60126 DEFW 0 Screen display address position for printing spell list/pointer arrow on scroll (57139)
60128 DEFB 0 Maroc's energy - 0-255
Set to 128 (half the energy bar) at new game start (49358)
Each 16 points of energy corresponds to one character of the energy bar graphic (44787)
Prev: 60074 Up: Map Next: 60129