2018-12-31 21:32:04 +00:00
|
|
|
WiltonPhoneCalleeScript:
|
2019-03-10 19:31:59 +00:00
|
|
|
gettrainername STRING_BUFFER_3, FISHER, WILTON1
|
2018-12-30 22:15:52 +00:00
|
|
|
checkflag ENGINE_WILTON
|
|
|
|
iftrue .WantsBattle
|
|
|
|
farscall PhoneScript_AnswerPhone_Male
|
|
|
|
checkflag ENGINE_WILTON_THURSDAY_MORNING
|
|
|
|
iftrue .NotThursday
|
|
|
|
checkflag ENGINE_WILTON_HAS_ITEM
|
|
|
|
iftrue .HasItem
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 22:15:52 +00:00
|
|
|
ifnotequal THURSDAY, .NotThursday
|
|
|
|
checktime MORN
|
|
|
|
iftrue WiltonThursdayMorning
|
|
|
|
|
|
|
|
.NotThursday:
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump WiltonHaventFoundAnything
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.WantsBattle:
|
2019-03-10 19:31:59 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_44
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump WiltonNotBiting
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.HasItem:
|
2019-03-10 19:31:59 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_44
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump WiltonWantThis
|
2018-12-30 22:15:52 +00:00
|
|
|
|
2018-12-31 21:32:04 +00:00
|
|
|
WiltonPhoneCallerScript:
|
2019-03-10 19:31:59 +00:00
|
|
|
gettrainername STRING_BUFFER_3, FISHER, WILTON1
|
2018-12-30 22:15:52 +00:00
|
|
|
farscall PhoneScript_GreetPhone_Male
|
|
|
|
checkflag ENGINE_WILTON
|
|
|
|
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 20:39:31 +00:00
|
|
|
farsjump Phone_GenericCall_Male
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
WiltonThursdayMorning:
|
|
|
|
setflag ENGINE_WILTON_THURSDAY_MORNING
|
|
|
|
|
|
|
|
WiltonWantsBattle:
|
2019-03-10 19:31:59 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_44
|
2018-12-30 22:15:52 +00:00
|
|
|
setflag ENGINE_WILTON
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump PhoneScript_WantsToBattle_Male
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
WiltonHasItem:
|
|
|
|
setflag ENGINE_WILTON_HAS_ITEM
|
2019-03-10 19:31:59 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_44
|
2018-12-30 22:15:52 +00: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 20:39:31 +00:00
|
|
|
sjump .PokeBall
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.UltraBall:
|
|
|
|
setevent EVENT_WILTON_HAS_ULTRA_BALL
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .FoundItem
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.GreatBall:
|
|
|
|
setevent EVENT_WILTON_HAS_GREAT_BALL
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .FoundItem
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.PokeBall:
|
|
|
|
setevent EVENT_WILTON_HAS_POKE_BALL
|
|
|
|
|
|
|
|
.FoundItem:
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump PhoneScript_FoundItem_Male
|