• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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

  • 281
    Posts
    16
    Years
    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