aboutsummaryrefslogtreecommitdiff
path: root/main.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-08-26 14:29:01 +0200
committerAstatin <[email protected]>2025-08-26 14:29:01 +0200
commitd72febf1ce9a72cdfb3cb822d74456a387897672 (patch)
tree799c5667f210b3dbe344bf5d0946ba843a4c6164 /main.gbasm
parent75732632a373d8ac21f8f4ecf813b447f02ba8e4 (diff)
Add Game Over music & dialogue box + button press after music end restarts
Diffstat (limited to 'main.gbasm')
-rw-r--r--main.gbasm5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.gbasm b/main.gbasm
index 37b1331..0ff7fcf 100644
--- a/main.gbasm
+++ b/main.gbasm
@@ -11,9 +11,12 @@ Entrypoint:
LD A, $01
LD (HL+), A
XOR A
+ ;LD A, $05
LD (HL+), A
+ XOR A
LD (HL+), A
LD (HL+), A
+ ;LD A, $02
LD A, $01
LD $mem_number_of_attacks, A
@@ -80,3 +83,5 @@ _music_Dungeon:
.INCLUDEBIN "music/morning-forest.vgm"
_music_TitleScreen:
.INCLUDEBIN "music/title-screen.vgm"
+_music_GameOver:
+.INCLUDEBIN "music/game-over.vgm"