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

@@ -125,7 +125,7 @@ GetFrontpicPointer:
push af
inc hl
ld a, d
call GetFarHalfword
call GetFarWord
pop bc
ret
@@ -228,7 +228,7 @@ GetMonBackpic:
push af
inc hl
ld a, d
call GetFarHalfword
call GetFarWord
ld de, wDecompressScratch
pop af
call FarDecompress
@@ -301,7 +301,7 @@ GSIntro_GetMonFrontpic: ; unreferenced
push af
inc hl
ld a, BANK(PokemonPicPointers)
call GetFarHalfword
call GetFarWord
pop af
pop de
call FarDecompress
@@ -332,7 +332,7 @@ GetTrainerPic:
push af
inc hl
ld a, BANK(TrainerPicPointers)
call GetFarHalfword
call GetFarWord
pop af
ld de, wDecompressScratch
call FarDecompress

View File

@@ -474,7 +474,7 @@ PokeAnim_GetPointer:
add hl, de
add hl, de
ld a, [wPokeAnimPointerBank]
call GetFarHalfword
call GetFarWord
ld a, l
ld [wPokeAnimCommand], a
ld a, h
@@ -496,7 +496,7 @@ PokeAnim_GetBitmaskIndex:
add hl, bc
add hl, bc
ld a, [wPokeAnimFramesBank]
call GetFarHalfword
call GetFarWord
ld a, [wPokeAnimFramesBank]
call GetFarByte
ld [wPokeAnimCurBitmask], a
@@ -915,7 +915,7 @@ GetMonAnimPointer:
add hl, de
ld a, c
ld [wPokeAnimPointerBank], a
call GetFarHalfword
call GetFarWord
ld a, l
ld [wPokeAnimPointerAddr], a
ld a, h
@@ -982,7 +982,7 @@ GetMonFramesPointer:
add hl, de
add hl, de
ld a, b
call GetFarHalfword
call GetFarWord
ld a, l
ld [wPokeAnimFramesAddr], a
ld a, h
@@ -1020,7 +1020,7 @@ GetMonBitmaskPointer:
add hl, de
add hl, de
ld a, [wPokeAnimBitmaskBank]
call GetFarHalfword
call GetFarWord
ld a, l
ld [wPokeAnimBitmaskAddr], a
ld a, h