rigbycwts
Hmm, hmm.
- 98
- Posts
- 12
- Years
- Seen Feb 22, 2019
To avoid breaking things, set the thread to Printable Version.
This is how to implement the evolution methods used in Gen 7. This does not assume a specific fan-game version, unlike in the official games where when Rockruff evolves in Sun during the day it assumes the Midday form.
This edits the Custom evolution methods in the Pokemon_Evolution script.
For Rockruff's evolution method:
1. Change a custom method to Lycanroc. In this example I will change Custom1 to Lycanroc.
From
change to
and don't forget to change the name inside the EVONAMES array.
Again, assuming Custom1 is replaced, so be very careful here if you had defined other evolution methods on the other custom ones. And leave the EVOPARAM array for now since we only need a level.
Inside
replace:
with:
For Alolan Rattata's evolution method:
1. Assuming Custom2 is edited here, change Custom2 to Rattata:
Again, leave the EVOPARAMS. We only need a level.
2. Change the following:
to:
For Vulpix, we are going to define two evolution methods here. One method uses an item if it's an Alolan form (which can be used also for Alolan Sandshrew). The other method uses an item if it's a normal form.
1. After the Custom5 evolution method, we define the following:
2. We then edit both the EVONAMES and the EVOPARAMS array.
3. Inside the function
below the following block of code:
add the following lines of code:
Next to do: Alternate evolution methods of normal Sandshrew, and Alolan and Normal Meowth.
Note: In Alola, all Pikachu and Exeggcute evolve into their Alolan formed evolutions regardless of origin. I might indicate specific maps that allow them to evolve to their variant evolutions in the future.
This is how to implement the evolution methods used in Gen 7. This does not assume a specific fan-game version, unlike in the official games where when Rockruff evolves in Sun during the day it assumes the Midday form.
This edits the Custom evolution methods in the Pokemon_Evolution script.
For Rockruff's evolution method:
Spoiler:
1. Change a custom method to Lycanroc. In this example I will change Custom1 to Lycanroc.
From
Code:
Custom1 = 31
Code:
Lycanroc = 31
Code:
EVONAMES=["Unknown",
"Happiness","HappinessDay","HappinessNight","Level","Trade",
"TradeItem","Item","AttackGreater","AtkDefEqual","DefenseGreater",
"Silcoon","Cascoon","Ninjask","Shedinja","Beauty",
"ItemMale","ItemFemale","DayHoldItem","NightHoldItem","HasMove",
"HasInParty","LevelMale","LevelFemale","Location","TradeSpecies",
"LevelDay","LevelNight","LevelDarkInParty","LevelRain","HappinessMoveType",
"Lycanroc","Custom2","Custom3","Custom4","Custom5"
]
Inside
Code:
def pbMiniCheckEvolution(pokemon,evonib,level,poke)
Code:
when PBEvolution::Custom1
# Add code for custom evolution type 1
Code:
when PBEvolution::Lycanroc
if PBDayNight.isNight?
pokemon.form=1
return poke if pokemon.level>=level && PBDayNight.isNight?
end
return poke if pokemon.level>=level && PBDayNight.isDay?
For Alolan Rattata's evolution method:
Spoiler:
1. Assuming Custom2 is edited here, change Custom2 to Rattata:
Code:
Rattata = 32
Code:
EVONAMES=["Unknown",
"Happiness","HappinessDay","HappinessNight","Level","Trade",
"TradeItem","Item","AttackGreater","AtkDefEqual","DefenseGreater",
"Silcoon","Cascoon","Ninjask","Shedinja","Beauty",
"ItemMale","ItemFemale","DayHoldItem","NightHoldItem","HasMove",
"HasInParty","LevelMale","LevelFemale","Location","TradeSpecies",
"LevelDay","LevelNight","LevelDarkInParty","LevelRain","HappinessMoveType",
"Lycanroc",[COLOR=Red]"Rattata"[/COLOR],"Custom3","Custom4","Custom5"
]
2. Change the following:
Code:
when PBEvolution::Custom2
# Add code for custom evolution type 2
Code:
when PBEvolution::Rattata
if pokemon.form==1 # Alolan Rattata
return poke if pokemon.level>=level && PBDayNight.isNight?
end
return poke if pokemon.level>=level # Normal Rattata
For Vulpix, we are going to define two evolution methods here. One method uses an item if it's an Alolan form (which can be used also for Alolan Sandshrew). The other method uses an item if it's a normal form.
Spoiler:
1. After the Custom5 evolution method, we define the following:
Code:
ItemAlolan = 36
ItemNonAlolan = 37
Code:
EVONAMES=["Unknown",
"Happiness","HappinessDay","HappinessNight","Level","Trade",
"TradeItem","Item","AttackGreater","AtkDefEqual","DefenseGreater",
"Silcoon","Cascoon","Ninjask","Shedinja","Beauty",
"ItemMale","ItemFemale","DayHoldItem","NightHoldItem","HasMove",
"HasInParty","LevelMale","LevelFemale","Location","TradeSpecies",
"LevelDay","LevelNight","LevelDarkInParty","LevelRain","HappinessMoveType",
"Lycanroc","Rattata","Custom3","Custom4","Custom5","ItemAlolan",
"ItemNonAlolan"
]
# 0 = no parameter
# 1 = Positive integer
# 2 = Item internal name
# 3 = Move internal name
# 4 = Species internal name
# 5 = Type internal name
EVOPARAM=[0, # Unknown (do not use)
0,0,0,1,0, # Happiness, HappinessDay, HappinessNight, Level, Trade
2,2,1,1,1, # TradeItem, Item, AttackGreater, AtkDefEqual, DefenseGreater
1,1,1,1,1, # Silcoon, Cascoon, Ninjask, Shedinja, Beauty
2,2,2,2,3, # ItemMale, ItemFemale, DayHoldItem, NightHoldItem, HasMove
4,1,1,1,4, # HasInParty, LevelMale, LevelFemale, Location, TradeSpecies
1,1,1,1,5, # LevelDay, LevelNight, LevelDarkInParty, LevelRain, HappinessMoveType
1,1,1,1,1, # Lycanroc, Rattata, Custom 3-5
2,2 # ItemAlolan, ItemNonAlolan
]
Code:
def pbMiniCheckEvolutionItem(pokemon,evonib,level,poke,item)
Code:
when PBEvolution::ItemFemale
return poke if level==item && pokemon.isFemale?
Code:
when PBEvolution::ItemAlolan
return poke if level==item && pokemon.form==1
when PBEvolution::ItemNonAlolan
return poke if level==item && pokemon.form==0
Note: In Alola, all Pikachu and Exeggcute evolve into their Alolan formed evolutions regardless of origin. I might indicate specific maps that allow them to evolve to their variant evolutions in the future.
Last edited: