Offset (bytes) |
Bit |
Meaning |
Description |
8 |
7 |
Spans-full-depth flag |
Entity is considered to occupy both depth levels as far as collision detection is concerned. For example, this flag is set for Berk when the floating power-up is active. It is also set for markers involved in Berk / Drutt's falls. |
9 |
0 |
(1 / 2) Must-process-current-script-data flag |
If set for an entity, then that entity cannot move except as scripted. Berk, for example, will ignore control input while this flag is set, e.g. while he is eating. |
9 |
0 |
(2 / 2) Ghost's moving-upwards flag |
Used to denote that level 4's ghost is moving upwards (see routine at 41633) |
9 |
1 |
Inactive flag |
Applies to the flying skeleton creature on level 1 only. Plays a role in the logic controlling Boni's kidnap and the behaviour of the Trap Door. |
9 |
2 |
Trap-Door-opened flag |
Applies to the flying skeleton creature on level 1 only. Plays a role in the logic controlling Boni's kidnap and the behaviour of the Trap Door. |
9 |
3 |
(1 / 2) Berk-and-Drutt-through-Trap-Door flag |
Applies to the flying skeleton creature on level 1 only. Plays a role in the logic controlling Boni's kidnap and the behaviour of the Trap Door. |
9 |
3 |
(2 / 2) Harmless flag |
Applies to Bubo (level 2) only. Used to denote that Berk has obtained the "Bubo harmless" power-up. |
9 |
4 |
Carrying-something flag |
Applies to Berk only. Used to denote that Berk is carrying something. |
9 |
5 |
Do-not-update-state flag |
Applies to Berk only. Used in routines that control large yellow creature (level 3) attacking Berk. |
9 |
6 |
Is-flying flag |
Applies to Berk only. Used to denote that Berk is-flying. |
9 |
7 |
Moving-upwards flag |
Applies to Berk only. Used to denote that Berk is moving upwards when the floating power-up is active. |
10 |
2 |
Back-to-level-1 flag |
Applies to Berk only. Used to denote that Berk has returned to level 1. |
10 |
3 |
All-home flag |
Applies to Berk only. Used to denote that Berk, Boni and Drutt have all returned home at the end of the game. |
10 |
5 |
Is-being-carried flag |
Used to denote that the entity is being carried by Berk. |
10 |
6 |
Can-fall flag |
Used to denote that the entity should respect gravity and fall. If reset then the entity will not fall. |
11 |
0 |
Walking-right flag |
Used to denote that the entity is walking / moving right. |
11 |
1 |
Walking-left flag |
Used to denote that the entity is walking / moving left. |
11 |
4 |
Impassable-leftwards flag |
Used to denote that the entity cannot be passed in a leftward direction but may be pushed. |
11 |
5 |
Impassable-rightwards flag |
Used to denote that the entity cannot be passed in a rightward direction but may be pushed. |
11 |
6 |
Interaction-(11,6) flag |
Used in collision detection routines. |
11 |
7 |
Interaction-(11,7) flag |
Used in collision detection routines. |
12 |
7 |
Is-jumping flag |
Applies to Berk and Drutt only. Used to denote that Berk / Drutt is jumping. |