aboutsummaryrefslogtreecommitdiff
path: root/gui.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-02-18 19:03:42 +0900
committerAstatin <[email protected]>2025-02-18 19:03:42 +0900
commit18d7d064daf704193f8dff6b2ef3ae68b7fc3aac (patch)
tree9af417ec9a09294edec8ca0e5ffbd146a0081b4b /gui.gbasm
parentf4197f6117b7cc16873fca749c0dcb838577a7e5 (diff)
Did a bunch of things I honestly don't remember everything but now basic attack is broken
Diffstat (limited to 'gui.gbasm')
-rw-r--r--gui.gbasm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gui.gbasm b/gui.gbasm
index 14fbd07..3639b04 100644
--- a/gui.gbasm
+++ b/gui.gbasm
@@ -203,12 +203,18 @@ Reload_EP_Cost:
LD HL, =Attack_List
LD A, L
ADD E
- ADD $04
LD L, A
LD A, H
ADC D
LD H, A
+ LD A, L
+ ADD $04
+ LD L, A
+ LD A, H
+ ADC $00
+ LD H, A
+
LD A, (HL)
LD $mem_current_focused_attack_ep_cost, A