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:
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:
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
}
})