- 85
- Posts
- 7
- Years
- Seen Nov 24, 2023
Hey there, I found two errors regarding the 17.2 version of Pokemon Essentials.
The first one is pretty simple:The move Petal Blizzard is written to be a special attack in the PBS files, even though it should be a physical attack.
^Disregard this one.I just realised Petal Blizzard is a gen 6 move that I got from a different PBS file,so it has nothing to do with the normal Essentials version....
For the second one, however, I'm not sure if it's an actual error or it's just me misunderstanding the script, but, in the script editor, in the PokeBattle_Move folder, around the line 931, it is written so that Sandstorm raises the DEFENSE or Rock Types, even though it should raise their Special Defense.Here's how it looks:
This is how I tried to fix it,although I'm not 100% sure it worked:
Please let me know if I'm wrong.
^Disregard this one.I just realised Petal Blizzard is a gen 6 move that I got from a different PBS file,so it has nothing to do with the normal Essentials version....
For the second one, however, I'm not sure if it's an actual error or it's just me misunderstanding the script, but, in the script editor, in the PokeBattle_Move folder, around the line 931, it is written so that Sandstorm raises the DEFENSE or Rock Types, even though it should raise their Special Defense.Here's how it looks:
Code:
defense=opponent.defense
if @battle.pbWeather==PBWeather::SANDSTORM &&
opponent.pbHasType?(:ROCK) && applysandstorm
defense=(defense*1.5).round
end
This is how I tried to fix it,although I'm not 100% sure it worked:
Code:
spdef=opponent.spdef
if @battle.pbWeather==PBWeather::SANDSTORM &&
opponent.pbHasType?(:ROCK) && applysandstorm
spdef=(spdef*1.5).round
Please let me know if I'm wrong.
Last edited: