• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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 a custom form to vulpix, it doesn't show in the pokedex

  • 7
    Posts
    16
    Years
    • Seen Aug 30, 2016
    PokeBattle_Battler
    Code:
    # Vulpix
        if isConst?(self.species,PBSpecies,:VULPIX)
          if self.level>= 5
            self.form=0
          else
            self.form=1
          end
        end
    Pokemon_MultipleForms
    Code:
    MultipleForms.register(:VULPIX,{
    "onSetForm"=>proc{|pokemon,form|
       pbSeenForm(pokemon)
    },
    "getFormOnCreation"=>proc{|pokemon|
       if pokemon.level>=5
         next 0
       else
         next 1
       end
    }
    })
    Additionally not only does this new form not appear in the pokedex when given to the player, the pokedex also shows Male and Female for Vulpix despite there being no differences between the male and female Vulpix.
     
    I couldn't figure it out either but what you have to do is go into your pokemon.txt scroll to Vulplix then go to "Pokedex=It can freely control fire.......blah blah blah" create a new section under it and add whats in blue FormNames=,Alolan What this is saying is that the first forms which is FormNames=,Alolan is male and female because it's blank but the second part FormNames=,Alolan is saying that the next forms are Alolan male and female. Thats how you get it to show in the Pokedex.
     
    Actually waht i added wasnt an Alolan form (then the if pokemon.level thing wouldn't make sence) what i did was i added the baby 1 tail version
     
    Just change Alolan to something else that works for all forms the Alolan part just defines the name of the new form.
     
    A Pokémon form only appears in the Pokédex if it's listed in the FormNames property of that species in pokemon.txt. Just to clarify.
     
    Back
    Top