From cfd36cc6a11923c8863b699e70b90149ad1c731a Mon Sep 17 00:00:00 2001 From: Astatin Date: Thu, 14 Nov 2024 19:05:56 +0900 Subject: [WIP] Adding hop attack (still need to enable back the normal map loading, there seem to be an off by one error on the entity while hopping in a positive direction, still need to split the loading in multiple frame to not go out of VBlank) --- definitions.gbasm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'definitions.gbasm') diff --git a/definitions.gbasm b/definitions.gbasm index 0dc9a56..04daa19 100644 --- a/definitions.gbasm +++ b/definitions.gbasm @@ -30,6 +30,7 @@ .DEFINE mem_bunny_direction ($cb03) ; aaaamddd: a = animation, m = is_moving, d = direction .DEFINE mem_bunny_health ($cb06) +.DEFINE mem_bunny_flags ($cb07) .DEFINE mem_viewport_x ($c008) .DEFINE mem_viewport_y ($c009) .DEFINE mem_rng_state_1 ($c00a) ; 2 bytes @@ -131,7 +132,9 @@ ; turn_function_jump_table_index: u8 ; action_function_jump_table_index: u8 ; health: u8 (DAA decimal !!) -; _padding: u72 +; flags: u8 +; bit 0: speed 2x +; _padding: u64 ; ; # SANTA CHRISTMAS LIST PLEASE # ; health, max health, list of possible attacks, maybe remaining attacks ? AI status (blind, scared, slow, etc..) -- cgit v1.2.3-70-g09d2