I wonder how to make the game run without PBS files as I don't want players to touch any PBS files. But when I delete the PBS folder and run the game out of debug mode it crashes.
No such file or directory @ rb_sysopen - PBS/innate_sets.txt
[Innate Abilities] Innate Abilities - InnateSets...
And change Bad Dream's ability effect codes to this to hide ability splash.
Battle::AbilityEffects::EndOfRoundEffect.add(:BADDREAMS,
proc { |ability, battler, battle|
battle.allOtherSideBattlers(battler.index).each do |b|
next if battle.pbCheckOpposingAbility(:SWEETDREAMS)
next...
I am battling with a pokemon having :INDIRECT immunity. I put it to sleep and when Bad Dr4eams is triggered this happens. I can'f find any solution.
Exception: ArgumentError
Message: wrong number of arguments (given 2, expected 1)
Backtrace:
Battle:815:in `pbDisplay'
[Deluxe Battle Kit] [004]...
There is a little mistake in [000] Ability Handlers.rb at line 416.
@battle.pbDisplay(_INTL("{1}'s Ability is protected by the effects of its {2}!",b.pbThis,itemname))
# The @ should be deleted otherwise it will cause the game crash.
Oh, another problem that has always existed in Essentials.
Toxel's form handler is also incorrect. Original code made all Toxel evolve to Amped Form(form 0).
It should be like this.
MultipleForms.register(:TOXEL, {
"getForm" => proc { |pkmn|
next 1 if [:LONELY, :BOLD, :RELAXED, :TIMID...