Rename GetFarHalfword to GetFarWord

Fixes #796
This commit is contained in:
Rangi
2021-01-09 15:16:05 -05:00
parent f773fd1dd8
commit 7d3ea88611
18 changed files with 40 additions and 40 deletions

View File

@@ -428,7 +428,7 @@ GetEggMove:
add hl, bc
add hl, bc
ld a, BANK(EggMovePointers)
call GetFarHalfword
call GetFarWord
.loop
ld a, BANK("Egg Moves")
call GetFarByte
@@ -462,7 +462,7 @@ GetEggMove:
add hl, bc
add hl, bc
ld a, BANK(EvosAttacksPointers)
call GetFarHalfword
call GetFarWord
.loop3
ld a, BANK("Evolutions and Attacks")
call GetFarByte

View File

@@ -1687,7 +1687,7 @@ GivePoke::
push bc
push hl
ld a, [wScriptBank]
call GetFarHalfword
call GetFarWord
ld bc, MON_NAME_LENGTH
ld a, [wScriptBank]
call FarCopyBytes
@@ -1695,7 +1695,7 @@ GivePoke::
inc hl
inc hl
ld a, [wScriptBank]
call GetFarHalfword
call GetFarWord
pop bc
ld a, b
and a