aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld/pokemart.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-09-20 00:57:27 -0400
committeryenatch <yenatch@gmail.com>2014-09-20 00:57:27 -0400
commitdff0cdeb5a2f901dc8d1a05847d09d7faf1654ad (patch)
tree3618582f76f4183b6bc22c5d4743b6d171d11128 /engine/overworld/pokemart.asm
parentMerge remote-tracking branch 'origin/master' into tentative (diff)
parentCommented/labelled misc functions (diff)
downloadpokeyellow-dff0cdeb5a2f901dc8d1a05847d09d7faf1654ad.tar.gz
pokeyellow-dff0cdeb5a2f901dc8d1a05847d09d7faf1654ad.tar.xz
pokeyellow-dff0cdeb5a2f901dc8d1a05847d09d7faf1654ad.zip
Merge remote-tracking branch 'YamaArashi/master'
Conflicts: constants/misc_constants.asm engine/battle/core.asm engine/menu/pokedex.asm engine/town_map.asm home.asm hram.asm
Diffstat (limited to 'engine/overworld/pokemart.asm')
-rwxr-xr-xengine/overworld/pokemart.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/overworld/pokemart.asm b/engine/overworld/pokemart.asm
index 3b06bd2c..a27f6b0a 100755
--- a/engine/overworld/pokemart.asm
+++ b/engine/overworld/pokemart.asm
@@ -173,13 +173,13 @@ DisplayPokemartDialogue_: ; 6c20 (1:6c20)
ld [wcf0a],a
.skipSettingFlag2
ld a,(SFX_02_5a - SFX_Headers_02) / 3
- call PlaySoundWaitForCurrent ; play sound
- call WaitForSoundToFinish ; wait until sound is done playing
+ call PlaySoundWaitForCurrent
+ call WaitForSoundToFinish
ld hl,PokemartBoughtItemText
call PrintText
jp .buyMenuLoop
.returnToMainPokemartMenu
- call LoadScreenTilesFromBuffer1 ; restore save screen
+ call LoadScreenTilesFromBuffer1
ld a,$13
ld [wd125],a
call DisplayTextBoxID ; draw money text box
@@ -203,7 +203,7 @@ DisplayPokemartDialogue_: ; 6c20 (1:6c20)
ld hl,PokemartThankYouText
call PrintText
ld a,$01
- ld [wcfcb],a
+ ld [wUpdateSpritesEnabled],a
call UpdateSprites ; move sprites
ld a,[wd07e]
ld [wListScrollOffset],a