- 4
- Posts
- 10
- Years
- Seen Feb 17, 2017
Hi guys, I'm very new here so if this is in the wrong place please say.
I'm trying to figure out how to combine holding an item and being over a certain level to evolve.
For example I don't have trading in my little game but I want to be able to evolve Porygon and Porygon2 when I want.
What I tried:
The class and evonames
Looked like item things went there so i tried to add it
the code for custom evolution
How i tried to save it in pokemon.txt
Basically I tried and failed, am I somewhere near the right track?
I'm trying to figure out how to combine holding an item and being over a certain level to evolve.
For example I don't have trading in my little game but I want to be able to evolve Porygon and Porygon2 when I want.
What I tried:
Code:
LevelItem = 26
"LevelItem","Custom2","Custom3","Custom4","Custom5","Custom6","Custom7"
2,1,1,1,1,1,1 # Custom 1-7
Code:
elsif evonib==PBEvolution::TradeItem ||
evonib==PBEvolution::DayHoldItem ||
evonib==PBEvolution::NightHoldItem
evonib==PBEvolution::LevelItem
if poke==@newspecies
removeItem=true # Item is now consumed
end
Code:
when PBEvolution::LevelItem
# Add code for custom evolution type 1
return poke if pokemon.level>=level && pokemon.item==level
Code:
Evolutions=PORYGON2,LevelItem,20,UPGRADE
Basically I tried and failed, am I somewhere near the right track?