diff options
author | Astatin <[email protected]> | 2025-08-26 14:29:01 +0200 |
---|---|---|
committer | Astatin <[email protected]> | 2025-08-26 14:29:01 +0200 |
commit | d72febf1ce9a72cdfb3cb822d74456a387897672 (patch) | |
tree | 799c5667f210b3dbe344bf5d0946ba843a4c6164 /gui.gbasm | |
parent | 75732632a373d8ac21f8f4ecf813b447f02ba8e4 (diff) |
Add Game Over music & dialogue box + button press after music end restarts
Diffstat (limited to 'gui.gbasm')
-rw-r--r-- | gui.gbasm | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -257,7 +257,21 @@ Check_dialogue_action: JR Z, =.Dungeon_Menu CP $enum_dungeon_dialogue_mode + JR Z, =.Dialogue_Box + + LD A, $mem_button_action + LD B, A + LD A, $mem_last_button_action + XOR B + AND B + CP $00 + RET Z + ; Wait for the music to stop to restart game when button pressed + LD A, $mem_sound_flags + BIT 0, A RET NZ + JP =Start + RET .Dialogue_Box: LD A, $mem_button_action |