2018-12-31 13:32:04 -08:00
|
|
|
JosePhoneCalleeScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
gettrainername STRING_BUFFER_3, BIRD_KEEPER, JOSE2
|
2018-12-30 14:15:52 -08:00
|
|
|
checkflag ENGINE_JOSE
|
|
|
|
iftrue .WantsBattle
|
|
|
|
farscall PhoneScript_AnswerPhone_Male
|
|
|
|
checkflag ENGINE_JOSE_SATURDAY_NIGHT
|
|
|
|
iftrue .NotSaturday
|
|
|
|
checkflag ENGINE_JOSE_HAS_STAR_PIECE
|
|
|
|
iftrue .HasItem
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 14:15:52 -08:00
|
|
|
ifnotequal SATURDAY, .NotSaturday
|
|
|
|
checktime NITE
|
|
|
|
iftrue JoseSaturdayNight
|
|
|
|
|
|
|
|
.NotSaturday:
|
|
|
|
farjump UnknownScript_0xa0920
|
|
|
|
|
|
|
|
.WantsBattle:
|
2019-03-10 12:31:59 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_27
|
2018-12-30 14:15:52 -08:00
|
|
|
farjump UnknownScript_0xa0a41
|
|
|
|
|
|
|
|
.HasItem:
|
2019-03-10 12:31:59 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_27
|
2018-12-30 14:15:52 -08:00
|
|
|
farjump UnknownScript_0xa0a41
|
|
|
|
|
2018-12-31 13:32:04 -08:00
|
|
|
JosePhoneCallerScript:
|
2019-03-10 12:31:59 -07:00
|
|
|
gettrainername STRING_BUFFER_3, BIRD_KEEPER, JOSE2
|
2018-12-30 14:15:52 -08:00
|
|
|
farscall PhoneScript_GreetPhone_Male
|
|
|
|
checkflag ENGINE_JOSE
|
|
|
|
iftrue .Generic
|
|
|
|
checkflag ENGINE_JOSE_SATURDAY_NIGHT
|
|
|
|
iftrue .Generic
|
|
|
|
checkflag ENGINE_JOSE_HAS_STAR_PIECE
|
|
|
|
iftrue .Generic
|
|
|
|
farscall PhoneScript_Random3
|
|
|
|
ifequal 0, JoseWantsBattle
|
|
|
|
farscall PhoneScript_Random3
|
|
|
|
ifequal 0, JoseHasStarPiece
|
|
|
|
|
|
|
|
.Generic:
|
|
|
|
farscall PhoneScript_Random3
|
|
|
|
ifequal 0, JoseFoundRare
|
|
|
|
farjump Phone_GenericCall_Male
|
|
|
|
|
|
|
|
JoseSaturdayNight:
|
|
|
|
setflag ENGINE_JOSE_SATURDAY_NIGHT
|
|
|
|
|
|
|
|
JoseWantsBattle:
|
2019-03-10 12:31:59 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_27
|
2018-12-30 14:15:52 -08:00
|
|
|
setflag ENGINE_JOSE
|
|
|
|
farjump PhoneScript_WantsToBattle_Male
|
|
|
|
|
|
|
|
JoseFoundRare:
|
|
|
|
farjump Phone_CheckIfUnseenRare_Male
|
|
|
|
|
|
|
|
JoseHasStarPiece:
|
|
|
|
setflag ENGINE_JOSE_HAS_STAR_PIECE
|
2019-03-10 12:31:59 -07:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_27
|
2018-12-30 14:15:52 -08:00
|
|
|
farjump PhoneScript_FoundItem_Male
|