2018-12-31 13:32:04 -08:00
|
|
|
BuenaPhoneCalleeScript:
|
2015-07-10 05:12:28 -07:00
|
|
|
checkflag ENGINE_ROCKETS_IN_RADIO_TOWER
|
2015-11-17 09:29:37 -08:00
|
|
|
iftrue BuenaPhoneScript_Rocket
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_HOUR
|
2019-10-20 15:24:17 -07:00
|
|
|
ifgreater 17, BuenaPhoneScript_AfterMidnightCallee
|
|
|
|
scall BuenaPhoneScript_CheckTimeOfDayCallee
|
|
|
|
sjump BuenaPhoneScript_RandomCallee
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2018-12-31 13:32:04 -08:00
|
|
|
BuenaPhoneCallerScript:
|
2015-07-10 05:12:28 -07:00
|
|
|
checkflag ENGINE_ROCKETS_IN_RADIO_TOWER
|
2015-11-17 09:29:37 -08:00
|
|
|
iftrue BuenaPhoneScript_Rocket
|
2019-10-20 15:24:17 -07:00
|
|
|
scall BuenaPhoneScript_CheckTimeOfDayCaller
|
|
|
|
sjump BuenaPhoneScript_RandomCaller
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
BuenaPhoneScript_CheckTimeOfDayCallee:
|
2018-02-02 18:20:13 -08:00
|
|
|
checktime MORN
|
2015-11-17 09:29:37 -08:00
|
|
|
iftrue .morn
|
2018-02-02 18:20:13 -08:00
|
|
|
checktime DAY
|
2015-11-17 09:29:37 -08:00
|
|
|
iftrue .day
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneNiteAnswerText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.morn
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneMorningAnswerText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.day
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneDayAnswerText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
BuenaPhoneScript_AfterMidnightCallee:
|
|
|
|
writetext BuenaPhoneMidnightAnswerText
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
BuenaPhoneScript_CheckTimeOfDayCaller:
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_HOUR
|
2019-10-20 15:24:17 -07:00
|
|
|
ifgreater 17, BuenaPhoneScript_AfterMidnightCaller
|
2018-02-02 18:20:13 -08:00
|
|
|
checktime MORN
|
2015-11-17 09:29:37 -08:00
|
|
|
iftrue .morn
|
2018-02-02 18:20:13 -08:00
|
|
|
checktime DAY
|
2015-11-17 09:29:37 -08:00
|
|
|
iftrue .day
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneNiteText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.morn
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneMorningText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.day
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneDayText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
BuenaPhoneScript_AfterMidnightCaller:
|
|
|
|
writetext BuenaPhoneMidnightText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2015-11-17 09:29:37 -08:00
|
|
|
BuenaPhoneScript_Rocket:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneRocketText
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
BuenaPhoneScript_RandomCaller:
|
2015-06-24 20:20:04 -07:00
|
|
|
checkevent EVENT_BEAT_ELITE_FOUR
|
2015-11-17 09:29:37 -08:00
|
|
|
iftrue .PostE4
|
2015-07-15 12:48:44 -07:00
|
|
|
random 11
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .Jumptable
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2015-11-17 09:29:37 -08:00
|
|
|
.PostE4:
|
2015-07-15 12:48:44 -07:00
|
|
|
random 14
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2015-11-17 09:29:37 -08:00
|
|
|
.Jumptable:
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal 0, .zero
|
|
|
|
ifequal 1, .one
|
|
|
|
ifequal 2, .two
|
|
|
|
ifequal 3, .three
|
|
|
|
ifequal 4, .four
|
|
|
|
ifequal 5, .five
|
|
|
|
ifequal 6, .six
|
|
|
|
ifequal 7, .seven
|
|
|
|
ifequal 8, .eight
|
|
|
|
ifequal 9, .nine
|
|
|
|
ifequal 10, .ten
|
|
|
|
ifequal 11, .eleven
|
|
|
|
ifequal 12, .twelve
|
|
|
|
ifequal 13, .thirteen
|
2015-11-17 09:29:37 -08:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.zero
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneWentOutWithBenText
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.one
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneReceptionistText
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.two
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneLuckyNumberShowText
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.three
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneStressedFromWorkText
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.four
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneProfessorOakText
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.five
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneGotAColdText
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.six
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneRadioCardQuestionsText
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.seven
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhonePikachuFanClubText
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.eight
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneRadioTowerDirectorText
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.nine
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneWhenDoYouRelaxText
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.ten
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneStarterPokemonText
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.eleven
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneCompanyVacationText
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.twelve
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneBenAndFernText
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.thirteen
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneGoingShoppingText
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.finish
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
BuenaPhoneScript_RandomCallee:
|
2015-07-15 12:48:44 -07:00
|
|
|
random 3
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal 0, .zero
|
|
|
|
ifequal 1, .one
|
|
|
|
ifequal 2, .two
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.zero
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneFavoriteSlotMachineAnswerText
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.one
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhonePokegearAnswerText
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.two
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext BuenaPhoneCoopedUpInRadioTowerAnswerText
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
2015-11-17 09:29:37 -08:00
|
|
|
|
2018-01-09 16:51:30 -08:00
|
|
|
INCLUDE "data/phone/text/buena.asm"
|