From ec1f79b44203735f581c7f85b6c23216aaf587a6 Mon Sep 17 00:00:00 2001 From: Astatin Date: Thu, 19 Sep 2024 18:56:32 +0900 Subject: Read action buttons and set it in the entity direction highest nibble --- definitions.gbasm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'definitions.gbasm') 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 ; } -- cgit v1.2.3-70-g09d2