summaryrefslogtreecommitdiff
path: root/data/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts')
-rw-r--r--data/scripts/gabby_and_ty.inc2
-rw-r--r--data/scripts/maps/Route111.inc6
2 files changed, 4 insertions, 4 deletions
diff --git a/data/scripts/gabby_and_ty.inc b/data/scripts/gabby_and_ty.inc
index cad2c6a48..214c61142 100644
--- a/data/scripts/gabby_and_ty.inc
+++ b/data/scripts/gabby_and_ty.inc
@@ -1,7 +1,7 @@
Route111_EventScript_1AE313:: @ 81AE313
Route118_EventScript_1AE313:: @ 81AE313
Route120_EventScript_1AE313:: @ 81AE313
- settrainerflag OPPONENT_GABBY_AND_TY_6
+ cleartrainerflag OPPONENT_GABBY_AND_TY_6
specialvar RESULT, GabbyAndTyGetBattleNum
switch RESULT
case 0, Route111_EventScript_1AE384
diff --git a/data/scripts/maps/Route111.inc b/data/scripts/maps/Route111.inc
index 879735ece..de37c68fc 100644
--- a/data/scripts/maps/Route111.inc
+++ b/data/scripts/maps/Route111.inc
@@ -44,9 +44,9 @@ Route111_EventScript_15000D:: @ 815000D
setflag 769
setflag 770
setflag 771
- settrainerflag OPPONENT_VICTOR
- settrainerflag OPPONENT_VICTORIA
- settrainerflag OPPONENT_VIVI
+ cleartrainerflag OPPONENT_VICTOR
+ cleartrainerflag OPPONENT_VICTORIA
+ cleartrainerflag OPPONENT_VIVI
end
Route111_EventScript_150023:: @ 8150023