mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-10 23:40:59 +13:00
Citrine grass encounter fix
Had to hardcode the tile to work. Yeah.
This commit is contained in:
parent
19762488ae
commit
e234d77c24
|
|
@ -9,7 +9,6 @@ ENDM
|
|||
Tilesets:
|
||||
table_width 12, Tilesets
|
||||
; name, 3 counter tiles, grass tile, animations
|
||||
; FIXME: Needs to have a new column for a second grass tile for Citrine to work properly. Missing tile is $3F.
|
||||
tileset Overworld, -1, -1, -1, $52, TILEANIM_WATER_FLOWER
|
||||
tileset RedsHouse1, -1, -1, -1, -1, TILEANIM_NONE
|
||||
tileset Mart, $18,$19,$1E, -1, TILEANIM_NONE
|
||||
|
|
|
|||
|
|
@ -9,4 +9,5 @@ WaterTilesets:
|
|||
db CAVERN
|
||||
db FACILITY
|
||||
db PLATEAU
|
||||
db CITRINE
|
||||
db -1 ; end
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue