summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmain.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.asm b/main.asm
index f575929..d4a79fb 100755
--- a/main.asm
+++ b/main.asm
@@ -359,10 +359,10 @@ CheckForMew:
cp $f ; random number equals $f
jr nz, .asm_10155
ld a, c
- cp $60 ; check if low-byte of map mons offset is Indigo Plateau
+ cp (BlueStageIndigoPlateauWildMons - BlueStageWildMons) & $ff ; check if low-byte of map mons offset is Indigo Plateau
jr nz, .asm_10155
ld a, b
- cp $1 ; check if high-byte of map mons offset is Indigo Plateau
+ cp (BlueStageIndigoPlateauWildMons - BlueStageWildMons) >> 8 ; check if high-byte of map mons offset is Indigo Plateau
jr nz, .asm_10155
ld a, [wRareMonsFlag]
cp $8