2018-12-31 13:32:04 -08:00
|
|
|
AlanPhoneCalleeScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
gettrainername STRING_BUFFER_3, SCHOOLBOY, ALAN1
|
2018-12-30 14:15:52 -08:00
|
|
|
checkflag ENGINE_ALAN
|
|
|
|
iftrue .WantsBattle
|
|
|
|
farscall PhoneScript_AnswerPhone_Male
|
|
|
|
checkflag ENGINE_ALAN_WEDNESDAY_AFTERNOON
|
|
|
|
iftrue .NotWednesday
|
|
|
|
checkflag ENGINE_ALAN_HAS_FIRE_STONE
|
|
|
|
iftrue .FireStone
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 14:15:52 -08:00
|
|
|
ifnotequal WEDNESDAY, .NotWednesday
|
|
|
|
checktime DAY
|
|
|
|
iftrue AlanWednesdayDay
|
|
|
|
|
|
|
|
.NotWednesday:
|
2019-10-20 15:24:17 -07:00
|
|
|
farsjump AlanHangUpScript
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.WantsBattle:
|
2020-03-15 14:26:10 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_36
|
2019-10-20 15:24:17 -07:00
|
|
|
farsjump AlanReminderScript
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
.FireStone:
|
2020-03-15 14:26:10 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_36
|
2019-10-20 15:24:17 -07:00
|
|
|
farsjump AlanComePickUpScript
|
2018-12-30 14:15:52 -08:00
|
|
|
|
2018-12-31 13:32:04 -08:00
|
|
|
AlanPhoneCallerScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
gettrainername STRING_BUFFER_3, SCHOOLBOY, ALAN1
|
2018-12-30 14:15:52 -08:00
|
|
|
farscall PhoneScript_GreetPhone_Male
|
|
|
|
checkflag ENGINE_ALAN
|
|
|
|
iftrue .Generic
|
|
|
|
checkflag ENGINE_ALAN_WEDNESDAY_AFTERNOON
|
|
|
|
iftrue .Generic
|
|
|
|
checkflag ENGINE_ALAN_HAS_FIRE_STONE
|
|
|
|
iftrue .Generic
|
|
|
|
farscall PhoneScript_Random3
|
|
|
|
ifequal 0, AlanWantsBattle
|
|
|
|
checkevent EVENT_ALAN_GAVE_FIRE_STONE
|
|
|
|
iftrue .FireStone
|
|
|
|
farscall PhoneScript_Random2
|
|
|
|
ifequal 0, AlanHasFireStone
|
|
|
|
|
|
|
|
.FireStone:
|
|
|
|
farscall PhoneScript_Random11
|
|
|
|
ifequal 0, AlanHasFireStone
|
|
|
|
|
|
|
|
.Generic:
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump Phone_GenericCall_Male
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
AlanWednesdayDay:
|
|
|
|
setflag ENGINE_ALAN_WEDNESDAY_AFTERNOON
|
|
|
|
|
|
|
|
AlanWantsBattle:
|
2020-03-15 14:26:10 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_36
|
2018-12-30 14:15:52 -08:00
|
|
|
setflag ENGINE_ALAN
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump PhoneScript_WantsToBattle_Male
|
2018-12-30 14:15:52 -08:00
|
|
|
|
|
|
|
AlanHasFireStone:
|
|
|
|
setflag ENGINE_ALAN_HAS_FIRE_STONE
|
2020-03-15 14:26:10 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_36
|
2019-03-10 13:39:31 -07:00
|
|
|
farsjump PhoneScript_FoundItem_Male
|