2018-12-31 13:32:04 -08:00
|
|
|
ToddPhoneCalleeScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
gettrainername STRING_BUFFER_3, CAMPER, TODD1
|
2018-12-30 14:15:52 -08:00
|
|
|
checkflag ENGINE_TODD
|
|
|
|
iftrue .WantsBattle
|
|
|
|
farscall PhoneScript_AnswerPhone_Male
|
|
|
|
checkflag ENGINE_TODD_SATURDAY_MORNING
|
|
|
|
iftrue .NotSaturday
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 14:15:52 -08:00
|
|
|
ifnotequal SATURDAY, .NotSaturday
|
|
|
|
checktime MORN
|
|
|
|
iftrue ToddSaturdayMorning
|
|
|
|
|
|
|
|
.NotSaturday:
|
|
|
|
checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
|
|
|
|
iftrue .SaleOn
|
2019-10-20 15:24:17 -07:00
|
|
|
farsjump ToddNoItemScript
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.WantsBattle:
|
2019-03-10 12:31:59 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_34
|
2019-10-20 15:24:17 -07:00
|
|
|
farsjump ToddForwardScript
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.SaleOn:
|
2019-10-20 15:24:17 -07:00
|
|
|
farsjump ToddHurryScript
|
2018-12-30 14:15:52 -08:00
|
|
|
|
2018-12-31 13:32:04 -08:00
|
|
|
ToddPhoneCallerScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
gettrainername STRING_BUFFER_3, CAMPER, TODD1
|
2018-12-30 14:15:52 -08: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 13:39:31 -07:00
|
|
|
farsjump Phone_GenericCall_Male
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
ToddSaturdayMorning:
|
|
|
|
setflag ENGINE_TODD_SATURDAY_MORNING
|
|
|
|
|
|
|
|
ToddWantsBattle:
|
2019-03-10 12:31:59 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_34
|
2018-12-30 14:15:52 -08:00
|
|
|
setflag ENGINE_TODD
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump PhoneScript_WantsToBattle_Male
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
ToddFoundRare:
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump Phone_CheckIfUnseenRare_Male
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
ToddDeptStoreSale:
|
|
|
|
setflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
|
2019-10-20 15:24:17 -07:00
|
|
|
farsjump ToddItemScript
|