diff options
author | YamaArashi <shadow962@live.com> | 2015-07-23 06:07:12 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-07-23 06:07:44 -0700 |
commit | 04a6c306dce136873fd33d27aa3d5b90d9eeba5a (patch) | |
tree | bdd84a7c2c9be620b0c5d46b3cb015822f7b792a /scripts/safarizoneentrance.asm | |
parent | c34156c5fb333864c1ae85036ea587c9f615a65a (diff) |
clean up wram aliases
Diffstat (limited to 'scripts/safarizoneentrance.asm')
-rwxr-xr-x | scripts/safarizoneentrance.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/safarizoneentrance.asm b/scripts/safarizoneentrance.asm index 6ed62fd1..e4e2e2a8 100755 --- a/scripts/safarizoneentrance.asm +++ b/scripts/safarizoneentrance.asm @@ -145,7 +145,7 @@ SafariZoneEntranceTextPointers: ; 752b9 (1d:52b9) .SafariZoneEntranceText4 TX_FAR SafariZoneEntranceText_9e6e4 TX_ASM - ld a, $13 + ld a, MONEY_BOX ld [wTextBoxID],a call DisplayTextBoxID call YesNoChoice @@ -166,16 +166,16 @@ SafariZoneEntranceTextPointers: ; 752b9 (1d:52b9) .success xor a - ld [wSubtrahend],a + ld [wPriceTemp],a ld a,$05 - ld [wSubtrahend+1],a + ld [wPriceTemp + 1],a ld a,$00 - ld [wSubtrahend+2],a - ld hl,wTrainerFacingDirection + ld [wPriceTemp + 2],a + ld hl,wPriceTemp + 2 ld de,wPlayerMoney + 2 ld c,3 predef SubBCDPredef - ld a,$13 + ld a,MONEY_BOX ld [wTextBoxID],a call DisplayTextBoxID ld hl,.MakePaymentText |