mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
wcf4b -> wStringBuffer
This commit is contained in:
parent
236426138b
commit
7ee8a6509e
51 changed files with 112 additions and 114 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ _GivePokemon::
|
|||
callfar LoadEnemyMonData
|
||||
call SetPokedexOwnedFlag
|
||||
callfar SendNewMonToBox
|
||||
ld hl, wcf4b
|
||||
ld hl, wStringBuffer
|
||||
ld a, [wCurrentBoxNum]
|
||||
and $7f
|
||||
cp 9
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue