aboutsummaryrefslogtreecommitdiff
path: root/definitions.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-11-14 19:05:56 +0900
committerAstatin <[email protected]>2024-11-14 19:05:56 +0900
commitcfd36cc6a11923c8863b699e70b90149ad1c731a (patch)
tree1adb07333cb0bba92812cda105a4b2db2fc89fd8 /definitions.gbasm
parent8a9209f59366c70da07c87e31d21ea0d4754bc84 (diff)
[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)
Diffstat (limited to 'definitions.gbasm')
-rw-r--r--definitions.gbasm5
1 files changed, 4 insertions, 1 deletions
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..)