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

@@ -422,7 +422,7 @@ rept SCENE_SCRIPT_SIZE
endr
call GetMapScriptsBank
call GetFarHalfword
call GetFarWord
call GetMapScriptsBank
call CallScript
@@ -722,7 +722,7 @@ TryBGEvent:
inc hl
inc hl
call GetMapScriptsBank
call GetFarHalfword
call GetFarWord
call GetMapScriptsBank
call CallScript
scf
@@ -739,7 +739,7 @@ CheckBGEventFlag:
ld l, a
push hl
call GetMapScriptsBank
call GetFarHalfword
call GetFarWord
ld e, l
ld d, h
ld b, CHECK_FLAG

View File

@@ -1369,7 +1369,7 @@ StdScript:
ld b, a
inc hl
ld a, BANK(StdScripts)
call GetFarHalfword
call GetFarWord
ret
SkipTwoScriptBytes:

View File

@@ -889,7 +889,7 @@ RandomPhoneMon:
add hl, bc
add hl, bc
ld a, BANK(TrainerGroups)
call GetFarHalfword
call GetFarWord
.skip_trainer
dec e