Prev: 5E75 Up: Map Next: 5E8C
5E80: Player Entity
The first of the three entities that the main loop handles (see MainLoop_NewPass); EntityTemplate holds the initial values. This one is the player's car. The first byte is the state, which says what the entity is doing (01 when driving and 03 when exploding). The player's car is drawn in the centre of the play area, so its position is not used for movement.
Entity_Player 5E80 DEFB $00 State.
5E81 DEFB $00 X position on the screen.
5E82 DEFB $00 Y position on the screen.
5E83 DEFB $00 Attribute.
5E84 DEFB $00 Timer for the explosion (see HandlerExplosion).
5E85 DEFB $00,$00,$00,$00,$00,$00,$00 Purpose not yet known.
Prev: 5E75 Up: Map Next: 5E8C