Citrine grass encounter fix

Had to hardcode the tile to work. Yeah.
This commit is contained in:
Llinos Evans 2023-04-18 07:33:35 +01:00
parent 19762488ae
commit e234d77c24
3 changed files with 8 additions and 1 deletions

View file

@ -31,6 +31,13 @@ TryDoWildEncounter:
cp c
ld a, [wGrassRate]
jr z, .CanEncounter
cp CITRINE
ld a, $0E ; So the Citrine grass works.
cp c
ld a, [wGrassRate]
jr z, .CanEncounter
ld a, $14 ; in all tilesets with a water tile, this is its id
cp c
ld a, [wWaterRate]