summaryrefslogtreecommitdiff
path: root/engine/wildmons.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-28 20:56:21 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-28 20:56:21 -0500
commit4c35f3ac8506e5f326658bbab91c257584f7b716 (patch)
tree980025fbbc41e001e260a65ed7c035dd6073e864 /engine/wildmons.asm
parentbb005694b31b6a8cbaeefa8751ea72117e904e02 (diff)
parent82a05a1752b476caab8951fe03f539dcc1a63669 (diff)
Merge branch 'master' of https://github.com/pret/pokecrystal
# Conflicts: # macros/scripts/maps.asm
Diffstat (limited to 'engine/wildmons.asm')
-rwxr-xr-xengine/wildmons.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/wildmons.asm b/engine/wildmons.asm
index 9aed7017a..dc62093b8 100755
--- a/engine/wildmons.asm
+++ b/engine/wildmons.asm
@@ -336,7 +336,7 @@ ChooseWildEncounter: ; 2a14f
cp UNOWN
jr nz, .done
- ld a, [UnlockedUnowns]
+ ld a, [wUnlockedUnowns]
and a
jr z, .nowildbattle
@@ -428,7 +428,7 @@ _JohtoWildmonCheck
_SwarmWildmonCheck
call CopyCurrMapDE
push hl
- ld hl, SwarmFlags
+ ld hl, wSwarmFlags
bit 2, [hl]
pop hl
jr z, .CheckYanma
@@ -445,7 +445,7 @@ _SwarmWildmonCheck
.CheckYanma:
push hl
- ld hl, SwarmFlags
+ ld hl, wSwarmFlags
bit 3, [hl]
pop hl
jr z, _NoSwarmWildmon