2018-12-31 21:32:04 +00:00
|
|
|
ToddPhoneCalleeScript:
|
2019-03-10 19:31:59 +00:00
|
|
|
gettrainername STRING_BUFFER_3, CAMPER, TODD1
|
2018-12-30 22:15:52 +00:00
|
|
|
checkflag ENGINE_TODD
|
|
|
|
iftrue .WantsBattle
|
|
|
|
farscall PhoneScript_AnswerPhone_Male
|
|
|
|
checkflag ENGINE_TODD_SATURDAY_MORNING
|
|
|
|
iftrue .NotSaturday
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 22:15:52 +00:00
|
|
|
ifnotequal SATURDAY, .NotSaturday
|
|
|
|
checktime MORN
|
|
|
|
iftrue ToddSaturdayMorning
|
|
|
|
|
|
|
|
.NotSaturday:
|
|
|
|
checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
|
|
|
|
iftrue .SaleOn
|
2019-10-20 22:24:17 +00:00
|
|
|
farsjump ToddNoItemScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.WantsBattle:
|
2020-03-15 21:26:10 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_34
|
2019-10-20 22:24:17 +00:00
|
|
|
farsjump ToddForwardScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.SaleOn:
|
2019-10-20 22:24:17 +00:00
|
|
|
farsjump ToddHurryScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
2018-12-31 21:32:04 +00:00
|
|
|
ToddPhoneCallerScript:
|
2019-03-10 19:31:59 +00:00
|
|
|
gettrainername STRING_BUFFER_3, CAMPER, TODD1
|
2018-12-30 22:15:52 +00:00
|
|
|
farscall PhoneScript_GreetPhone_Male
|
|
|
|
checkflag ENGINE_TODD
|
|
|
|
iftrue .TryForSale
|
|
|
|
checkflag ENGINE_TODD_SATURDAY_MORNING
|
|
|
|
iftrue .TryForSale
|
|
|
|
checkflag ENGINE_FLYPOINT_GOLDENROD
|
|
|
|
iffalse .NoGoldenrod
|
|
|
|
farscall PhoneScript_Random2
|
|
|
|
ifequal 0, ToddWantsBattle
|
|
|
|
|
|
|
|
.TryForSale:
|
|
|
|
farscall PhoneScript_Random2
|
|
|
|
ifequal 0, ToddDeptStoreSale
|
|
|
|
|
|
|
|
.NoGoldenrod:
|
|
|
|
farscall PhoneScript_Random3
|
|
|
|
ifequal 0, ToddFoundRare
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump Phone_GenericCall_Male
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
ToddSaturdayMorning:
|
|
|
|
setflag ENGINE_TODD_SATURDAY_MORNING
|
|
|
|
|
|
|
|
ToddWantsBattle:
|
2020-03-15 21:26:10 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_34
|
2018-12-30 22:15:52 +00:00
|
|
|
setflag ENGINE_TODD
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump PhoneScript_WantsToBattle_Male
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
ToddFoundRare:
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump Phone_CheckIfUnseenRare_Male
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
ToddDeptStoreSale:
|
|
|
|
setflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
|
2019-10-20 22:24:17 +00:00
|
|
|
farsjump ToddItemScript
|