From e67ddaf2d8aad828de2a993385071aebfb183340 Mon Sep 17 00:00:00 2001 From: Astatin Date: Thu, 13 Mar 2025 19:51:48 +0900 Subject: Change the collision update from frame 5 to 9 for it to happen after basic attack execution --- definitions.gbasm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'definitions.gbasm') diff --git a/definitions.gbasm b/definitions.gbasm index 154384a..760751c 100644 --- a/definitions.gbasm +++ b/definitions.gbasm @@ -22,11 +22,12 @@ .DEFINE mem_button_direction ($c002) .DEFINE mem_button_action ($c003) .DEFINE mem_moving_animation_step ($c004) -; frame 0 (or 1 ?): movement can be initiated when with button actions +; frame 0: movement can be initiated when with button actions ; frame 2: applying bunny attack damages ; frame 3: checking entities health and death if 0 ; frame 4: new entity spawn -; frame 5: entity collision map is being updated +; frame 9: entity collision map is being updated +; frame 8: attack is executed on the enemies if it was predicted in frame "-1" ; frame 15: movement is ended and coordinates are updated .DEFINE mem_bunny_sprite ($cb00) -- cgit v1.2.3-70-g09d2