summaryrefslogtreecommitdiff
path: root/engine
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
parent3b4ea37c363b70ea1683059329879466dec4a094 (diff)
Extract move data table (needs identification)
Diffstat (limited to 'engine')
-rwxr-xr-xengine/dumps/bank01.asm4
-rwxr-xr-xengine/dumps/bank03.asm4
-rwxr-xr-xengine/pokemon/health.asm4
3 files changed, 6 insertions, 6 deletions
diff --git a/engine/dumps/bank01.asm b/engine/dumps/bank01.asm
index 36a2f6c..ab5f52d 100755
--- a/engine/dumps/bank01.asm
+++ b/engine/dumps/bank01.asm
@@ -3062,8 +3062,8 @@ Function6445:
push hl
push de
dec a
- ld hl, Moves
- ld bc, $0007
+ ld hl, Moves + MOVE_PP
+ ld bc, MOVE_LENGTH
call AddNTimes
ld a, BANK(Moves)
call GetFarByte
diff --git a/engine/dumps/bank03.asm b/engine/dumps/bank03.asm
index 8ea4aa5..4e9d5ea 100755
--- a/engine/dumps/bank03.asm
+++ b/engine/dumps/bank03.asm
@@ -5130,8 +5130,8 @@ Functionf960:
ld a, [hl]
dec a
push hl
- ld hl, Moves
- ld bc, $0007
+ ld hl, Moves + MOVE_PP
+ ld bc, MOVE_LENGTH
call AddNTimes
ld a, BANK(Moves)
call GetFarByte
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