summaryrefslogtreecommitdiff
path: root/engine/pokemon
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi@gmail.com>2020-09-22 13:12:27 -0400
committerRangi <remy.oukaour+rangi@gmail.com>2020-09-22 13:12:27 -0400
commit5e70f4cb51843ce2d40579ff272d375b9fa9aa26 (patch)
tree73bb3731d34de6bfc48db7b8ed78f35393bd6c56 /engine/pokemon
parent3b4ea37c363b70ea1683059329879466dec4a094 (diff)
Extract move data table (needs identification)
Diffstat (limited to 'engine/pokemon')
-rwxr-xr-xengine/pokemon/health.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/pokemon/health.asm b/engine/pokemon/health.asm
index 0bb3536..cf50310 100755
--- a/engine/pokemon/health.asm
+++ b/engine/pokemon/health.asm
@@ -33,8 +33,8 @@ HealParty:
jr z, .next_move
dec a
push hl
- ld hl, Moves
- ld bc, MOVE_DATA_SIZE
+ ld hl, Moves + MOVE_PP
+ ld bc, MOVE_LENGTH
call AddNTimes
ld a, BANK(Moves)
call GetFarByte