Ok this fixes all the wild data issues between regions and gives a possible fix for the PokeGear issues.

Yes it was that silly.

I am VERY happy it's done though.

Thanks to Frrf for playing one more Dota 2 game, giving me the time to fix it.
This commit is contained in:
Llinos Evans 2024-07-10 13:47:45 +01:00
parent 5953dabd3e
commit 7d6c62358e

View file

@ -441,9 +441,13 @@ _GrassWildmonLookup:
;.skip2 ; If you skip here, you're in Nihon or Johto.
ld de, NihonGrassWildMons
ld a, [wMapGroup]
ld b, a
ld a, [wMapNumber]
ld c, a
call GetWorldMapLocation
cp NIHON_LANDMARK
jr z, .skip2
jr nc, .skip2
ld de, KantoGrassWildMons
.skip2
@ -460,9 +464,13 @@ _WaterWildmonLookup:
; Nihon Check 2
ld de, NihonWaterWildMons
ld a, [wMapGroup]
ld b, a
ld a, [wMapNumber]
ld c, a
call GetWorldMapLocation
cp NIHON_LANDMARK
jr z, .skip2
jr nc, .skip2
ld de, KantoWaterWildMons
.skip2