Prev: 96E2 Up: Map Next: 9792
9702: Immortal Data
The table of actors, which runs from here to StoredActorTable. Every actor is held in a 0C byte record, and MainLoop handles each record in turn, using the sprite ID to choose the handler (see JumpTable).
A record is made up of:
Byte Contents
00 Sprite ID (zero for an empty record)
01 Room
02 Hit direction or counter
03 X position
04 Y position
05 Colour
06 X velocity, in sixteenths of a pixel
07 Y velocity, in sixteenths of a pixel
08-0B Used in different ways by different actors
The first 0C records are the player and the actors which are always present, which are set up from InitialActors. They are followed by the nasties (NastieData), the orchid (OrchidData), the objects (ObjectData) and the pieces of the amulet (AmuletData).
The record of the player.
ImmortalData 9702 DEFB $00 Sprite ID.
9703 DEFB $00 Room.
9704 DEFB $00 Hit direction.
9705 DEFB $00 X position.
9706 DEFB $00 Y position.
9707 DEFB $00 Colour.
9708 DEFB $00 X velocity.
9709 DEFB $00 Y velocity.
970A DEFB $00,$00,$00 Not used.
970D DEFB $00 Amulet pieces collected. Bits 0-3 are set for the pieces which have been collected and bit 7 is set when a piece has just been collected.
The records of the other actors which are always present.
ImmortalData_Actors 970E DEFB $00,$00,$00,$00,$00,$00,$00,$00 Rhino.
9716 DEFB $00,$00,$00,$00
971A DEFB $00,$00,$00,$00,$00,$00,$00,$00 Rhino.
9722 DEFB $00,$00,$00,$00
9726 DEFB $00,$00,$00,$00,$00,$00,$00,$00 Rhino.
972E DEFB $00,$00,$00,$00
9732 DEFB $00,$00,$00,$00,$00,$00,$00,$00 Rhino.
973A DEFB $00,$00,$00,$00
973E DEFB $00,$00,$00,$00,$00,$00,$00,$00 Tribesman.
9746 DEFB $00,$00,$00,$00
974A DEFB $00,$00,$00,$00,$00,$00,$00,$00 Tribesman.
9752 DEFB $00,$00,$00,$00
9756 DEFB $00,$00,$00,$00,$00,$00,$00,$00 Tribesman.
975E DEFB $00,$00,$00,$00
ImmortalData_SpareFlame 9762 DEFB $00,$00,$00,$00,$00,$00,$00,$00 Spare record for a flame.
976A DEFB $00,$00,$00,$00
976E DEFB $00,$00,$00,$00,$00,$00,$00,$00 Wulf.
9776 DEFB $00,$00,$00,$00
977A DEFB $00,$00,$00,$00,$00,$00,$00,$00 Hippo.
9782 DEFB $00,$00,$00,$00
9786 DEFB $00,$00,$00,$00,$00,$00,$00,$00 The Guardian.
978E DEFB $00,$00,$00,$00
Prev: 96E2 Up: Map Next: 9792