From c02a3620310da5fcd371ecd654c5701819215738 Mon Sep 17 00:00:00 2001 From: Maruno17 Date: Fri, 2 Oct 2020 20:16:01 +0100 Subject: [PATCH] Fixed bad AI for Sticky Web --- Data/Scripts/012_Battle/004_AI/005_AI_Move_EffectScores.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data/Scripts/012_Battle/004_AI/005_AI_Move_EffectScores.rb b/Data/Scripts/012_Battle/004_AI/005_AI_Move_EffectScores.rb index 7a6d9063e..f9afd1b77 100644 --- a/Data/Scripts/012_Battle/004_AI/005_AI_Move_EffectScores.rb +++ b/Data/Scripts/012_Battle/004_AI/005_AI_Move_EffectScores.rb @@ -2806,7 +2806,7 @@ class PokeBattle_AI when "152" #--------------------------------------------------------------------------- when "153" - score -= 95 if target.pbOwnSide.effects[PBEffects::StickyWeb] + score -= 95 if user.pbOpposingSide.effects[PBEffects::StickyWeb] #--------------------------------------------------------------------------- when "154" #---------------------------------------------------------------------------