sonicfan7895
Just a dude, I guess
- 122
- Posts
- 13
- Years
- He/Him/His
- Akala Island, Alola
- Seen Jan 2, 2024
I need some help again... >:(
So with everything I've gotten to figure out so far, there is one thing that is still puzzling me to this very day, and something I'd like to get done in the development of our game.
So, in our team's game, Pokemon Zen Version, we are including Giratina as an integral part of our story, and one of the things that we changed about Giratina is how it changes into Origin Forme. Rather than using the Griseous Orb, we want it to be able to change into Origin Forme through the use of a field effect, which is only obtainable through a new ability.
Everything about the field effect (and every desired effect) has been put into the game, the only thing that's puzzling me is how to execute a change in forme using only the field effect in question, called "Distortion".
This is the code I have thus far:
This came from Pokemon_MultipleForms, lines 553-577 ending at that "next 0" line.
If this looks correct at all, and I'm just missing something, please let me know.
So with everything I've gotten to figure out so far, there is one thing that is still puzzling me to this very day, and something I'd like to get done in the development of our game.
So, in our team's game, Pokemon Zen Version, we are including Giratina as an integral part of our story, and one of the things that we changed about Giratina is how it changes into Origin Forme. Rather than using the Griseous Orb, we want it to be able to change into Origin Forme through the use of a field effect, which is only obtainable through a new ability.
Everything about the field effect (and every desired effect) has been put into the game, the only thing that's puzzling me is how to execute a change in forme using only the field effect in question, called "Distortion".
This is the code I have thus far:
Code:
MultipleForms.register(:GIRATINA,{
[...]
"getForm"=>proc{|pokemon|
maps=[49,50,51,72,73] # Map IDs for Origin Forme
if @field.effects[PBEffects::DistortionField]>=1 ||
($game_map && maps.include?($game_map.map_id))
next 1
end
next 0
This came from Pokemon_MultipleForms, lines 553-577 ending at that "next 0" line.
If this looks correct at all, and I'm just missing something, please let me know.