2018-12-31 13:32:04 -08:00
|
|
|
WadePhoneCalleeScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
gettrainername STRING_BUFFER_3, BUG_CATCHER, WADE1
|
2018-12-30 14:15:52 -08:00
|
|
|
checkflag ENGINE_WADE
|
|
|
|
iftrue .WantsBattle
|
|
|
|
farscall PhoneScript_AnswerPhone_Male
|
|
|
|
checkflag ENGINE_WADE_TUESDAY_NIGHT
|
|
|
|
iftrue .NotTuesday
|
|
|
|
checkflag ENGINE_WADE_HAS_ITEM
|
|
|
|
iftrue .HasItem
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 14:15:52 -08: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 12:31:59 -07:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 14:15:52 -08:00
|
|
|
ifequal TUESDAY, .ContestToday
|
|
|
|
ifequal THURSDAY, .ContestToday
|
|
|
|
ifequal SATURDAY, .ContestToday
|
|
|
|
|
|
|
|
.NoContest:
|
2019-10-20 15:24:17 -07:00
|
|
|
farsjump WadeNoBerriesScript
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.ContestToday:
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump PhoneScript_BugCatchingContest
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.WantsBattle:
|
2019-03-10 12:31:59 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_31
|
2019-10-20 15:24:17 -07:00
|
|
|
farsjump WadeQuickBattleScript
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.HasItem:
|
2019-03-10 12:31:59 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_31
|
2019-10-20 15:24:17 -07:00
|
|
|
farsjump WadeComeQuickScript
|
2018-12-30 14:15:52 -08:00
|
|
|
|
2018-12-31 13:32:04 -08:00
|
|
|
WadePhoneCallerScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
gettrainername STRING_BUFFER_3, BUG_CATCHER, WADE1
|
2018-12-30 14:15:52 -08:00
|
|
|
farscall PhoneScript_GreetPhone_Male
|
|
|
|
farscall PhoneScript_Random2
|
|
|
|
ifequal 0, .NoContest
|
|
|
|
checkflag ENGINE_DAILY_BUG_CONTEST
|
|
|
|
iftrue .NoContest
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 14:15:52 -08:00
|
|
|
ifequal TUESDAY, .ContestToday
|
|
|
|
ifequal THURSDAY, .ContestToday
|
|
|
|
ifequal SATURDAY, .ContestToday
|
|
|
|
|
|
|
|
.NoContest:
|
|
|
|
checkflag ENGINE_WADE
|
|
|
|
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 13:39:31 -07:00
|
|
|
farsjump Phone_GenericCall_Male
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.ContestToday:
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump PhoneScript_BugCatchingContest
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
WadeTuesdayNight:
|
|
|
|
setflag ENGINE_WADE_TUESDAY_NIGHT
|
|
|
|
|
|
|
|
WadeWantsBattle2:
|
2019-03-10 12:31:59 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_31
|
2018-12-30 14:15:52 -08:00
|
|
|
setflag ENGINE_WADE
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump PhoneScript_WantsToBattle_Male
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
WadeFoundRare:
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump Phone_CheckIfUnseenRare_Male
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
WadeHasItem2:
|
|
|
|
setflag ENGINE_WADE_HAS_ITEM
|
2019-03-10 12:31:59 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_31
|
2018-12-30 14:15:52 -08: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 13:39:31 -07:00
|
|
|
sjump .FoundBerry
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.PsnCureBerry:
|
|
|
|
setevent EVENT_WADE_HAS_PSNCUREBERRY
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .FoundBerry
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.PrzCureBerry:
|
|
|
|
setevent EVENT_WADE_HAS_PRZCUREBERRY
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .FoundBerry
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.Bitterberry:
|
|
|
|
setevent EVENT_WADE_HAS_BITTER_BERRY
|
|
|
|
|
|
|
|
.FoundBerry:
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump PhoneScript_FoundItem_Male
|