diff options
author | Astatin <[email protected]> | 2024-11-18 18:11:29 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2024-11-18 18:11:29 +0900 |
commit | 10a894e2d350a683d8b653c90b9bb8408836c4b9 (patch) | |
tree | f90403bb7c036fba646957f561c20c695d454b73 /entity/actions.gbasm | |
parent | ea4a115b8e640d5d17014a50fd3199ba4cc6494f (diff) |
Enter a new mode when dead
Diffstat (limited to 'entity/actions.gbasm')
-rw-r--r-- | entity/actions.gbasm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/entity/actions.gbasm b/entity/actions.gbasm index 1416304..6d8befa 100644 --- a/entity/actions.gbasm +++ b/entity/actions.gbasm @@ -70,12 +70,22 @@ Update_Animation_Steps: Update_Animation_Steps.update_mode: + LD A, $mem_bunny_health + CP $00 + JR Z =Update_Animation_Steps.Dead_mode + LD A, $mem_requested_mode LD $mem_current_mode, A Update_Animation_Steps.end: RET + Update_Animation_Steps.Dead_mode: + + LD A, $enum_dead_mode + LD $mem_current_mode, A + RET + Turn_Jump_table: ; 00 RET |