Prev: B4E8 Up: Map Next: B708
B540: Entities
The entities. There are 0C of them, each of 26 bytes, and the first is the player. Field 00 is the type, which is zero when the entity is not in use. Field 01 is the frame, and its bit 7 hides the entity. Fields 02 and 03 are the x coordinate, 05 and 06 the y coordinate and 08 to 0A the z coordinate. Field 0B is the extent on the x axis, 0C the extent on the y axis and 0D the extent on the z axis. Field 0E is the column on the screen, 0F the row and 11 the heading. Field 10 is the speed, with the current speed in bits 0-3 and the maximum in bits 4-7. Field 1E holds the flags. Bit 7 is set when the entity is moving fast. Bit 6 selects the higher frame when UpdateExtraRecord builds the extra record, and is tested again by TestEntityCells. Purpose of bit 6 is not yet known.
Entities B540 DEFB $01,$20,$20,$70,$00,$20,$70,$00,$01,$00,$00,$0C,$0C,$05,$00,$00,$30,$00,$00,$00,$FF,$B0,$03,$0E,$00,$00,$00,$40,$04,$10,$00,$00,$00,$00,$00,$00,$00,$00
EntitiesEntity_01 B566 DEFB $00,$80,$21,$80,$00,$20,$B0,$00,$01,$00,$00,$08,$08,$08,$00,$00,$20,$00,$00,$00,$FF,$B0,$02,$14,$00,$00,$00,$10,$04,$00,$00,$00,$00,$00,$00,$0F,$00,$00
B58C DEFB $00,$80,$21,$80,$00,$20,$B0,$00,$01,$00,$00,$08,$08,$08,$00,$00,$20,$00,$00,$00,$FF,$B0,$02,$14,$00,$00,$00,$10,$04,$00,$00,$00,$00,$00,$00,$0F,$00,$00
EntitiesEntity_03 B5B2 DEFB $00,$80,$21,$80,$00,$20,$B0,$00,$01,$00,$00,$08,$08,$08,$00,$00,$20,$00,$00,$00,$FF,$B0,$02,$14,$00,$00,$00,$10,$04,$00,$00,$00,$00,$00,$00,$0F,$00,$00
B5D8 DEFB $00,$80,$21,$80,$00,$20,$B0,$00,$01,$00,$00,$08,$08,$08,$00,$00,$20,$00,$00,$00,$FF,$B0,$02,$14,$00,$00,$00,$10,$04,$00,$00,$00,$00,$00,$00,$0F,$00,$00
EntitiesEntity_05 B5FE DEFB $00,$A0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$02,$02,$02,$00,$00,$00,$00,$00,$00,$00,$00,$01,$06,$00,$00,$00,$00,$F4,$00,$00,$00,$00,$00,$00,$00,$00,$00
B624 DEFB $00,$A0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$02,$02,$02,$00,$00,$00,$00,$00,$00,$00,$00,$01,$06,$00,$00,$00,$00,$F4,$00,$00,$00,$00,$00,$00,$00,$00,$00
B64A DEFB $00,$A0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
EntitiesEntity_08 B670 DEFB $00,$80,$00,$00,$00,$00,$00,$00,$01,$00,$00,$10,$10,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
B696 DEFB $00,$80,$00,$00,$00,$00,$00,$00,$01,$00,$00,$10,$10,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
B6BC DEFB $00,$80,$00,$00,$00,$00,$00,$00,$01,$00,$00,$10,$10,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
B6E2 DEFB $00,$80,$00,$00,$00,$00,$00,$00,$01,$00,$00,$10,$10,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
Prev: B4E8 Up: Map Next: B708