Prev: 60290 Up: Map Next: 60325
60305: Data buffer - missile data
Missile-related data such as missile position:
60305 DEFB 0 Number of creature-launched missiles currently in effect (maximum of 1 missile allowed at any time, so will either be 0 or 1)
60306 DEFB 0 Number of Maroc-launched missiles currently in effect (incremented at 55220)
60307 DEFB 0 Missile number (table at 27868), used in routine at 56095
60308 DEFB 0 Missile horizontal position overflow/precision byte - to calculate fractions as main position (in next byte) is in 4-pixel increments
60309 DEFB 0 Horizontal position of missile origin in 4-pixel (half-character) steps
60310 DEFB 0 Missile vertical position overflow/precision byte - generally unused as vertical position is in pixels
60311 DEFB 0 Vertical pixel position of missile origin
60312 DEFB 0 Horizontal (X) position of target, in half-character (4-pixel) steps
60313 DEFB 0 Vertical (Y) position of target, in pixels
60314 DEFB 0 Object type (missile):
  • 5 = Missile fired by creature (at Maroc)
  • 8 = Missile fired by Maroc
Stored as first byte in data set at 31744.
60315 DEFW 0 Address pointer to missile data in table at 27868
Missile buffer table. 8 bytes of missile data copied from sets at 27868.
60317 DEFB 0 Graphic number - offset for missile graphic address in table at 38851
52 = Missile type 1 (38953)
55 = Missile type 2 (38961)
58 = Missile type 3 (38965)
60318 DEFB 0 Missile properties byte
Top 4 bits of this byte hold the missile's duration/longevity (how long it's on screen for)
60319 DEFB 0 Missile ink colour. If bit 3 is set, the missile changes colour
60320 DEFB 0 Missile's event/collision type to check
60321 DEFB 0 Counter spell #1 (from list at 28156, starting at 0)
This value = 14 for all missiles = AMULET, which resists all missile types
60322 DEFB 0 Used at 53542, damage caused by missile = the amount to decrease Maroc's energy by
60323 DEFB 0 Counter spell #2 (from list at 28156, starting at 0) that resists this missile/bolt type
60324 DEFB 0 Counter spell #3 (from list at 28156, starting at 0) that resists this missile/bolt type
Prev: 60290 Up: Map Next: 60325