2018-12-31 21:32:04 +00:00
|
|
|
WadePhoneCalleeScript:
|
2019-03-10 19:31:59 +00:00
|
|
|
gettrainername STRING_BUFFER_3, BUG_CATCHER, WADE1
|
2020-06-16 18:11:49 +00:00
|
|
|
checkflag ENGINE_WADE_READY_FOR_REMATCH
|
2018-12-30 22:15:52 +00:00
|
|
|
iftrue .WantsBattle
|
|
|
|
farscall PhoneScript_AnswerPhone_Male
|
|
|
|
checkflag ENGINE_WADE_TUESDAY_NIGHT
|
|
|
|
iftrue .NotTuesday
|
|
|
|
checkflag ENGINE_WADE_HAS_ITEM
|
|
|
|
iftrue .HasItem
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 22:15:52 +00:00
|
|
|
ifnotequal TUESDAY, .NotTuesday
|
|
|
|
checktime NITE
|
|
|
|
iftrue WadeTuesdayNight
|
|
|
|
|
|
|
|
.NotTuesday:
|
|
|
|
farscall PhoneScript_Random2
|
|
|
|
ifequal 0, .NoContest
|
|
|
|
checkflag ENGINE_DAILY_BUG_CONTEST
|
|
|
|
iftrue .NoContest
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 22:15:52 +00:00
|
|
|
ifequal TUESDAY, .ContestToday
|
|
|
|
ifequal THURSDAY, .ContestToday
|
|
|
|
ifequal SATURDAY, .ContestToday
|
|
|
|
|
|
|
|
.NoContest:
|
2019-10-20 22:24:17 +00:00
|
|
|
farsjump WadeNoBerriesScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.ContestToday:
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump PhoneScript_BugCatchingContest
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.WantsBattle:
|
2020-03-15 21:26:10 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_31
|
2019-10-20 22:24:17 +00:00
|
|
|
farsjump WadeQuickBattleScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.HasItem:
|
2020-03-15 21:26:10 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_31
|
2019-10-20 22:24:17 +00:00
|
|
|
farsjump WadeComeQuickScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
2018-12-31 21:32:04 +00:00
|
|
|
WadePhoneCallerScript:
|
2019-03-10 19:31:59 +00:00
|
|
|
gettrainername STRING_BUFFER_3, BUG_CATCHER, WADE1
|
2018-12-30 22:15:52 +00:00
|
|
|
farscall PhoneScript_GreetPhone_Male
|
|
|
|
farscall PhoneScript_Random2
|
|
|
|
ifequal 0, .NoContest
|
|
|
|
checkflag ENGINE_DAILY_BUG_CONTEST
|
|
|
|
iftrue .NoContest
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 22:15:52 +00:00
|
|
|
ifequal TUESDAY, .ContestToday
|
|
|
|
ifequal THURSDAY, .ContestToday
|
|
|
|
ifequal SATURDAY, .ContestToday
|
|
|
|
|
|
|
|
.NoContest:
|
2020-06-16 18:11:49 +00:00
|
|
|
checkflag ENGINE_WADE_READY_FOR_REMATCH
|
2018-12-30 22:15:52 +00:00
|
|
|
iftrue .next
|
|
|
|
checkflag ENGINE_WADE_TUESDAY_NIGHT
|
|
|
|
iftrue .next
|
|
|
|
checkflag ENGINE_WADE_HAS_ITEM
|
|
|
|
iftrue .next
|
|
|
|
farscall PhoneScript_Random2
|
|
|
|
ifequal 0, WadeHasItem2
|
|
|
|
checkflag ENGINE_FLYPOINT_GOLDENROD
|
|
|
|
iffalse .next
|
|
|
|
farscall PhoneScript_Random2
|
|
|
|
ifequal 0, WadeWantsBattle2
|
|
|
|
|
|
|
|
.next:
|
|
|
|
farscall PhoneScript_Random3
|
|
|
|
ifequal 0, WadeFoundRare
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump Phone_GenericCall_Male
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.ContestToday:
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump PhoneScript_BugCatchingContest
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
WadeTuesdayNight:
|
|
|
|
setflag ENGINE_WADE_TUESDAY_NIGHT
|
|
|
|
|
|
|
|
WadeWantsBattle2:
|
2020-03-15 21:26:10 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_31
|
2020-06-16 18:11:49 +00:00
|
|
|
setflag ENGINE_WADE_READY_FOR_REMATCH
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump PhoneScript_WantsToBattle_Male
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
WadeFoundRare:
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump Phone_CheckIfUnseenRare_Male
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
WadeHasItem2:
|
|
|
|
setflag ENGINE_WADE_HAS_ITEM
|
2020-03-15 21:26:10 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_31
|
2018-12-30 22:15:52 +00:00
|
|
|
clearevent EVENT_WADE_HAS_BERRY
|
|
|
|
clearevent EVENT_WADE_HAS_PSNCUREBERRY
|
|
|
|
clearevent EVENT_WADE_HAS_PRZCUREBERRY
|
|
|
|
clearevent EVENT_WADE_HAS_BITTER_BERRY
|
|
|
|
random 4
|
|
|
|
ifequal 0, .Berry
|
|
|
|
ifequal 1, .PsnCureBerry
|
|
|
|
ifequal 2, .PrzCureBerry
|
|
|
|
ifequal 3, .Bitterberry
|
|
|
|
|
|
|
|
.Berry:
|
|
|
|
setevent EVENT_WADE_HAS_BERRY
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .FoundBerry
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.PsnCureBerry:
|
|
|
|
setevent EVENT_WADE_HAS_PSNCUREBERRY
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .FoundBerry
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.PrzCureBerry:
|
|
|
|
setevent EVENT_WADE_HAS_PRZCUREBERRY
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .FoundBerry
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.Bitterberry:
|
|
|
|
setevent EVENT_WADE_HAS_BITTER_BERRY
|
|
|
|
|
|
|
|
.FoundBerry:
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump PhoneScript_FoundItem_Male
|