- 66
- Posts
- 7
- Years
- Seen May 2, 2020
Alright, so I went into the script section Pokemon_Forms and added this code to the bottom of the script:
Problem is that Alolan Rattata will evolve into Alolan Raticate even though it's day time.
After some testing I found out that when a Pokémon evolves it retains it's form number. So in this case form 1 Rattata keeps evolving into form 1 Raticate because they are both the same form number.
So then I tried this code:
This was essentially meant to make form 1 Rattata evolve into form 0 Raticate no matter the condition but it didn't work and Raticate was still form 1.
So I've basically concluded that in some script somewhere there's a code that automatically makes a Pokémon retain it's form number on evolution.
I've tested all this in a stock version of Pokémon Essentials v17.2 and I got the same results. Thanks in advanced.
Code:
MultipleForms.register(:RATTATA,{
"getFormOnCreation"=>proc{|pokemon|
if pokemon.form==1 && PBDayNight.isNight?
next 1
else
next 0
end
}
})
After some testing I found out that when a Pokémon evolves it retains it's form number. So in this case form 1 Rattata keeps evolving into form 1 Raticate because they are both the same form number.
So then I tried this code:
Code:
MultipleForms.register(:RATTATA,{
"getFormOnCreation"=>proc{|pokemon|
if pokemon.form==1
next 0
else
next 0
end
}
})
So I've basically concluded that in some script somewhere there's a code that automatically makes a Pokémon retain it's form number on evolution.
I've tested all this in a stock version of Pokémon Essentials v17.2 and I got the same results. Thanks in advanced.