KokoNekoGirl
𝕂𝕠𝕜𝕠𝕋𝕙? ???ℕ𝕖𝕜𝕠𝔾? ?𝕣𝕝
- 6
- Posts
- 6
- Years
- she/her
- Seen Oct 5, 2020
So I'm new to scripting (I only rlly have experience with bits of java with my computer programing class) so i tried to find tutorials to help me. I want to add two evolution ways: one by levelling up a pokemon during a sandstorm (Named Dusteon), and one by having a pokemon level up while holding a specific held item (many more eeveelutions). I followed one tutorial, and I went over to the Pokemon_Evolution scripting and changed custom 1 and custom 2 to:
LevelSandstorm = 31
HoldItem = 32
I then scrolled down and changed values, this is what it looked like:
1,2,1,1,1 # LevelSandstorm, HoldItem, Custom 2-5
I scrolled further down and wrote this code (where it told me to put it):
when PBEvolution::LevelSandstorm
if pokemon.level>=level
if $game_screen && (PBFieldWeather==PBFieldWeather::Sandstorm || PBWeather==PBWeather::SANDSTORM);
when PBEvolution::HoldItem
if ((pokemon.item==level) &&((isConst?(pokemon.species,PBSpecies,:IGNEON)) || (isConst?(pokemon.species,PBSpecies,:AIREON))|| (isConst?(pokemon.species,PBSpecies,:CORRUPTEON))|| (isConst?(pokemon.species,PBSpecies,:MARBELLEON)) || (isConst?(pokemon.species,PBSpecies,:BERYLLEON)));
I even added this part a bit lower just to be sure:
when PBEvolution::HoldItem
return poke if level==item && ((isConst?(pokemon.species,PBSpecies,:IGNEON) || (isConst?(pokemon.species,PBSpecies,:AIREON)|| (isConst?(pokemon.species,PBSpecies,:CORRUPTEON)|| (isConst?(pokemon.species,PBSpecies,:MARBELLEON) || (isConst?(pokemon.species,PBSpecies,:BERYLLEON)));
However, I keep getting script errors. The program we use in class specifies what is wrong with the code (ie: Unknown variables, incorrect use of data types, etc), however idk exactly what script errors mean? I don't even know what these variables or commands mean ;w; Can somemone help me through this?
LevelSandstorm = 31
HoldItem = 32
I then scrolled down and changed values, this is what it looked like:
1,2,1,1,1 # LevelSandstorm, HoldItem, Custom 2-5
I scrolled further down and wrote this code (where it told me to put it):
when PBEvolution::LevelSandstorm
if pokemon.level>=level
if $game_screen && (PBFieldWeather==PBFieldWeather::Sandstorm || PBWeather==PBWeather::SANDSTORM);
when PBEvolution::HoldItem
if ((pokemon.item==level) &&((isConst?(pokemon.species,PBSpecies,:IGNEON)) || (isConst?(pokemon.species,PBSpecies,:AIREON))|| (isConst?(pokemon.species,PBSpecies,:CORRUPTEON))|| (isConst?(pokemon.species,PBSpecies,:MARBELLEON)) || (isConst?(pokemon.species,PBSpecies,:BERYLLEON)));
I even added this part a bit lower just to be sure:
when PBEvolution::HoldItem
return poke if level==item && ((isConst?(pokemon.species,PBSpecies,:IGNEON) || (isConst?(pokemon.species,PBSpecies,:AIREON)|| (isConst?(pokemon.species,PBSpecies,:CORRUPTEON)|| (isConst?(pokemon.species,PBSpecies,:MARBELLEON) || (isConst?(pokemon.species,PBSpecies,:BERYLLEON)));
However, I keep getting script errors. The program we use in class specifies what is wrong with the code (ie: Unknown variables, incorrect use of data types, etc), however idk exactly what script errors mean? I don't even know what these variables or commands mean ;w; Can somemone help me through this?