diff options
author | Astatin <[email protected]> | 2024-09-19 18:56:32 +0900 |
---|---|---|
committer | Astatin <astatin@redacted> | 2024-09-19 18:56:32 +0900 |
commit | ec1f79b44203735f581c7f85b6c23216aaf587a6 (patch) | |
tree | 0ae669440b2dce7f2e23cfadebb3dc0ab42efcba /definitions.gbasm | |
parent | fa37dcacf1ff0de66f5c4eed7b89be6006d6d77b (diff) |
Read action buttons and set it in the entity direction highest nibble
Diffstat (limited to 'definitions.gbasm')
-rw-r--r-- | definitions.gbasm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/definitions.gbasm b/definitions.gbasm index d44be40..ac77344 100644 --- a/definitions.gbasm +++ b/definitions.gbasm @@ -14,6 +14,7 @@ .DEFINE intial_duplication_probablity $01 .DEFINE mem_button_direction ($c002) +.DEFINE mem_button_action ($c003) .DEFINE mem_moving_animation_step ($c004) .DEFINE mem_bunny_sprite ($c980) .DEFINE mem_bunny_x ($c981) @@ -75,7 +76,7 @@ ; sprite: u8, ; x: u8, ; y: u8, -; direction: u8 (bit 3 = is_moving, bit 2-0: direction), +; direction: u8 (animation = bit 7-4, bit 3 = is_moving, bit 2-0: direction), ; ai_function_pointer: 16 ; _padding: u16 ; } |