summaryrefslogtreecommitdiff
path: root/engine/pokegear
diff options
context:
space:
mode:
Diffstat (limited to 'engine/pokegear')
-rw-r--r--engine/pokegear/pokegear.asm8
-rw-r--r--engine/pokegear/radio.asm6
2 files changed, 7 insertions, 7 deletions
diff --git a/engine/pokegear/pokegear.asm b/engine/pokegear/pokegear.asm
index f7861f0b..acef7b42 100644
--- a/engine/pokegear/pokegear.asm
+++ b/engine/pokegear/pokegear.asm
@@ -1023,13 +1023,13 @@ PokegearPhone_UpdateDisplayList:
ld hl, wPhoneList
add hl, de
xor a
- ld [wPokegearPhoneLoadNameBuffer], a
+ ld [wPokegearPhoneDisplayPosition], a
.loop
ld a, [hli]
push hl
push af
hlcoord 2, 4
- ld a, [wPokegearPhoneLoadNameBuffer]
+ ld a, [wPokegearPhoneDisplayPosition]
ld bc, 2 * SCREEN_WIDTH
call AddNTimes
ld d, h
@@ -1038,9 +1038,9 @@ PokegearPhone_UpdateDisplayList:
ld b, a
call GetCallerClassAndName
pop hl
- ld a, [wPokegearPhoneLoadNameBuffer]
+ ld a, [wPokegearPhoneDisplayPosition]
inc a
- ld [wPokegearPhoneLoadNameBuffer], a
+ ld [wPokegearPhoneDisplayPosition], a
cp PHONE_DISPLAY_HEIGHT
jr c, .loop
call PokegearPhone_UpdateCursor
diff --git a/engine/pokegear/radio.asm b/engine/pokegear/radio.asm
index 459cf1ac..ef410d51 100644
--- a/engine/pokegear/radio.asm
+++ b/engine/pokegear/radio.asm
@@ -235,7 +235,7 @@ endr
inc hl ; skip level
ld a, BANK(JohtoGrassWildMons)
call GetFarByte
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
ld [wCurPartySpecies], a
call GetPokemonName
ld hl, wStringBuffer1
@@ -297,7 +297,7 @@ OPT_OakText3:
OaksPKMNTalk7:
ld a, [wCurPartySpecies]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetPokemonName
ld hl, OPT_MaryText1
ld a, OAKS_POKEMON_TALK_8
@@ -629,7 +629,7 @@ PokedexShow1:
inc c
ld a, c
ld [wCurPartySpecies], a
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetPokemonName
ld hl, PokedexShowText
ld a, POKEDEX_SHOW_2