aboutsummaryrefslogtreecommitdiff
path: root/entity
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 /entity
parent674d876aeff3eaaec1cf0226e45a6f649baca471 (diff)
Updating current focused attack cost + changing the cursor when not enough points
Diffstat (limited to 'entity')
-rw-r--r--entity/init.gbasm5
1 files changed, 5 insertions, 0 deletions
diff --git a/entity/init.gbasm b/entity/init.gbasm
index 2bb9242..60edff6 100644
--- a/entity/init.gbasm
+++ b/entity/init.gbasm
@@ -1,4 +1,6 @@
Initialize_Entities:
+ LD A, $mem_bunny_mana
+ LD C, A
LD A, $mem_bunny_health
LD B, A
LD HL, $mem_entities_list
@@ -11,6 +13,9 @@ Initialize_Entities:
LD A, B
LD $mem_bunny_health, A
+ LD A, C
+ LD $mem_bunny_mana, A
+
LD HL, $mem_entities_list
LD A, $01
LD (HL+), A