aboutsummaryrefslogtreecommitdiff
path: root/modes/dungeon.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-08-28 16:28:52 +0200
committerAstatin <[email protected]>2025-08-28 16:28:52 +0200
commit4322dd667c3e8c26daac152762fed8f25806d1ef (patch)
tree3f081fc85d5122234032d97111dad9aff75c5832 /modes/dungeon.gbasm
parent4c55bc14c4eec727e3b24b3dde5e7d7cb1558623 (diff)
FINALLY FIX DEATH FRAME GLITCH THINGY WOOOOHOOOOO
Diffstat (limited to 'modes/dungeon.gbasm')
-rw-r--r--modes/dungeon.gbasm14
1 files changed, 13 insertions, 1 deletions
diff --git a/modes/dungeon.gbasm b/modes/dungeon.gbasm
index ae9d052..2962913 100644
--- a/modes/dungeon.gbasm
+++ b/modes/dungeon.gbasm
@@ -59,13 +59,25 @@ Update_Animation_Steps:
LD A, $mem_current_mode
CP $enum_dead_mode
RET Z
+ LD A, $mem_map_loading_flags
+ BIT 3, A
+ JR Z, =.Can_Check_Dead_mode
+ LD A, $mem_moving_animation_step
+ CP $00
+ RET Z
+ .Can_Check_Dead_mode:
LD A, $00
LD $mem_bunny_direction, A
LD A, $02
LD $mem_bunny_animation, A
.LOAD_MUSIC =_music_GameOver
- CALL =Start_Music
+
+ LD A, $mem_sound_flags
+ AND 0b10111110
+ SET 6, A
+ LD $mem_sound_flags, A
+
LD A, $enum_dead_mode
LD $mem_requested_mode, A
LD $mem_current_mode, A