summaryrefslogtreecommitdiff
path: root/engine/pokegear.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-30 14:52:46 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-30 14:52:46 -0500
commit0b45e2e846c8b2feb7d2c4c4ebb854db07cf06fd (patch)
treedf6b2a87398c5912f878de5798cb8d19a31bc15b /engine/pokegear.asm
parent3c7ba37de72795e46c76f791b50b4a3d89ba0c2c (diff)
Fix wVirtualOAM labels, part 2.
Diffstat (limited to 'engine/pokegear.asm')
-rwxr-xr-xengine/pokegear.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/pokegear.asm b/engine/pokegear.asm
index affe9d6bd..1b816725b 100755
--- a/engine/pokegear.asm
+++ b/engine/pokegear.asm
@@ -2627,7 +2627,7 @@ Pokedex_GetArea: ; 91d11
ld e, a
farcall FindNest ; load nest landmarks into wTileMap[0,0]
decoord 0, 0
- ld hl, wSprite01
+ ld hl, wVirtualOAMSprite00
.nestloop
ld a, [de]
and a
@@ -2671,7 +2671,7 @@ Pokedex_GetArea: ; 91d11
ld c, e
ld b, d
ld de, .PlayerOAM
- ld hl, wSprite01
+ ld hl, wVirtualOAMSprite00
.ShowPlayerLoop:
ld a, [de]
cp $80
@@ -2700,8 +2700,8 @@ Pokedex_GetArea: ; 91d11
jr .ShowPlayerLoop
.clear_oam
- ld hl, wSprite05
- ld bc, wSpritesEnd - wSprite05
+ ld hl, wVirtualOAMSprite04
+ ld bc, wSpritesEnd - wVirtualOAMSprite04
xor a
call ByteFill
ret