![]() |
Data |
| Prev: 35689 | Up: Map | Next: 36599 |
|
Boney's entity state record (0014 bytes). This is the first slot of the complex entity table walked from StateData_Boney and backed up to Buffer_EntityStateBackup by Backup_Entity_And_Game_State. Field names match StateData_SimpleEntities: flags byte 1 at 62186 (IX+1), flags byte 2 at 45502 (IX+2), flags byte 3 at Update_Berk_ReadControls (IX+3), room and position at PopulateDisplayBuffer_VisibleEntitiesContinue, Process_GraphicLayoutData_Entity, 62202, 62209 and 62223, direction and state at 45892 and Update_Berk_Movement_And_Script_PartA, layout at IX+10 (see 55343 and 55812 which restore GraphicLayout_Boney), and extra state at 45993, ScriptRoutine_TaskFourRandomiseExtra and ScriptRoutine_TaskFourStepToward. Flags byte 3 at IX+3 for Berk and most movers holds: bit 0 is script locked (ignore input, also set while facing or moving up), bit 1 is facing left when set and facing right when reset, bit 2 is the mid interaction or push latch, bit 3 is set at 46601, 46944, 47218 and 47394 and reset at Berk_ReadControls_Idle, 61522 and 61607, bit 4 is the carrying flag (set at Script_PutDown_SetCarryingFlag, reset at ScriptRoutine_PickUpHeld, tested by the Jump If Carrying script command at 61305), bit 5 is set at random at 54562, tested at Collect_Entity_TypeZeroBit5 and reset at 54461, bit 6 is the can fall or gravity latch, and bit 7 is the rising or special vertical state latch. Direction and state at IX+9 uses 1 to face left, 2 to face right, 4 to face down, and 8 to face up (see ScriptRoutine_FaceRight through ScriptRoutine_FaceDown).
|
||||
|
Boney (type 1, room 1, layout GraphicLayout_Boney).
|
||||
| StateData_Boney | 36585 | DEFB 1 | Type: 1. | |
| 36586 | DEFB 31 | Flags byte 1: 31. | ||
| 36587 | DEFB 0 | Flags byte 2: 0. | ||
| 36588 | DEFB 0 | Flags byte 3: 0. | ||
| 36589 | DEFB 1 | Room: 1. | ||
| 36590 | DEFB 26 | Y coordinate: 26. | ||
| 36591 | DEFB 29 | Y extent: 29. | ||
| 36592 | DEFB 100 | X coordinate: 100. | ||
| 36593 | DEFB 101 | X extent: 101. | ||
| 36594 | DEFB 0 | Direction / state: 0. | ||
| Pointer_BoneyGraphicLayout | 36595 | DEFW GraphicLayout_Boney | Layout: GraphicLayout_Boney. | |
| 36597 | DEFW 0 | Extra state. | ||
| Prev: 35689 | Up: Map | Next: 36599 |