aboutsummaryrefslogtreecommitdiff
path: root/gui.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-08-26 16:13:51 +0200
committerAstatin <[email protected]>2025-08-26 16:13:51 +0200
commitfb897a615f65af2ff99dc6070067262c809a2ac4 (patch)
tree5360e714ffa9c8fdad8e9c1e00b6fa5c9e1804bc /gui.gbasm
parentd72febf1ce9a72cdfb3cb822d74456a387897672 (diff)
Add little cute arrow thingy after music ended on dead dialogue + mayhaps glitchy frame that happened in rare cases on death dialogue open might be fixed ?
Diffstat (limited to 'gui.gbasm')
-rw-r--r--gui.gbasm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gui.gbasm b/gui.gbasm
index 423c081..4a0025f 100644
--- a/gui.gbasm
+++ b/gui.gbasm
@@ -388,13 +388,21 @@ Dialogue_Arrow_Animation:
LD A, $mem_current_mode
CP $enum_dungeon_dialogue_mode
JR Z, =.dialogue
+ CP $enum_dead_mode
+ JR Z, =.dead
+ .not_dialogue:
LD A, $18
LD ($9d05), A
LD A, $14
LD ($9d06), A
RET
+ .dead:
+ LD A, $mem_sound_flags
+ BIT 0, A
+ JR NZ, =.not_dialogue
+
.dialogue:
LD A, $mem_loop_frame_timer
AND $7f