From dffb5de19db35e6ed57c8ccf4b2acd315b8c2d6a Mon Sep 17 00:00:00 2001 From: Maruno17 Date: Sat, 5 Sep 2020 17:19:07 +0100 Subject: [PATCH] Fixed typo in Simple Beam's code. --- .../002_Move/005_Move_Effects_000-07F.rb | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Data/Scripts/011_Battle/002_Move/005_Move_Effects_000-07F.rb b/Data/Scripts/011_Battle/002_Move/005_Move_Effects_000-07F.rb index e8a489828..2771e3c39 100644 --- a/Data/Scripts/011_Battle/002_Move/005_Move_Effects_000-07F.rb +++ b/Data/Scripts/011_Battle/002_Move/005_Move_Effects_000-07F.rb @@ -394,11 +394,11 @@ class PokeBattle_Move_018 < PokeBattle_Move user.pbCureStatus(false) case t when PBStatuses::BURN - @battle.pbDisplay(_INTL("{1} healed its burn!",user.pbThis)) + @battle.pbDisplay(_INTL("{1} healed its burn!",user.pbThis)) when PBStatuses::POISON - @battle.pbDisplay(_INTL("{1} cured its poisoning!",user.pbThis)) + @battle.pbDisplay(_INTL("{1} cured its poisoning!",user.pbThis)) when PBStatuses::PARALYSIS - @battle.pbDisplay(_INTL("{1} cured its paralysis!",user.pbThis)) + @battle.pbDisplay(_INTL("{1} cured its paralysis!",user.pbThis)) end end end @@ -1422,7 +1422,7 @@ class PokeBattle_Move_04E < PokeBattle_TargetStatDownMove super @statDown = [PBStats::SPATK,2] end - + def pbFailsAgainstTarget?(user,target) return true if super return false if damagingMove? @@ -1442,7 +1442,7 @@ class PokeBattle_Move_04E < PokeBattle_TargetStatDownMove end return false end - + def pbAdditionalEffect(user,target) return if user.gender==2 || target.gender==2 || user.gender==target.gender return if target.hasActiveAbility?(:OBLIVIOUS) && !@battle.moldBreaker @@ -1926,7 +1926,7 @@ class PokeBattle_Move_060 < PokeBattle_Move def pbEffectGeneral(user) user.pbChangeTypes(@newType) typeName = PBTypes.getName(@newType) - @battle.pbDisplay(_INTL("{1} transformed into the {2} type!",user.pbThis,typeName)) + @battle.pbDisplay(_INTL("{1} transformed into the {2} type!",user.pbThis,typeName)) end end @@ -2001,7 +2001,7 @@ class PokeBattle_Move_063 < PokeBattle_Move @abilityBlacklist = [ :TRUANT, # This ability - :SIMPLEBEAM, + :SIMPLE, # Form-changing abilities :BATTLEBOND, :DISGUISE, @@ -2430,7 +2430,7 @@ class PokeBattle_Move_068 < PokeBattle_Move def pbEffectAgainstTarget(user,target) target.effects[PBEffects::GastroAcid] = true target.effects[PBEffects::Truant] = false - @battle.pbDisplay(_INTL("{1}'s Ability was suppressed!",target.pbThis)) + @battle.pbDisplay(_INTL("{1}'s Ability was suppressed!",target.pbThis)) target.pbOnAbilityChanged(target.ability) end end @@ -2570,7 +2570,7 @@ class PokeBattle_Move_070 < PokeBattle_FixedDamageMove @battle.pbHideAbilitySplash(target) return true end - if NEWEST_BATTLE_MECHANICS && + if NEWEST_BATTLE_MECHANICS && isConst?(target.damageState.typeMod,PBTypes,:ICE) && target.pbHasType?(:ICE) @battle.pbDisplay(_INTL("But it failed!")) return true @@ -2921,4 +2921,4 @@ class PokeBattle_Move_07F < PokeBattle_Move end return baseDmg end -end \ No newline at end of file +end