aboutsummaryrefslogtreecommitdiff
path: root/playerattacks.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-02-11 18:52:46 +0900
committerAstatin <[email protected]>2025-02-11 18:52:46 +0900
commitecd565bc8625f7b80ebe197554ab01e1ef9a604b (patch)
tree5988b36cf2bcd1271c61421cd94ba46db95ba524 /playerattacks.gbasm
parent674d876aeff3eaaec1cf0226e45a6f649baca471 (diff)
Updating current focused attack cost + changing the cursor when not enough points
Diffstat (limited to 'playerattacks.gbasm')
-rw-r--r--playerattacks.gbasm49
1 files changed, 49 insertions, 0 deletions
diff --git a/playerattacks.gbasm b/playerattacks.gbasm
index 6f1eead..2257e54 100644
--- a/playerattacks.gbasm
+++ b/playerattacks.gbasm
@@ -73,6 +73,55 @@ Canceled_Attack:
LD $mem_bunny_direction, A
RET
+Attack_List:
+ .Hop:
+ ; Attack menu name string
+ .DB =Hop_Attack_Menu_Txt
+
+ ; Attack function
+ .DB =Hop_Attack
+
+ ; Energy point cost
+ .DB $01
+
+ .PADTO =.Hop+8
+
+ .Heal:
+ ; Attack menu name string
+ .DB =Heal_Attack_Menu_Txt
+
+ ;Attack function
+ .DB =Heal_Attack
+
+ ; Energy point cost
+ .DB $03
+
+ .PADTO =.Heal+8
+
+ .Freeze:
+ ; Attack menu name string
+ .DB =Freeze_Attack_Menu_Txt
+
+ ; Attack function
+ .DB =Freeze_Attack
+
+ ; Energy point cost
+ .DB $03
+
+ .PADTO =.Freeze+8
+
+ .Earcoptr:
+ ; Attack menu name string
+ .DB =Earcoptr_Attack_Menu_Txt
+
+ ; Attack function
+ .DB =Earcoptr_Attack
+
+ ; Energy point cost
+ .DB $04
+
+ .PADTO =.Earcoptr+8
+
.INCLUDE "playerattacks/hop.gbasm"
.INCLUDE "playerattacks/heal.gbasm"
.INCLUDE "playerattacks/freeze.gbasm"