diff options
author | Astatin <[email protected]> | 2025-08-26 16:13:51 +0200 |
---|---|---|
committer | Astatin <[email protected]> | 2025-08-26 16:13:51 +0200 |
commit | fb897a615f65af2ff99dc6070067262c809a2ac4 (patch) | |
tree | 5360e714ffa9c8fdad8e9c1e00b6fa5c9e1804bc | |
parent | d72febf1ce9a72cdfb3cb822d74456a387897672 (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 ?
-rw-r--r-- | gui.gbasm | 8 | ||||
-rw-r--r-- | modes/dungeon.gbasm | 6 |
2 files changed, 13 insertions, 1 deletions
@@ -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 diff --git a/modes/dungeon.gbasm b/modes/dungeon.gbasm index 86fea59..0386a5f 100644 --- a/modes/dungeon.gbasm +++ b/modes/dungeon.gbasm @@ -72,7 +72,11 @@ Update_Animation_Steps: CALL =Update_VBlank_Handler LD HL, $dialogue_first_line - LD BC, $36 + LD BC, $12 + CALL =bzero + + LD HL, $dialogue_third_line + LD BC, $12 CALL =bzero LD HL, $dialogue_first_line |