summaryrefslogtreecommitdiff
path: root/text/types.asm
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2014-06-27 21:33:08 -0500
committerBryan Bishop <kanzure@gmail.com>2014-06-27 21:33:08 -0500
commit1ecfe6bd23bb9b4e1886342c082bd5c3a108abbb (patch)
tree8190d5b11ebec4505c5494baf74b339ae9c82078 /text/types.asm
parent1fbe471b74908be6e89777857bf7407ef427225b (diff)
parentd6fbdfb8decf6231d6b43fbfcba63f9ce60308dc (diff)
Merge pull request #256 from yenatch/master
Fix predefs and battle code.
Diffstat (limited to 'text/types.asm')
-rw-r--r--text/types.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/text/types.asm b/text/types.asm
index 0addaaf6e..c3076fb10 100644
--- a/text/types.asm
+++ b/text/types.asm
@@ -42,13 +42,13 @@ PrintMoveType: ; 5093a
push hl
ld a, b
dec a
- ld bc, Move2 - Move1
+ ld bc, MOVE_LENGTH
ld hl, Moves
call AddNTimes
ld de, StringBuffer1
ld a, BANK(Moves)
call FarCopyBytes
- ld a, [StringBuffer1 + PlayerMoveType - PlayerMoveStruct]
+ ld a, [StringBuffer1 + MOVE_TYPE]
pop hl
ld b, a