2018-12-31 21:32:04 +00:00
|
|
|
AlanPhoneCalleeScript:
|
2019-03-10 19:31:59 +00:00
|
|
|
gettrainername STRING_BUFFER_3, SCHOOLBOY, ALAN1
|
2020-06-16 18:11:49 +00:00
|
|
|
checkflag ENGINE_ALAN_READY_FOR_REMATCH
|
2018-12-30 22:15:52 +00:00
|
|
|
iftrue .WantsBattle
|
|
|
|
farscall PhoneScript_AnswerPhone_Male
|
|
|
|
checkflag ENGINE_ALAN_WEDNESDAY_AFTERNOON
|
|
|
|
iftrue .NotWednesday
|
|
|
|
checkflag ENGINE_ALAN_HAS_FIRE_STONE
|
|
|
|
iftrue .FireStone
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 22:15:52 +00:00
|
|
|
ifnotequal WEDNESDAY, .NotWednesday
|
|
|
|
checktime DAY
|
|
|
|
iftrue AlanWednesdayDay
|
|
|
|
|
|
|
|
.NotWednesday:
|
2019-10-20 22:24:17 +00:00
|
|
|
farsjump AlanHangUpScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.WantsBattle:
|
2020-03-15 21:26:10 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_36
|
2019-10-20 22:24:17 +00:00
|
|
|
farsjump AlanReminderScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.FireStone:
|
2020-03-15 21:26:10 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_36
|
2019-10-20 22:24:17 +00:00
|
|
|
farsjump AlanComePickUpScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
2018-12-31 21:32:04 +00:00
|
|
|
AlanPhoneCallerScript:
|
2019-03-10 19:31:59 +00:00
|
|
|
gettrainername STRING_BUFFER_3, SCHOOLBOY, ALAN1
|
2018-12-30 22:15:52 +00:00
|
|
|
farscall PhoneScript_GreetPhone_Male
|
2020-06-16 18:11:49 +00:00
|
|
|
checkflag ENGINE_ALAN_READY_FOR_REMATCH
|
2018-12-30 22:15:52 +00:00
|
|
|
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 20:39:31 +00:00
|
|
|
farsjump Phone_GenericCall_Male
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
AlanWednesdayDay:
|
|
|
|
setflag ENGINE_ALAN_WEDNESDAY_AFTERNOON
|
|
|
|
|
|
|
|
AlanWantsBattle:
|
2020-03-15 21:26:10 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_36
|
2020-06-16 18:11:49 +00:00
|
|
|
setflag ENGINE_ALAN_READY_FOR_REMATCH
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump PhoneScript_WantsToBattle_Male
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
AlanHasFireStone:
|
|
|
|
setflag ENGINE_ALAN_HAS_FIRE_STONE
|
2020-03-15 21:26:10 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_36
|
2019-03-10 20:39:31 +00:00
|
|
|
farsjump PhoneScript_FoundItem_Male
|