• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Congratulations to all of the game jam participants! 🥳 The winners have all been decided and announced.
    If you haven't yet, check out the entries for Eevee Expo's Game Jam here!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!

Pokemon forms problem

Harurum

Novice
Member
Joined
Jan 15, 2020
Posts
11
I defined Dialga and Palkia Origin form in PSB pokemon_forms and FormHandles (coping Giratina) but their stats are from regular Dialga and Palkia not the Origin form.
I hope someone can help me please.
I'm working in Pokemon Essentials v20.1
 
You've got some good info in there, but not quite enough. I'm assuming you copied this from FormHandles?

Ruby:
Expand Collapse Copy
MultipleForms.register(:GIRATINA, {
  "getForm" => proc { |pkmn|
    next 1 if pkmn.hasItem?(:GRISEOUSORB)
    if $game_map &&
       GameData::MapMetadata.get($game_map.map_id)&.has_flag?("DistortionWorld")
      next 1
    end
    next 0
  }
})

That said, would you might posting:
1. The Dialga + Palkia info you put into pokemon_forms
2. The Dialga + Palkia info you put into FormHandles?
3. Are the sprites to these new forms changing at all? So, are they changing into the new forms and not having the stats change, or are they just not changing and have the same stats?
 
Yes I have the Origin forms sprites in the their corresponding folders, they change their forms into Origin Form but their stats continue being the same from the regular forms.

pokemon_forms:

#-------------------------------
[DIALGA,1]
FormName = Origin Form
BaseStats = 100,100,120,90,150,120
Height = 7.0
Weight = 848.7
Pokedex = Radiant light caused Dialga to take on a form bearing a striking resemblance to the creator Pokémon. Dialga now wields such colossal strength that one must conclude this is its true form.
#-------------------------------
[PALKIA,1]
FormName = Origin Form
BaseStats = 90,100,100,120,150,120
Height = 6.3
Weight = 659.0
Pokedex = It soars across the sky in a form that greatly resembles the creator of all things. Perhaps this imitation of appearance is Palkia's strategy for gaining Arceus's powers.
#-------------------------------

FormHandles:
Code:
Expand Collapse Copy
MultipleForms.register(:DIALGA, {
  "getForm" => proc { |pkmn|
    next 1 if pkmn.hasItem?(:ADAMANTCRYSTAL)
    next 0
  }
})

MultipleForms.register(:PALKIA, {
  "getForm" => proc { |pkmn|
    next 1 if pkmn.hasItem?(:LUSTROUSGLOBE)
    next 0
  }
})
 
Back
Top