summaryrefslogtreecommitdiff
path: root/engine/pokegear.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-30 14:55:20 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-30 14:55:20 -0500
commit4a3384ab09c735f1a8cac54dddf0e5741f1875a7 (patch)
tree197f72b85e04e642464e00f1fcd1d572e2763579 /engine/pokegear.asm
parent0b45e2e846c8b2feb7d2c4c4ebb854db07cf06fd (diff)
wSpritesEnd -> wVirtualOAMEnd.
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 1b816725b..ea2afdc78 100755
--- a/engine/pokegear.asm
+++ b/engine/pokegear.asm
@@ -2589,7 +2589,7 @@ Pokedex_GetArea: ; 91d11
.copy_sprites
hlcoord 0, 0
ld de, wVirtualOAM
- ld bc, wSpritesEnd - wVirtualOAM
+ ld bc, wVirtualOAMEnd - wVirtualOAM
call CopyBytes
ret
@@ -2656,7 +2656,7 @@ Pokedex_GetArea: ; 91d11
.done_nest
ld hl, wVirtualOAM
decoord 0, 0
- ld bc, wSpritesEnd - wVirtualOAM
+ ld bc, wVirtualOAMEnd - wVirtualOAM
call CopyBytes
ret
@@ -2701,7 +2701,7 @@ Pokedex_GetArea: ; 91d11
.clear_oam
ld hl, wVirtualOAMSprite04
- ld bc, wSpritesEnd - wVirtualOAMSprite04
+ ld bc, wVirtualOAMEnd - wVirtualOAMSprite04
xor a
call ByteFill
ret
@@ -2742,7 +2742,7 @@ Pokedex_GetArea: ; 91d11
.clear
ld hl, wVirtualOAM
- ld bc, wSpritesEnd - wVirtualOAM
+ ld bc, wVirtualOAMEnd - wVirtualOAM
xor a
call ByteFill
scf