diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-07-02 14:41:54 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2017-07-02 14:41:54 -0500 |
commit | 7fc29c831ba0d7b1d7e36c09a7d5736c64bc8209 (patch) | |
tree | 787eb94f8db1f49b4056ab24720f59dc81295c35 | |
parent | d96ff8f4adfb760db788deffa75a335ad1873ba3 (diff) |
Use dynamic values for Mew map check
-rwxr-xr-x | main.asm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |