diff options
author | garakmon <garakmon@gmail.com> | 2020-04-03 15:04:49 -0400 |
---|---|---|
committer | garakmon <garakmon@gmail.com> | 2020-04-03 15:04:49 -0400 |
commit | 791e30c90b9bcf7a6c1b21291601ddcdf2f485db (patch) | |
tree | c5d2324e25d52b7e58102e731acde37feec5db69 /src | |
parent | 4f65d54095908a1bcf068c7712bca9d4c34f10a3 (diff) |
fix encounter groups with neither a FireRed or LeafGreen label
Diffstat (limited to 'src')
-rw-r--r-- | src/data/wild_encounters.json.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/wild_encounters.json.txt b/src/data/wild_encounters.json.txt index a05639d2a..b63f6ee47 100644 --- a/src/data/wild_encounters.json.txt +++ b/src/data/wild_encounters.json.txt @@ -66,7 +66,7 @@ const struct WildPokemon {{ encounter.base_label }}_FishingMons[] = const struct WildPokemonInfo {{ encounter.base_label }}_FishingMonsInfo = { {{encounter.fishing_mons.encounter_rate}}, {{ encounter.base_label }}_FishingMons }; {% endif %} -#endif +{% if contains(encounter.base_label, "FireRed") or contains(encounter.base_label, "LeafGreen") %}#endif{% endif %} ## endfor @@ -83,7 +83,7 @@ const struct WildPokemonHeader {{ wild_encounter_group.label }}[] = .rockSmashMonsInfo = {% if existsIn(encounter, "rock_smash_mons") %}&{{ encounter.base_label }}_RockSmashMonsInfo{% else %}NULL{% endif %}, .fishingMonsInfo = {% if existsIn(encounter, "fishing_mons") %}&{{ encounter.base_label }}_FishingMonsInfo{% else %}NULL{% endif %}, }, -#endif +{% if contains(encounter.base_label, "FireRed") or contains(encounter.base_label, "LeafGreen") %}#endif{% endif %} ## endfor { .mapGroup = MAP_GROUP(UNDEFINED), |