Prev: 27939 Up: Map Next: 28463
28119: Sprite Table
The address of the sprite of each of the 172 object types, which GetSpriteAddress and DrawObject use to draw an object. A lot of the types share a sprite. A sprite has a byte for its width in bytes in the lowest four bits (the highest four are never set), a byte for its height in pixels, and then, for each pixel row up from the bottom, and for each byte of the width across, a pair of a mask byte and a pixel byte. DrawObject clears the bits of the background where the mask has a bit set, and merges in the pixel byte.
SpriteTable 28119 DEFW Sprite_Empty Type 0: nothing, as it is a free object.
28121 DEFW Sprite_Empty Type 1: a marker that something has to be erased.
28123 DEFW Sprite_Menu_Frame_Edge_1 Types 2 to 5: the pieces of the frame of the menu.
28125 DEFW Sprite_Menu_Frame_Edge_End
28127 DEFW Sprite_Menu_Frame_Edge_2
28129 DEFW Sprite_Menu_Frame_Corner
28131 DEFW Sprite_Root_Door Type 6: a root door.
28133 DEFW Sprite_Root_Door_Frame Type 7: a root door frame.
28135 DEFW Sprite_Stone_Door Type 8: a stone door.
28137 DEFW Sprite_Stone_Door_Frame Type 9: a stone door frame.
28139 DEFW Sprite_Round_Pedestal Types 10 to 11: scenery.
28141 DEFW Sprite_Stone_Block
28143 DEFW Sprite_Root_Wall_1 Types 12 to 15: pieces of a wall of roots.
28145 DEFW Sprite_Root_Wall_2
28147 DEFW Sprite_Root_Wall_3
28149 DEFW Sprite_Root_Wall_4
28151 DEFW Sprite_Spark Types 16 to 17: a spark that flickers.
28153 DEFW Sprite_Spark
28155 DEFW Sprite_Player_Legs_1 Types 18 to 22: pictures of the player, of which only the last, the icon of the lives, is used.
28157 DEFW Sprite_Player_Legs_5
28159 DEFW Sprite_Player_Legs_1
28161 DEFW Sprite_Player_Legs_2
28163 DEFW Sprite_Player_Icon
28165 DEFW Sprite_Stalactites Type 23: stalactites.
28167 DEFW Sprite_Empty Types 24 to 27: nothing.
28169 DEFW Sprite_Empty
28171 DEFW Sprite_Empty
28173 DEFW Sprite_Empty
28175 DEFW Sprite_Stalactites Type 28: falling stalactites.
28177 DEFW Sprite_Player_Legs_2 Types 29 to 31: objects that are not used.
28179 DEFW Sprite_Spiked_Ring
28181 DEFW Sprite_Spiked_Ring
28183 DEFW Sprite_Player_Legs_1 Types 32 to 39: the legs of the player.
28185 DEFW Sprite_Player_Legs_2
28187 DEFW Sprite_Player_Legs_3
28189 DEFW Sprite_Player_Legs_2
28191 DEFW Sprite_Player_Legs_4
28193 DEFW Sprite_Player_Legs_5
28195 DEFW Sprite_Player_Legs_6
28197 DEFW Sprite_Player_Legs_5
28199 DEFW Sprite_Player_Body_1 Types 40 to 47: the body of the player.
28201 DEFW Sprite_Player_Body_2
28203 DEFW Sprite_Player_Body_3
28205 DEFW Sprite_Player_Body_2
28207 DEFW Sprite_Player_Body_4
28209 DEFW Sprite_Player_Body_5
28211 DEFW Sprite_Player_Body_6
28213 DEFW Sprite_Player_Body_5
28215 DEFW Sprite_Ghost_1 Types 48 to 51: a ghost.
28217 DEFW Sprite_Ghost_2
28219 DEFW Sprite_Ghost_1
28221 DEFW Sprite_Ghost_2
28223 DEFW Sprite_Stone_Wall_1 Types 52 to 56: pieces of a stone wall.
28225 DEFW Sprite_Stone_Wall_2
28227 DEFW Sprite_Stone_Wall_3
28229 DEFW Sprite_Stone_Wall_4
28231 DEFW Sprite_Stone_Wall_5
28233 DEFW Sprite_Stone_Wall_End Type 57: the end of a stone wall.
28235 DEFW Sprite_Frame_Bottom_Piece Types 58 to 62: the pieces of the frame of a room.
28237 DEFW Sprite_Frame_Cap
28239 DEFW Sprite_Frame_Upright_Edge
28241 DEFW Sprite_Frame_Upright_Edge
28243 DEFW Sprite_Frame_Sloping_Edge
28245 DEFW Sprite_Cube Type 63: a cube that falls.
28247 DEFW Sprite_Explosion_1 Types 64 to 71: the frames of an explosion.
28249 DEFW Sprite_Explosion_2
28251 DEFW Sprite_Explosion_3
28253 DEFW Sprite_Explosion_2
28255 DEFW Sprite_Explosion_3
28257 DEFW Sprite_Explosion_3
28259 DEFW Sprite_Explosion_4
28261 DEFW Sprite_Explosion_4
28263 DEFW Sprite_Round_Pedestal Type 72: a pedestal that falls.
28265 DEFW Sprite_Table_Object Type 73: a table.
28267 DEFW Sprite_Floor_Trap_1 Types 74 to 75: a trap in the floor.
28269 DEFW Sprite_Floor_Trap_2
28271 DEFW Sprite_Round_Pedestal Types 76 to 77: a pedestal.
28273 DEFW Sprite_Round_Pedestal
28275 DEFW Sprite_Stone_Block Types 78 to 79: a block that sinks, or one that falls.
28277 DEFW Sprite_Stone_Block
28279 DEFW Sprite_Wanderer_1 Types 80 to 81: a creature that wanders about.
28281 DEFW Sprite_Wanderer_2
28283 DEFW Sprite_Cube Types 82 to 83: a cube, and an empty sprite.
28285 DEFW Sprite_Empty
28287 DEFW Sprite_Stone_Block Types 84 to 85: a lift, and a block that bobs.
28289 DEFW Sprite_Stone_Block
28291 DEFW Sprite_Spiked_Head Type 86: a spiked head that bobs.
28293 DEFW Sprite_Stone_Block Types 87 to 88: blocks that slide.
28295 DEFW Sprite_Stone_Block
28297 DEFW Sprite_Spark Type 89: a spark that wanders.
28299 DEFW Sprite_Helper Type 90: the helper.
28301 DEFW Sprite_Stone_Block Type 91: a block that can be pushed.
28303 DEFW Sprite_Spiked_Head Types 92 to 93: spiked heads that slide.
28305 DEFW Sprite_Spiked_Head
28307 DEFW Sprite_Empty Types 94 to 111: nothing.
28309 DEFW Sprite_Empty
28311 DEFW Sprite_Empty
28313 DEFW Sprite_Empty
28315 DEFW Sprite_Empty
28317 DEFW Sprite_Empty
28319 DEFW Sprite_Empty
28321 DEFW Sprite_Empty
28323 DEFW Sprite_Empty
28325 DEFW Sprite_Empty
28327 DEFW Sprite_Empty
28329 DEFW Sprite_Empty
28331 DEFW Sprite_Empty
28333 DEFW Sprite_Empty
28335 DEFW Sprite_Empty
28337 DEFW Sprite_Empty
28339 DEFW Sprite_Empty
28341 DEFW Sprite_Empty
28343 DEFW Sprite_Quest_Object_1 Types 112 to 119: the four objects of the quest, before and after they are collected.
28345 DEFW Sprite_Quest_Object_1
28347 DEFW Sprite_Quest_Object_1
28349 DEFW Sprite_Quest_Object_1
28351 DEFW Sprite_Quest_Object_2
28353 DEFW Sprite_Quest_Object_2
28355 DEFW Sprite_Quest_Object_2
28357 DEFW Sprite_Quest_Object_2
28359 DEFW Sprite_Well Type 120: a well that makes a helper.
28361 DEFW Sprite_Stone_Block Types 121 to 127: blocks that do nothing.
28363 DEFW Sprite_Stone_Block
28365 DEFW Sprite_Stone_Block
28367 DEFW Sprite_Stone_Block
28369 DEFW Sprite_Stone_Block
28371 DEFW Sprite_Stone_Block
28373 DEFW Sprite_Stone_Block
28375 DEFW Sprite_Pentagram_Arc_1 Types 128 to 135: the arcs of the pentagram.
28377 DEFW Sprite_Pentagram_Arc_2
28379 DEFW Sprite_Pentagram_Arc_3
28381 DEFW Sprite_Pentagram_Arc_4
28383 DEFW Sprite_Pentagram_Arc_5
28385 DEFW Sprite_Pentagram_Arc_6
28387 DEFW Sprite_Pentagram_Arc_7
28389 DEFW Sprite_Pentagram_Arc_8
28391 DEFW Sprite_Stone_Block Types 136 to 139: the stages of a block that crumbles.
28393 DEFW Sprite_Crumbling_Block_2
28395 DEFW Sprite_Crumbling_Block_3
28397 DEFW Sprite_Crumbling_Block_4
28399 DEFW Sprite_Stone_Block Types 140 to 143: blocks that push.
28401 DEFW Sprite_Stone_Block
28403 DEFW Sprite_Stone_Block
28405 DEFW Sprite_Stone_Block
28407 DEFW Sprite_Pentagram_Stone_1 Types 144 to 148: the stones that go on the pentagram.
28409 DEFW Sprite_Pentagram_Stone_2
28411 DEFW Sprite_Pentagram_Stone_3
28413 DEFW Sprite_Pentagram_Stone_4
28415 DEFW Sprite_Pentagram_Stone_5
28417 DEFW Sprite_Projectile_1 Types 149 to 151: the frames of a projectile.
28419 DEFW Sprite_Projectile_2
28421 DEFW Sprite_Projectile_3
28423 DEFW Sprite_Pentagram_Stone_1 Types 152 to 159: the stones when they are in place, and nothing.
28425 DEFW Sprite_Pentagram_Stone_2
28427 DEFW Sprite_Pentagram_Stone_3
28429 DEFW Sprite_Pentagram_Stone_4
28431 DEFW Sprite_Pentagram_Stone_5
28433 DEFW Sprite_Empty
28435 DEFW Sprite_Empty
28437 DEFW Sprite_Empty
28439 DEFW Sprite_Bat_4 Types 160 to 167: a bat that homes in on the player.
28441 DEFW Sprite_Bat_5
28443 DEFW Sprite_Bat_4
28445 DEFW Sprite_Bat_6
28447 DEFW Sprite_Bat_2
28449 DEFW Sprite_Bat_3
28451 DEFW Sprite_Bat_2
28453 DEFW Sprite_Bat_1
28455 DEFW Sprite_Imp_1 Types 168 to 171: a creature that wanders about.
28457 DEFW Sprite_Imp_2
28459 DEFW Sprite_Imp_3
28461 DEFW Sprite_Imp_4
Prev: 27939 Up: Map Next: 28463