sonicfan7895
Just a dude, I guess
- 120
- Posts
- 14
- Years
- He/Him/His
- Akala Island, Alola
- Seen Feb 22, 2025
Hello all!
I am having trouble getting new Megas to work properly. Only two custom Megas work properly, and those would be Mega Galvantula and Mega Ariados. Those are able to Mega-Evolve in battle and revert back to their original forms after the battle. However, the other 17 that my group created don't function properly, and I have to force them into their Megas through use of the Debug Menu.
Below are the codes for one functioning custom Mega Evolution, and for one non-functioning custom Mega Evolution.
Functioning: Mega Galvantula
Non-functioning: Mega Serperior:
I don't know what could be fundamentally different with these two, and all of their Mega Stones are defined clearly in PItems_Items, lines 90-103 (for me).
If there is anything anyone can do to help, that would be greatly appreciated! Thanks!
I am having trouble getting new Megas to work properly. Only two custom Megas work properly, and those would be Mega Galvantula and Mega Ariados. Those are able to Mega-Evolve in battle and revert back to their original forms after the battle. However, the other 17 that my group created don't function properly, and I have to force them into their Megas through use of the Debug Menu.
Below are the codes for one functioning custom Mega Evolution, and for one non-functioning custom Mega Evolution.
Functioning: Mega Galvantula
Code:
MultipleForms.register(:GALVANTULA,{
"getMegaForm"=>proc{|pokemon|
next 1 if isConst?(pokemon.item,PBItems,:GALVANTULITE)
next
},
"getBaseStats"=>proc{|pokemon|
next [75,30,60,125,135,60] if pokemon.form==1
next
},
"getAbilityList"=>proc{|pokemon|
next [[getID(PBAbilities,:SHEERFORCE),0]] if pokemon.form==1
next
},
"height"=>proc{|pokemon|
next 13 if pokemon.form==1
next
},
})
Non-functioning: Mega Serperior:
Code:
MultipleForms.register(:SERPERIOR,{
"getMegaForm"=>proc{|pokemon|
next 1 if isConst?(pokemon.item.PBItems,:SERPERIORITE)
next
},
"getBaseStats"=>proc{|pokemon|
next [95,125,115,123,125,113] if pokemon.form==1
next
},
"getAbilityList"=>proc{|pokemon|
next [[getID(PBAbilities,:SERENEGRACE),0]] if pokemon.form==1
next
},
"type2"=>proc{|pokemon|
next getID(PBTypes,:DRAGON) if pokemon.form==1
next
},
})
I don't know what could be fundamentally different with these two, and all of their Mega Stones are defined clearly in PItems_Items, lines 90-103 (for me).
If there is anything anyone can do to help, that would be greatly appreciated! Thanks!