• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] Adding "Flower" encounters for Oricorio and Flabebe

I have added an encounter method to select a form of Oricorio and Flabebe depending on which color of flower you are standing on, and random if the flower you are on doesn't match that Pokemon's variation.
However while the Flowers work just fine, they have seemed to disable the Grass tiles from spawning Pokemon. Can anyone help me figure this out?

PBTerrain
Spoiler:

PField_Encounters
Spoiler:

Pokemon_Forms
Spoiler:

Encounter PBS
Spoiler:
 

Attachments

  • Flower.mp4
    2.8 MB
Last edited:
It isn't really a clean fix, but I encountered a similar problem and did this inside "def pbEncounterType"
Code:
elsif pbGetTerrainTag($game_player)==PBTerrain::Beach
      return EncounterTypes::Beach
Would feel kinda unclean with seven different encounter types but that's all I could come up with for now. :)
 
Back
Top