2018-10-17 04:47:08 +02:00
|
|
|
EventScript_TV:: @ 827EE0B
|
2017-11-11 23:10:17 +01:00
|
|
|
lockall
|
|
|
|
incrementgamestat 44
|
|
|
|
special ResetTVShowState
|
|
|
|
specialvar VAR_RESULT, CheckForBigMovieOrEmergencyNewsOnTV
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 2
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq EventScript_27EE9A
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq EventScript_27EEA4
|
|
|
|
goto_if_unset FLAG_SYS_TV_START, EventScript_27EE8A
|
|
|
|
goto_if_set FLAG_SYS_TV_WATCH, EventScript_27EE8A
|
2017-11-11 23:10:17 +01:00
|
|
|
specialvar VAR_RESULT, IsTVShowInSearchOfTrainersAiring
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq EventScript_27EEFF
|
2017-11-11 23:10:17 +01:00
|
|
|
goto EventScript_27EEE9
|
|
|
|
end
|
|
|
|
|
|
|
|
EventScript_27EE54:: @ 827EE54
|
|
|
|
specialvar VAR_0x8004, special_0x44
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8004, 255
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq EventScript_27EED8
|
2017-11-11 23:10:17 +01:00
|
|
|
specialvar VAR_RESULT, special_0x4a
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 255
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq EventScript_27EED8
|
2017-11-11 23:10:17 +01:00
|
|
|
copyvar VAR_0x8004, VAR_RESULT
|
|
|
|
specialvar VAR_RESULT, special_0x45
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_ne EventScript_27EEBA
|
2017-11-11 23:10:17 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
EventScript_27EE8A:: @ 827EE8A
|
|
|
|
special GetMomOrDadStringForTVMessage
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox gUnknown_08272BCF, MSGBOX_DEFAULT
|
2017-11-11 23:10:17 +01:00
|
|
|
special TurnOffTVScreen
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
EventScript_27EE9A:: @ 827EE9A
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7F0F, MSGBOX_DEFAULT
|
2017-11-11 23:10:17 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
EventScript_27EEA4:: @ 827EEA4
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LittlerootTown_BrendansHouse_1F_Text_1F826F, MSGBOX_DEFAULT
|
2017-11-11 23:10:17 +01:00
|
|
|
special InitRoamer
|
|
|
|
clearflag FLAG_SYS_TV_LATI
|
|
|
|
setflag FLAG_0x0FF
|
|
|
|
special TurnOffTVScreen
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
EventScript_27EEBA:: @ 827EEBA
|
|
|
|
special DoTVShow
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_ne EventScript_27EEBA
|
2017-11-11 23:10:17 +01:00
|
|
|
goto EventScript_27EED0
|
|
|
|
end
|
|
|
|
|
|
|
|
EventScript_27EED0:: @ 827EED0
|
|
|
|
special TurnOffTVScreen
|
|
|
|
setflag FLAG_SYS_TV_WATCH
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
EventScript_27EED8:: @ 827EED8
|
|
|
|
special GetMomOrDadStringForTVMessage
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox gUnknown_08272BCF, MSGBOX_DEFAULT
|
2017-11-11 23:10:17 +01:00
|
|
|
goto EventScript_27EED0
|
|
|
|
end
|
|
|
|
|
|
|
|
EventScript_27EEE9:: @ 827EEE9
|
|
|
|
special DoPokeNews
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq EventScript_27EE54
|
2017-11-11 23:10:17 +01:00
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
goto EventScript_27EED0
|
|
|
|
end
|
|
|
|
|
|
|
|
EventScript_27EEFF:: @ 827EEFF
|
|
|
|
special DoTVShowInSearchOfTrainers
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq EventScript_27EEFF
|
2017-11-11 23:10:17 +01:00
|
|
|
goto EventScript_27EED0
|
|
|
|
end
|