diff options
| author | YamaArashi <shadow962@live.com> | 2015-07-14 23:16:06 -0700 |
|---|---|---|
| committer | YamaArashi <shadow962@live.com> | 2015-07-14 23:16:06 -0700 |
| commit | 994c2cbf289efa2e23eabf1af96ba62e4f066005 (patch) | |
| tree | 74674d580b4ca868d727aae9ac71795d8d98b9c7 /engine/overworld/pokemart.asm | |
| parent | hall of fame / credits (diff) | |
| download | pokeyellow-994c2cbf289efa2e23eabf1af96ba62e4f066005.tar.gz pokeyellow-994c2cbf289efa2e23eabf1af96ba62e4f066005.tar.xz pokeyellow-994c2cbf289efa2e23eabf1af96ba62e4f066005.zip | |
named wram variables
Diffstat (limited to 'engine/overworld/pokemart.asm')
| -rwxr-xr-x | engine/overworld/pokemart.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/overworld/pokemart.asm b/engine/overworld/pokemart.asm index de18a1ab..2caada1d 100755 --- a/engine/overworld/pokemart.asm +++ b/engine/overworld/pokemart.asm @@ -57,9 +57,9 @@ DisplayPokemartDialogue_: ; 6c20 (1:6c20) call DisplayTextBoxID ; draw money text box ld hl,wNumBagItems ld a,l - ld [wList],a + ld [wListPointer],a ld a,h - ld [wList + 1],a + ld [wListPointer + 1],a xor a ld [wPrintItemPrices],a ld [wCurrentMenuItem],a @@ -136,11 +136,11 @@ DisplayPokemartDialogue_: ; 6c20 (1:6c20) ld a,MONEY_BOX ld [wTextBoxID],a call DisplayTextBoxID - ld hl,wStringBuffer2 + 11 + ld hl,wItemList ld a,l - ld [wList],a + ld [wListPointer],a ld a,h - ld [wList + 1],a + ld [wListPointer + 1],a xor a ld [wCurrentMenuItem],a inc a |
