- 41
- Posts
- 11
- Years
- São paulo,Brazil
- Seen Jan 20, 2017
Hi, my first post in Pokecommunity, after moruno add Mega evolution all peoples ask who work this?
for this persons I give the tutorial complete!
1- The mega evolutions is only new forms for that pokemon, same arceus after use a plate item
The code is for add any mega pokemon!
Original code with coments after each line, in PokemonMultipleForms after line 755
Original:
MultipleForms.register(:VENUSAUR,{
"getMegaForm"=>proc{|pokemon|
next 1 if isConst?(pokemon.item,PBItems,:VENUSAURITE)
next
},
#Register the Venusaur, and show the item for Mega evolution(pokemon Hold that item)
"getUnmegaForm"=>proc{|pokemon|
next 0
}, #unknow
"getMegaName"=>proc{|pokemon|
next _INTL("Mega Venusaur") if pokemon.form==1
next
},
# show the name for mega evolution, used in message transformation!
"getBaseStats"=>proc{|pokemon|
next [80,102,123,100,100,120] if pokemon.form==1
next
},
# Switch the base stats original at battle
"ability"=>proc{|pokemon|
next getID(PBAbilities,:THICKFAT) if pokemon.form==1
next
},
# Swich the original ability
"weight"=>proc{|pokemon|
next 1555 if pokemon.form==1
next
},
# Show the number form used for swich the sprite Mega pokemon
"onSetForm"=>proc{|pokemon,form|
pbSeenForm(pokemon)
}
})
# Set that form
# end code
For the switch the pokemon type use that code:
"type2"=>proc{|pokemon|
next getID(PBTypes,:DRAGON) if pokemon.form==1
next
},
# Call the type (1 or 2) and the new type used
Use after stats or mega name
EDIT:
1- use the debug and active the mega ring or in script ($PokemonGlobal.megaRing=true) use for give Mega ring for more effect to game add a Key item - Mega ring
2- create a mega item Ex: 526,VENUSAURITE,Venusaurite,1,100,Mega evolution for venusaur!,0,0,0,
3- give the item to venusaur (or any pokemon with Mega evolution and your respective item)
ps: Add front and back sprite for the pokemon front ex:003_1 backsprite 003b_1 (003 is number nationaldex)
go to battle and Enjoy '-'
Sorry for my bad english, in brazil
for any error report me '-'
Thanks for all:):3c
Edit: Add a better traslation
for this persons I give the tutorial complete!
1- The mega evolutions is only new forms for that pokemon, same arceus after use a plate item
The code is for add any mega pokemon!
Original code with coments after each line, in PokemonMultipleForms after line 755
Original:
MultipleForms.register(:VENUSAUR,{
"getMegaForm"=>proc{|pokemon|
next 1 if isConst?(pokemon.item,PBItems,:VENUSAURITE)
next
},
#Register the Venusaur, and show the item for Mega evolution(pokemon Hold that item)
"getUnmegaForm"=>proc{|pokemon|
next 0
}, #unknow
"getMegaName"=>proc{|pokemon|
next _INTL("Mega Venusaur") if pokemon.form==1
next
},
# show the name for mega evolution, used in message transformation!
"getBaseStats"=>proc{|pokemon|
next [80,102,123,100,100,120] if pokemon.form==1
next
},
# Switch the base stats original at battle
"ability"=>proc{|pokemon|
next getID(PBAbilities,:THICKFAT) if pokemon.form==1
next
},
# Swich the original ability
"weight"=>proc{|pokemon|
next 1555 if pokemon.form==1
next
},
# Show the number form used for swich the sprite Mega pokemon
"onSetForm"=>proc{|pokemon,form|
pbSeenForm(pokemon)
}
})
# Set that form
# end code
For the switch the pokemon type use that code:
"type2"=>proc{|pokemon|
next getID(PBTypes,:DRAGON) if pokemon.form==1
next
},
# Call the type (1 or 2) and the new type used
Use after stats or mega name
EDIT:
1- use the debug and active the mega ring or in script ($PokemonGlobal.megaRing=true) use for give Mega ring for more effect to game add a Key item - Mega ring
2- create a mega item Ex: 526,VENUSAURITE,Venusaurite,1,100,Mega evolution for venusaur!,0,0,0,
3- give the item to venusaur (or any pokemon with Mega evolution and your respective item)
ps: Add front and back sprite for the pokemon front ex:003_1 backsprite 003b_1 (003 is number nationaldex)
go to battle and Enjoy '-'
Sorry for my bad english, in brazil
for any error report me '-'
Thanks for all:):3c
Edit: Add a better traslation
Last edited: