aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/viridianmart.asm
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-07-18 12:29:05 -0500
committerDaniel Harding <corrnondacqb@yahoo.com>2015-07-18 12:29:05 -0500
commit54c1893d579cdf6853c6a64953bae281a6075fe3 (patch)
tree11717604336caa83ddcdb1bd8b1c765d54cf708b /scripts/viridianmart.asm
parentClean up map connections (diff)
parentfix variable naming (diff)
downloadpokeyellow-54c1893d579cdf6853c6a64953bae281a6075fe3.tar.gz
pokeyellow-54c1893d579cdf6853c6a64953bae281a6075fe3.tar.xz
pokeyellow-54c1893d579cdf6853c6a64953bae281a6075fe3.zip
Merge pull request #104 from YamaArashi/master
fix variable naming
Diffstat (limited to 'scripts/viridianmart.asm')
-rwxr-xr-xscripts/viridianmart.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/viridianmart.asm b/scripts/viridianmart.asm
index 9725e275..b6621684 100755
--- a/scripts/viridianmart.asm
+++ b/scripts/viridianmart.asm
@@ -28,7 +28,7 @@ ViridianMartScriptPointers: ; 1d495 (7:5495)
ViridianMartScript0: ; 1d49b (7:549b)
call UpdateSprites
ld a, $4
- ld [$ff8c], a
+ ld [hSpriteIndexOrTextID], a
call DisplayTextID
ld hl, wSimulatedJoypadStatesEnd
ld de, RLEMovement1d4bb
@@ -51,7 +51,7 @@ ViridianMartScript1: ; 1d4c0 (7:54c0)
ret nz
call Delay3
ld a, $5
- ld [$ff8c], a
+ ld [hSpriteIndexOrTextID], a
call DisplayTextID
ld bc, (OAKS_PARCEL << 8) + 1
call GiveItem