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 /playerattacks.gbasm | |
parent | 75732632a373d8ac21f8f4ecf813b447f02ba8e4 (diff) |
Add Game Over music & dialogue box + button press after music end restarts
Diffstat (limited to 'playerattacks.gbasm')
-rw-r--r-- | playerattacks.gbasm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/playerattacks.gbasm b/playerattacks.gbasm index b8eb745..419cd95 100644 --- a/playerattacks.gbasm +++ b/playerattacks.gbasm @@ -185,6 +185,26 @@ Attack_List: .PADTO =.Earcoptr+8 + ; 05 + .Die: + ; Attack menu name string + .DB bank(=Die_Attack_Menu_Txt) + .DB ptr(=Die_Attack_Menu_Txt) + + ; Attack function + .ASSERT bank(=Die_Attack) $00 + .DB ptr(=Die_Attack) + + ; Energy point cost + .DB $00 + + .PADTO =.Die+8 + +Die_Attack: + LD A, $00 + LD $mem_bunny_health, A + RET + .INCLUDE "playerattacks/hop.gbasm" .INCLUDE "playerattacks/heal.gbasm" .INCLUDE "playerattacks/freeze.gbasm" |