summaryrefslogtreecommitdiff
path: root/home/trainers.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-01-09 15:16:05 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-01-09 15:16:05 -0500
commit7d3ea88611efbc2f9b903063e2816b1cae1bad35 (patch)
tree7475d498e4a1695aefd4a7e3356e735a51245d35 /home/trainers.asm
parentf773fd1dd89782eb1e92b850c7409a8d8be37651 (diff)
Rename GetFarHalfword to GetFarWord
Fixes #796
Diffstat (limited to 'home/trainers.asm')
-rw-r--r--home/trainers.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/trainers.asm b/home/trainers.asm
index 87f82cf0a..ec9ddd3ca 100644
--- a/home/trainers.asm
+++ b/home/trainers.asm
@@ -116,7 +116,7 @@ LoadTrainer_continue::
ld hl, MAPOBJECT_SCRIPT_POINTER
add hl, bc
ld a, [wSeenTrainerBank]
- call GetFarHalfword
+ call GetFarWord
ld de, wTempTrainer
ld bc, wTempTrainerEnd - wTempTrainer
ld a, [wSeenTrainerBank]
@@ -215,7 +215,7 @@ CheckTrainerFlag:: ; unreferenced
ld h, [hl]
ld l, a
call GetMapScriptsBank
- call GetFarHalfword
+ call GetFarWord
ld d, h
ld e, l
push de