summaryrefslogtreecommitdiff
path: root/engine/intro_menu.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 16:45:34 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 16:45:34 -0500
commitf2ae74079fc917cbf7e1f640eb8beda0d4740887 (patch)
treed1982b2f1c0c23e1b274ed84db330351d4f4806b /engine/intro_menu.asm
parentc60f1331fef22b886adf3472d2b4f348832cfaf7 (diff)
Prefix wram labels with w, part 1.
Handle edge cases first.
Diffstat (limited to 'engine/intro_menu.asm')
-rwxr-xr-xengine/intro_menu.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/intro_menu.asm b/engine/intro_menu.asm
index a26ac1f81..59aebd4d5 100755
--- a/engine/intro_menu.asm
+++ b/engine/intro_menu.asm
@@ -106,8 +106,8 @@ ResetWRAM: ; 5ba7
_ResetWRAM: ; 5bae
- ld hl, Sprites
- ld bc, Options - Sprites
+ ld hl, wVirtualOAM
+ ld bc, Options - wVirtualOAM
xor a
call ByteFill
@@ -196,8 +196,8 @@ _ResetWRAM: ; 5bae
ld [wJohtoBadges], a
ld [wKantoBadges], a
- ld [Coins], a
- ld [Coins + 1], a
+ ld [wCoins], a
+ ld [wCoins + 1], a
if START_MONEY >= $10000
ld a, HIGH(START_MONEY >> 8)