2018-12-31 13:32:04 -08:00
|
|
|
WiltonPhoneCalleeScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
gettrainername STRING_BUFFER_3, FISHER, WILTON1
|
2020-06-16 11:11:49 -07:00
|
|
|
checkflag ENGINE_WILTON_READY_FOR_REMATCH
|
2018-12-30 14:15:52 -08:00
|
|
|
iftrue .WantsBattle
|
|
|
|
farscall PhoneScript_AnswerPhone_Male
|
|
|
|
checkflag ENGINE_WILTON_THURSDAY_MORNING
|
|
|
|
iftrue .NotThursday
|
|
|
|
checkflag ENGINE_WILTON_HAS_ITEM
|
|
|
|
iftrue .HasItem
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 14:15:52 -08:00
|
|
|
ifnotequal THURSDAY, .NotThursday
|
|
|
|
checktime MORN
|
|
|
|
iftrue WiltonThursdayMorning
|
|
|
|
|
|
|
|
.NotThursday:
|
2019-10-20 15:24:17 -07:00
|
|
|
farsjump WiltonHaventFoundAnythingScript
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.WantsBattle:
|
2020-03-15 14:26:10 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_44
|
2019-10-20 15:24:17 -07:00
|
|
|
farsjump WiltonNotBitingScript
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.HasItem:
|
2020-03-15 14:26:10 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_44
|
2019-10-20 15:24:17 -07:00
|
|
|
farsjump WiltonWantThisScript
|
2018-12-30 14:15:52 -08:00
|
|
|
|
2018-12-31 13:32:04 -08:00
|
|
|
WiltonPhoneCallerScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
gettrainername STRING_BUFFER_3, FISHER, WILTON1
|
2018-12-30 14:15:52 -08:00
|
|
|
farscall PhoneScript_GreetPhone_Male
|
2020-06-16 11:11:49 -07:00
|
|
|
checkflag ENGINE_WILTON_READY_FOR_REMATCH
|
2018-12-30 14:15:52 -08:00
|
|
|
iftrue .GenericCall
|
|
|
|
checkflag ENGINE_WILTON_THURSDAY_MORNING
|
|
|
|
iftrue .GenericCall
|
|
|
|
checkflag ENGINE_WILTON_HAS_ITEM
|
|
|
|
iftrue .GenericCall
|
|
|
|
farscall PhoneScript_Random2
|
|
|
|
ifequal 0, WiltonWantsBattle
|
|
|
|
farscall PhoneScript_Random2
|
|
|
|
ifequal 0, WiltonHasItem
|
|
|
|
|
|
|
|
.GenericCall:
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump Phone_GenericCall_Male
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
WiltonThursdayMorning:
|
|
|
|
setflag ENGINE_WILTON_THURSDAY_MORNING
|
|
|
|
|
|
|
|
WiltonWantsBattle:
|
2020-03-15 14:26:10 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_44
|
2020-06-16 11:11:49 -07:00
|
|
|
setflag ENGINE_WILTON_READY_FOR_REMATCH
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump PhoneScript_WantsToBattle_Male
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
WiltonHasItem:
|
|
|
|
setflag ENGINE_WILTON_HAS_ITEM
|
2020-03-15 14:26:10 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_44
|
2018-12-30 14:15:52 -08:00
|
|
|
clearevent EVENT_WILTON_HAS_ULTRA_BALL
|
|
|
|
clearevent EVENT_WILTON_HAS_GREAT_BALL
|
|
|
|
clearevent EVENT_WILTON_HAS_POKE_BALL
|
|
|
|
random 5
|
|
|
|
ifequal 0, .UltraBall
|
|
|
|
random 3
|
|
|
|
ifequal 0, .GreatBall
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .PokeBall
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.UltraBall:
|
|
|
|
setevent EVENT_WILTON_HAS_ULTRA_BALL
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .FoundItem
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.GreatBall:
|
|
|
|
setevent EVENT_WILTON_HAS_GREAT_BALL
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .FoundItem
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.PokeBall:
|
|
|
|
setevent EVENT_WILTON_HAS_POKE_BALL
|
|
|
|
|
|
|
|
.FoundItem:
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump PhoneScript_FoundItem_Male
|