aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-08-28 17:02:20 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-08-28 17:02:20 -0400
commit7ee8a6509e323ec012ece6273809e46830c29239 (patch)
treea58c8343919f9be0f208733f77506d783e5c269c /engine/events
parentRemove old tile animation comments (#333) (diff)
downloadpokeyellow-7ee8a6509e323ec012ece6273809e46830c29239.tar.gz
pokeyellow-7ee8a6509e323ec012ece6273809e46830c29239.tar.xz
pokeyellow-7ee8a6509e323ec012ece6273809e46830c29239.zip
wcf4b -> wStringBuffer
Diffstat (limited to 'engine/events')
-rw-r--r--engine/events/cinnabar_lab.asm2
-rw-r--r--engine/events/give_pokemon.asm2
-rw-r--r--engine/events/pokemart.asm2
3 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/cinnabar_lab.asm b/engine/events/cinnabar_lab.asm
index bccc95d1..7cbb2cd5 100644
--- a/engine/events/cinnabar_lab.asm
+++ b/engine/events/cinnabar_lab.asm
@@ -116,7 +116,7 @@ LoadFossilItemAndMonName::
ld a, [wFossilMon]
ld [wd11e], a
call GetMonName
- call CopyStringToCF4B
+ call CopyToStringBuffer
ld a, [wFossilItem]
ld [wd11e], a
call GetItemName
diff --git a/engine/events/give_pokemon.asm b/engine/events/give_pokemon.asm
index 14dcea42..f2374e1e 100644
--- a/engine/events/give_pokemon.asm
+++ b/engine/events/give_pokemon.asm
@@ -18,7 +18,7 @@ _GivePokemon::
callfar LoadEnemyMonData
call SetPokedexOwnedFlag
callfar SendNewMonToBox
- ld hl, wcf4b
+ ld hl, wStringBuffer
ld a, [wCurrentBoxNum]
and $7f
cp 9
diff --git a/engine/events/pokemart.asm b/engine/events/pokemart.asm
index c7cb8115..a1d69c72 100644
--- a/engine/events/pokemart.asm
+++ b/engine/events/pokemart.asm
@@ -159,7 +159,7 @@ DisplayPokemartDialogue_::
ld a, [wcf91] ; item ID
ld [wd11e], a ; store item ID for GetItemName
call GetItemName
- call CopyStringToCF4B ; copy name to wcf4b
+ call CopyToStringBuffer
ld hl, PokemartTellBuyPriceText
call PrintText
hlcoord 14, 7