2018-12-31 21:32:04 +00:00
|
|
|
TullyPhoneCalleeScript:
|
2019-03-10 19:31:59 +00:00
|
|
|
gettrainername STRING_BUFFER_3, FISHER, TULLY1
|
2018-12-30 22:15:52 +00:00
|
|
|
checkflag ENGINE_TULLY
|
|
|
|
iftrue .WantsBattle
|
|
|
|
farscall PhoneScript_AnswerPhone_Male
|
|
|
|
checkflag ENGINE_TULLY_SUNDAY_NIGHT
|
|
|
|
iftrue .NotSunday
|
|
|
|
checkflag ENGINE_TULLY_HAS_WATER_STONE
|
|
|
|
iftrue .WaterStone
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_WEEKDAY
|
2018-12-30 22:15:52 +00:00
|
|
|
ifnotequal SUNDAY, .NotSunday
|
|
|
|
checktime NITE
|
|
|
|
iftrue TullySundayNight
|
|
|
|
|
|
|
|
.NotSunday:
|
|
|
|
farjump UnknownScript_0xa0990
|
|
|
|
|
|
|
|
.WantsBattle:
|
2019-03-10 19:31:59 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_42
|
2018-12-30 22:15:52 +00:00
|
|
|
farjump UnknownScript_0xa0a82
|
|
|
|
|
|
|
|
.WaterStone:
|
2019-03-10 19:31:59 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_42
|
2018-12-30 22:15:52 +00:00
|
|
|
farjump UnknownScript_0xa0add
|
|
|
|
|
2018-12-31 21:32:04 +00:00
|
|
|
TullyPhoneCallerScript:
|
2019-03-10 19:31:59 +00:00
|
|
|
gettrainername STRING_BUFFER_3, FISHER, TULLY1
|
2018-12-30 22:15:52 +00:00
|
|
|
farscall PhoneScript_GreetPhone_Male
|
|
|
|
checkflag ENGINE_TULLY
|
|
|
|
iftrue .Generic
|
|
|
|
checkflag ENGINE_TULLY_SUNDAY_NIGHT
|
|
|
|
iftrue .Generic
|
|
|
|
checkflag ENGINE_TULLY_HAS_WATER_STONE
|
|
|
|
iftrue .Generic
|
|
|
|
farscall PhoneScript_Random3
|
|
|
|
ifequal 0, TullyWantsBattle
|
|
|
|
checkevent EVENT_TULLY_GAVE_WATER_STONE
|
|
|
|
iftrue .WaterStone
|
|
|
|
farscall PhoneScript_Random2
|
|
|
|
ifequal 0, TullyFoundWaterStone
|
|
|
|
|
|
|
|
.WaterStone:
|
|
|
|
farscall PhoneScript_Random11
|
|
|
|
ifequal 0, TullyFoundWaterStone
|
|
|
|
|
|
|
|
.Generic:
|
|
|
|
farjump Phone_GenericCall_Male
|
|
|
|
|
|
|
|
TullySundayNight:
|
|
|
|
setflag ENGINE_TULLY_SUNDAY_NIGHT
|
|
|
|
|
|
|
|
TullyWantsBattle:
|
2019-03-10 19:31:59 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_42
|
2018-12-30 22:15:52 +00:00
|
|
|
setflag ENGINE_TULLY
|
|
|
|
farjump PhoneScript_WantsToBattle_Male
|
|
|
|
|
|
|
|
TullyFoundWaterStone:
|
|
|
|
setflag ENGINE_TULLY_HAS_WATER_STONE
|
2019-03-10 19:31:59 +00:00
|
|
|
getlandmarkname STRING_BUFFER_5, ROUTE_42
|
2018-12-30 22:15:52 +00:00
|
|
|
farjump PhoneScript_FoundItem_Male
|