![]() |
Game status buffer |
| Prev: F5DB | Up: Map | Next: F604 |
|
The state of the player who is up. The state of the other player is at OtherPlayerState in the same layout, and SwapPlayers swaps the two.
|
||||
| CurrentPlayerState | F5E7 | DEFB $00,$00,$00 | Score (binary coded decimal, see AddToScore) | |
| CurrentPlayerState_MapCells | F5EA | DEFB $00,$00,$00 | Bitmap of map cells (see MarkCellDestroyed) | |
| F5ED | DEFB $03 | Ships that are left | ||
| CurrentPlayerState_Parts | F5EE | DEFB $00 | Flags for the parts that have been fitted to the ship | |
| F5EF | DEFB $00 | |||
| F5F0 | DEFB $00 | |||
| F5F1 | DEFB $00 | |||
| F5F2 | DEFB $00 | |||
| F5F3 | DEFB $00 | |||
| F5F4 | DEFB $00 | |||
| F5F5 | DEFB $00 | |||
| F5F6 | DEFB $00 | |||
| F5F7 | DEFB $00 | Set when item number 09 has been picked up (see CheckItemDelivery) | ||
| F5F8 | DEFB $00 | Not used | ||
| F5F9 | DEFB $00 | Planet number, from 00 to 04 | ||
| F5FA | DEFB $0D | Map column of the position that the ship restarts at | ||
| F5FB | DEFB $07 | Map row of the position that the ship restarts at | ||
| F5FC | DEFB $90 | Position of the ship: horizontal then vertical | ||
| F5FD | DEFB $B7 | |||
| F5FE | DEFB $78 | Scroll offsets: horizontal then vertical | ||
| F5FF | DEFB $40 | |||
| F600 | DEFB $00 | Height of the stack of units that the ship carries | ||
| F601 | DEFB $FF | Item that is being carried, or FF if there is none | ||
| F602 | DEFB $00 | Number of crystals | ||
| F603 | DEFB $00 | Control device: keyboard, Kempston, Cursor or Interface 2 | ||
| Prev: F5DB | Up: Map | Next: F604 |