aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mtmoonpokecenter.asm
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-07-17 10:49:54 -0500
committerDaniel Harding <corrnondacqb@yahoo.com>2015-07-17 10:49:54 -0500
commit6e46ec61f9a324116ef016397cdce9e67f75e77f (patch)
tree101d51fea00a852808f2a76d9e45a4b3779cab56 /scripts/mtmoonpokecenter.asm
parentMore direction constants (diff)
parentmoney / coins hram constants (diff)
downloadpokeyellow-6e46ec61f9a324116ef016397cdce9e67f75e77f.tar.gz
pokeyellow-6e46ec61f9a324116ef016397cdce9e67f75e77f.tar.xz
pokeyellow-6e46ec61f9a324116ef016397cdce9e67f75e77f.zip
Merge pull request #103 from YamaArashi/master
Misc changes again
Diffstat (limited to 'scripts/mtmoonpokecenter.asm')
-rwxr-xr-xscripts/mtmoonpokecenter.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/mtmoonpokecenter.asm b/scripts/mtmoonpokecenter.asm
index b06c4df0..bba73dbd 100755
--- a/scripts/mtmoonpokecenter.asm
+++ b/scripts/mtmoonpokecenter.asm
@@ -35,10 +35,10 @@ MtMoonPokecenterText4: ; 492ec (12:52ec)
ld a, [wCurrentMenuItem]
and a
jp nz, .asm_4934e
- ld [$ff9f], a
- ld [$ffa1], a
+ ld [hMoney], a
+ ld [hMoney + 2], a
ld a, $5
- ld [$ffa0], a
+ ld [hMoney + 1], a
call HasEnoughMoney
jr nc, .asm_faa09
ld hl, MtMoonPokecenterText_49366