• 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.

Flab?b? Form changes after battle

ShinxHero

Main Director of Pokémon VSLP
  • 59
    Posts
    9
    Years
    Flabébé Form changes after battle

    Okay, so yes, I tried everything I could as first, starting from looking at the scripts to the PBS files, but it still doesn't work. So here's my question:

    "How do you make Flabébé/Floette/Florges stay in its form when you catch it?"

    For example, I set a Flabébé in Route 2, however, when I caught with a Flabébé of a different color other than red and then battled with it, after that battle, that Blue/Orange/Yellow/etc. Flabébé always turned back to red. Is there any way to fix this situation?
     
    Have you tried editing the pokemon with an encounter modifier putting poke.form=1(or 2, or 3 etc)?
     
    I think I found a working solution (notify to me every possible bug). First of all, in the Pokemon_MultiForms Script Section, under attr_accessor(:formTime), add this:

    Code:
    attr_accessor(:formColour)

    Subsequently, in the function def initialize (*args), You have to replace the variable
    f=MultipleForms.call("getFormOnCreation",self) with this:

    Code:
    f=self.formColour!=nil ? self.formColour : MultipleForms.call("getFormOnCreation",self)

    Then, into the call of the MultipleForms.register(:FLABEBE, { Module, replace the entire block with this:

    Code:
    MultipleForms.register(:FLABEBE,{
    "getFormOnCreation"=>proc{|pokemon|
        pokemon.formColour=rand(5) if !pokemon.formColour
        next pokemon.formColour
    },
    })

    The previous code block must be copied to any other Pokémon that have the same problem.

    Finally, in the function def pbStorePokemon(Pokemon), contained within the PokeBattle_BattleCommon Module, in the PokeBattle_Battle Script Section, before [email protected](), add this:

    Code:
    pokemon.form=pokemon.formColour if pokemon.formColour!=nil
     
    This bug applies to any Pokémon with an alternate form. It's caused by a mistake in def makeUnmega. Replace the second line of code in it with: self.form=v if v!=nil

    The same goes for def makeUnprimal.

    Isn't that easier?
     
    This bug applies to any Pokémon with an alternate form. It's caused by a mistake in def makeUnmega. Replace the second line of code in it with: self.form=v if v!=nil

    The same goes for def makeUnprimal.

    Isn't that easier?
    Of course it's a lot more easier, but I hadn't noticed that mistake. Thank you!
     
    Back
    Top