2015-07-25 11:25:37 -07:00
|
|
|
BuenaPhoneScript1:
|
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
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_HOUR
|
2015-11-17 09:29:37 -08:00
|
|
|
if_greater_than 17, BuenaPhoneScript_AfterMidnight1
|
|
|
|
scall BuenaPhoneScript_CheckTimeOfDay1
|
|
|
|
jump BuenaPhoneScript_Random1
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2015-07-25 11:25:37 -07:00
|
|
|
BuenaPhoneScript2:
|
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
|
|
|
|
scall BuenaPhoneScript_CheckTimeOfDay2
|
|
|
|
jump BuenaPhoneScript_Random2
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2015-11-17 09:29:37 -08:00
|
|
|
BuenaPhoneScript_CheckTimeOfDay1:
|
2015-06-23 11:28:48 -07:00
|
|
|
checkmorn
|
2015-11-17 09:29:37 -08:00
|
|
|
iftrue .morn
|
2015-06-23 11:28:48 -07:00
|
|
|
checkday
|
2015-11-17 09:29:37 -08:00
|
|
|
iftrue .day
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa0d42
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.morn
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa0c28
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.day
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa0c72
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2015-11-17 09:29:37 -08:00
|
|
|
BuenaPhoneScript_AfterMidnight1:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa0caf
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2015-11-17 09:29:37 -08:00
|
|
|
BuenaPhoneScript_CheckTimeOfDay2:
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_HOUR
|
2015-11-17 09:29:37 -08:00
|
|
|
if_greater_than 17, BuenaPhoneScript_AfterMidnight2
|
2015-06-23 11:28:48 -07:00
|
|
|
checkmorn
|
2015-11-17 09:29:37 -08:00
|
|
|
iftrue .morn
|
2015-06-23 11:28:48 -07:00
|
|
|
checkday
|
2015-11-17 09:29:37 -08:00
|
|
|
iftrue .day
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa0e29
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.morn
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa0d96
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.day
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa0dcf
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2015-11-17 09:29:37 -08:00
|
|
|
BuenaPhoneScript_AfterMidnight2:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa0e01
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2015-11-17 09:29:37 -08:00
|
|
|
BuenaPhoneScript_Rocket:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa0e5e
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2015-11-17 09:29:37 -08:00
|
|
|
BuenaPhoneScript_Random2:
|
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
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .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:
|
|
|
|
if_equal 0, .zero
|
|
|
|
if_equal 1, .one
|
|
|
|
if_equal 2, .two
|
|
|
|
if_equal 3, .three
|
|
|
|
if_equal 4, .four
|
|
|
|
if_equal 5, .five
|
|
|
|
if_equal 6, .six
|
|
|
|
if_equal 7, .seven
|
|
|
|
if_equal 8, .eight
|
|
|
|
if_equal 9, .nine
|
|
|
|
if_equal 10, .ten
|
|
|
|
if_equal 11, .eleven
|
|
|
|
if_equal 12, .twelve
|
|
|
|
if_equal 13, .thirteen
|
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.zero
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa0efb
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.one
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa0fcf
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.two
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa109d
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.three
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa1143
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.four
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa1244
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.five
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa1318
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.six
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa13d8
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.seven
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa1488
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.eight
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa15de
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.nine
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa1717
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.ten
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa183d
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.eleven
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa19b1
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.twelve
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa1ac0
|
2015-11-17 09:29:37 -08:00
|
|
|
jump .finish
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.thirteen
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa1bed
|
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
|
|
|
|
|
2015-11-17 09:29:37 -08:00
|
|
|
BuenaPhoneScript_Random1:
|
2015-07-15 12:48:44 -07:00
|
|
|
random 3
|
2015-11-17 09:29:37 -08:00
|
|
|
if_equal 0, .zero
|
|
|
|
if_equal 1, .one
|
|
|
|
if_equal 2, .two
|
2014-07-22 23:06:11 -07:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.zero
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa1c88
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.one
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa1d5f
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.two
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0xa1e2f
|
2014-07-22 23:06:11 -07:00
|
|
|
end
|
|
|
|
; a0c28
|
2015-11-17 09:29:37 -08:00
|
|
|
|
2018-01-09 16:51:30 -08:00
|
|
|
INCLUDE "data/phone/text/buena.asm"
|