Prev: EBF0 Up: Map Next: ECA2
EC94: Data buffer - various bits of spell and tunnel data
EC94 DEFW $0000 Store for graphics address pointer table address for controllable eye cursor/servant graphics (9813/9817)
Set when spell cast at E834
EC96 DEFW $0000 Flickering barrier graphics for SHIELD, PROTECT and DEFENCE spells (A9EC)
Initialized at game setup at C03C
EC98 DEFB $00 Value representing action to take when FIRE pressed with a servant/icon spell active (checked at D820 and E9ED)
Values:
  • Missile/bolt spells = 128 + missile number, in table at 6CDC. e.g. MISSILE = 128 + 4 = 132
  • Other cursor spells: DISPEL = 2, UNLOCK = 4, SERVANT = 5, FIND = 8, OPEN = 10, REVEAL = 16
EC99 DEFB $00 Graphic animation frame number for controllable spell icon
Set to 1 at E826 when casting a spell requiring an aiming cursor, e.g. SERVANT, OPEN, FIND, MISSILE
Incremented/reset in the routine at E336
EC9A DEFB $00 Store for pre-graphics data byte (see Trivia - Graphics properties byte)
Copied from EB4F in routine at E837
EC9B DEFB $80 - (unused)
EC9C DEFB $00 FREEZE spell timer counter
Checked at E34C when creature in/entering room
EC9D DEFB $00 Tunnel - current number of on-screen creatures (max 3)
EC9E DEFB $00 Tunnel - (viewport) horizontal position (in half-character/4-pixel steps)
Copied from EB48 in tunnel routine at D1B5
EC9F DEFB $00 Address pointer offset for Maroc's sprite graphic address (starting from 97C3)
This is an even value in the range 0-14
Calculated in the routine at D40F
ECA0 DEFB $00 Repeat counter for flashing the 'MAGIC' text in the bottom left of the screen when a spell is collected
Set to 15 (for 15 flash/sound repetitions) at CCD6
ECA1 DEFB $00 Maroc's height offset in pixels
Maroc rises higher above his shadow the faster he moves
Range is from +7 (lowest/stationary) to -1 (255) - highest point
Prev: EBF0 Up: Map Next: ECA2