mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 19:54:21 +01:00
321 lines
13 KiB
PHP
321 lines
13 KiB
PHP
Interview_EventScript_EndInterview::
|
|
special InterviewAfter
|
|
incrementgamestat GAME_STAT_GOT_INTERVIEWED
|
|
release
|
|
end
|
|
|
|
@ Shares reporter object with TVSHOW_PKMN_FAN_CLUB_OPINIONS
|
|
SlateportCity_PokemonFanClub_EventScript_ReporterNoNickname::
|
|
setvar VAR_0x8005, TVSHOW_FAN_CLUB_LETTER
|
|
special InterviewBefore
|
|
goto_if_eq VAR_RESULT, TRUE, SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed2
|
|
copyvar VAR_0x8009, VAR_0x8006
|
|
msgbox SlateportCity_PokemonFanClub_Text_InterviewRequest, MSGBOX_YESNO
|
|
goto_if_eq VAR_RESULT, YES, SlateportCity_PokemonFanClub_EventScript_AcceptInterview2
|
|
goto_if_eq VAR_RESULT, NO, SlateportCity_PokemonFanClub_EventScript_DeclineInterview2
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_AcceptInterview2::
|
|
msgbox SlateportCity_PokemonFanClub_Text_TellMeAnythingAboutYourMon, MSGBOX_DEFAULT
|
|
setvar VAR_0x8004, EASY_CHAT_TYPE_INTERVIEW
|
|
copyvar VAR_0x8005, VAR_0x8009
|
|
setvar VAR_0x8006, EASY_CHAT_PERSON_REPORTER_FEMALE
|
|
call Common_ShowEasyChatScreen
|
|
lock
|
|
faceplayer
|
|
goto_if_eq VAR_RESULT, 1, SlateportCity_PokemonFanClub_EventScript_SubmitResponse2
|
|
goto_if_eq VAR_RESULT, 0, SlateportCity_PokemonFanClub_EventScript_DeclineInterview2
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_DeclineInterview2::
|
|
msgbox SlateportCity_PokemonFanClub_Text_HereIfYouGetUrgeToTellMe, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_SubmitResponse2::
|
|
msgbox SlateportCity_PokemonFanClub_Text_ThatsAllForInterview2, MSGBOX_DEFAULT
|
|
setvar VAR_0x8005, TVSHOW_FAN_CLUB_LETTER
|
|
goto Interview_EventScript_EndInterview
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed2::
|
|
msgbox SlateportCity_PokemonFanClub_Text_EnjoyDoingInterviews, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SlateportCity_OceanicMuseum_1F_EventScript_Reporter::
|
|
lock
|
|
faceplayer
|
|
setvar VAR_0x8005, TVSHOW_RECENT_HAPPENINGS
|
|
special InterviewBefore
|
|
goto_if_eq VAR_RESULT, TRUE, SlateportCity_OceanicMuseum_1F_EventScript_AlreadyInterviewed
|
|
copyvar VAR_0x8009, VAR_0x8006
|
|
goto_if_set FLAG_OCEANIC_MUSEUM_MET_REPORTER, SlateportCity_OceanicMuseum_1F_EventScript_RequestInterviewShort
|
|
setflag FLAG_OCEANIC_MUSEUM_MET_REPORTER
|
|
msgbox SlateportCity_OceanicMuseum_1F_Text_InterviewRequest, MSGBOX_YESNO
|
|
goto_if_eq VAR_RESULT, YES, SlateportCity_OceanicMuseum_1F_EventScript_AcceptInterview
|
|
goto_if_eq VAR_RESULT, NO, SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview
|
|
end
|
|
|
|
SlateportCity_OceanicMuseum_1F_EventScript_RequestInterviewShort::
|
|
msgbox SlateportCity_OceanicMuseum_1F_Text_InterviewRequestShort, MSGBOX_YESNO
|
|
goto_if_eq VAR_RESULT, YES, SlateportCity_OceanicMuseum_1F_EventScript_AcceptInterview
|
|
goto_if_eq VAR_RESULT, NO, SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview
|
|
end
|
|
|
|
SlateportCity_OceanicMuseum_1F_EventScript_AcceptInterview::
|
|
msgbox SlateportCity_OceanicMuseum_1F_Text_TellMeExperienceInvolvingPokemon, MSGBOX_DEFAULT
|
|
setvar VAR_0x8004, EASY_CHAT_TYPE_INTERVIEW
|
|
copyvar VAR_0x8005, VAR_0x8009
|
|
setvar VAR_0x8006, EASY_CHAT_PERSON_REPORTER_MALE
|
|
call Common_ShowEasyChatScreen
|
|
lock
|
|
faceplayer
|
|
goto_if_eq VAR_RESULT, 1, SlateportCity_OceanicMuseum_1F_EventScript_SubmitResponse
|
|
goto_if_eq VAR_RESULT, 0, SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview
|
|
end
|
|
|
|
SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview::
|
|
msgbox SlateportCity_OceanicMuseum_1F_Text_LetMeKnowIfYouHaveStory, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SlateportCity_OceanicMuseum_1F_EventScript_SubmitResponse::
|
|
msgbox SlateportCity_OceanicMuseum_1F_Text_ThatsAllForInterview, MSGBOX_DEFAULT
|
|
setvar VAR_0x8005, TVSHOW_RECENT_HAPPENINGS
|
|
goto Interview_EventScript_EndInterview
|
|
end
|
|
|
|
SlateportCity_OceanicMuseum_1F_EventScript_AlreadyInterviewed::
|
|
msgbox SlateportCity_OceanicMuseum_1F_Text_BetterWriteUpStory, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_Reporter::
|
|
lock
|
|
faceplayer
|
|
specialvar VAR_RESULT, IsLeadMonNicknamedOrNotEnglish
|
|
goto_if_eq VAR_RESULT, FALSE, SlateportCity_PokemonFanClub_EventScript_ReporterNoNickname
|
|
setvar VAR_0x8005, TVSHOW_PKMN_FAN_CLUB_OPINIONS
|
|
special InterviewBefore
|
|
goto_if_eq VAR_RESULT, TRUE, SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed
|
|
copyvar VAR_0x8009, VAR_0x8006
|
|
msgbox SlateportCity_PokemonFanClub_Text_InterviewRequestHasName, MSGBOX_YESNO
|
|
goto_if_eq VAR_RESULT, YES, SlateportCity_PokemonFanClub_EventScript_AcceptInterview
|
|
goto_if_eq VAR_RESULT, NO, SlateportCity_PokemonFanClub_EventScript_DeclineInterview
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_AcceptInterview::
|
|
msgbox SlateportCity_PokemonFanClub_Text_HereGoesQuickAnswers, MSGBOX_DEFAULT
|
|
random 3
|
|
copyvar VAR_0x800A, VAR_RESULT
|
|
switch VAR_RESULT
|
|
case 0, SlateportCity_PokemonFanClub_EventScript_RandomQuestion1
|
|
case 1, SlateportCity_PokemonFanClub_EventScript_RandomQuestion2
|
|
case 2, SlateportCity_PokemonFanClub_EventScript_RandomQuestion3
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_RandomQuestion1::
|
|
msgbox SlateportCity_PokemonFanClub_Text_DescribeFeelingsFirstMetMon, MSGBOX_DEFAULT
|
|
goto SlateportCity_PokemonFanClub_EventScript_ContinueInterview
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_RandomQuestion2::
|
|
msgbox SlateportCity_PokemonFanClub_Text_LikenMonToSomethingYouLike, MSGBOX_DEFAULT
|
|
goto SlateportCity_PokemonFanClub_EventScript_ContinueInterview
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_RandomQuestion3::
|
|
msgbox SlateportCity_PokemonFanClub_Text_WhatAttractedYouAboutMon, MSGBOX_DEFAULT
|
|
goto SlateportCity_PokemonFanClub_EventScript_ContinueInterview
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_ContinueInterview::
|
|
setvar VAR_0x8004, EASY_CHAT_TYPE_FAN_CLUB
|
|
copyvar VAR_0x8005, VAR_0x8009
|
|
setvar VAR_0x8006, 0
|
|
call Common_ShowEasyChatScreen
|
|
lock
|
|
faceplayer
|
|
goto_if_eq VAR_RESULT, 0, SlateportCity_PokemonFanClub_EventScript_DeclineInterview
|
|
msgbox SlateportCity_PokemonFanClub_Text_WhatDoPokemonMeanToYou, MSGBOX_DEFAULT
|
|
setvar VAR_0x8006, 1
|
|
call Common_ShowEasyChatScreen
|
|
lock
|
|
faceplayer
|
|
goto_if_eq VAR_RESULT, 0, SlateportCity_PokemonFanClub_EventScript_DeclineInterview
|
|
msgbox SlateportCity_PokemonFanClub_Text_ThatsAllForInterview, MSGBOX_DEFAULT
|
|
copyvar VAR_0x8007, VAR_0x800A
|
|
setvar VAR_0x8005, TVSHOW_PKMN_FAN_CLUB_OPINIONS
|
|
goto Interview_EventScript_EndInterview
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_DeclineInterview::
|
|
msgbox SlateportCity_PokemonFanClub_Text_HereIfYouGetUrgeToTellMe, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed::
|
|
msgbox SlateportCity_PokemonFanClub_Text_EnjoyDoingInterviews, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
LilycoveCity_ContestLobby_EventScript_Reporter::
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_TEMP_2, LilycoveCity_ContestLobby_EventScript_AlreadyInterviewed
|
|
setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_POKEMON_PROFILE
|
|
special InterviewBefore
|
|
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_ContestLobby_EventScript_AlreadyInterviewed
|
|
copyvar VAR_0x8009, VAR_0x8006
|
|
msgbox LilycoveCity_ContestLobby_Text_InterviewRequest, MSGBOX_YESNO
|
|
goto_if_eq VAR_RESULT, YES, LilycoveCity_ContestLobby_EventScript_AcceptInterview
|
|
goto_if_eq VAR_RESULT, NO, LilycoveCity_ContestLobby_EventScript_DeclineInterview
|
|
end
|
|
|
|
LilycoveCity_ContestLobby_EventScript_AcceptInterview::
|
|
msgbox LilycoveCity_ContestLobby_Text_DescribeContest, MSGBOX_DEFAULT
|
|
setvar VAR_0x8004, EASY_CHAT_TYPE_CONTEST_INTERVIEW
|
|
copyvar VAR_0x8005, VAR_0x8009
|
|
setvar VAR_0x8006, 0
|
|
call Common_ShowEasyChatScreen
|
|
lock
|
|
faceplayer
|
|
goto_if_eq VAR_RESULT, 1, LilycoveCity_ContestLobby_EventScript_SubmitResponse
|
|
goto_if_eq VAR_RESULT, 0, LilycoveCity_ContestLobby_EventScript_DeclineInterview
|
|
end
|
|
|
|
LilycoveCity_ContestLobby_EventScript_DeclineInterview::
|
|
msgbox LilycoveCity_ContestLobby_Text_PleaseDoShareStoryWithMe, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
LilycoveCity_ContestLobby_EventScript_SubmitResponse::
|
|
setvar VAR_0x8004, 24
|
|
special SetContestCategoryStringVarForInterview
|
|
msgbox LilycoveCity_ContestLobby_Text_WhatImageWhenYouHearX, MSGBOX_DEFAULT
|
|
setvar VAR_0x8004, EASY_CHAT_TYPE_CONTEST_INTERVIEW
|
|
copyvar VAR_0x8005, VAR_0x8009
|
|
setvar VAR_0x8006, 1
|
|
call Common_ShowEasyChatScreen
|
|
lock
|
|
faceplayer
|
|
goto_if_eq VAR_RESULT, 0, LilycoveCity_ContestLobby_EventScript_DeclineInterview
|
|
msgbox LilycoveCity_ContestLobby_Text_ThatsAllForInterview, MSGBOX_DEFAULT
|
|
setflag FLAG_TEMP_2
|
|
setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_POKEMON_PROFILE
|
|
goto Interview_EventScript_EndInterview
|
|
end
|
|
|
|
LilycoveCity_ContestLobby_EventScript_AlreadyInterviewed::
|
|
msgbox LilycoveCity_ContestLobby_Text_LookingForwardToNextContest, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
LilycoveCity_ContestLobby_EventScript_TryShowContestReporter::
|
|
goto_if_ne VAR_CONTEST_HALL_STATE, 2, LilycoveCity_ContestLobby_EventScript_DontShowContestReporter
|
|
setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_POKEMON_PROFILE
|
|
special InterviewBefore
|
|
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_ContestLobby_EventScript_DontShowContestReporter
|
|
switch VAR_CONTEST_TYPE
|
|
case 0, LilycoveCity_ContestLobby_EventScript_DontShowContestReporter
|
|
case 2, LilycoveCity_ContestLobby_EventScript_ShowContestReporter
|
|
case 1, LilycoveCity_ContestLobby_EventScript_ShowContestReporter
|
|
case 3, LilycoveCity_ContestLobby_EventScript_ShowContestReporter
|
|
case 4, LilycoveCity_ContestLobby_EventScript_ShowContestReporter
|
|
case 5, LilycoveCity_ContestLobby_EventScript_DontShowContestReporter
|
|
end
|
|
|
|
LilycoveCity_ContestLobby_EventScript_ShowContestReporter::
|
|
clearflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_REPORTER
|
|
return
|
|
|
|
LilycoveCity_ContestLobby_EventScript_DontShowContestReporter::
|
|
return
|
|
|
|
BattleFrontier_BattleTowerLobby_EventScript_Reporter::
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_TEMP_2, BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed
|
|
setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_BATTLE_TOWER_PROFILE
|
|
special InterviewBefore
|
|
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed
|
|
copyvar VAR_0x8009, VAR_0x8006
|
|
msgbox BattleFrontier_BattleTowerLobby_Text_InterviewRequest, MSGBOX_YESNO
|
|
goto_if_eq VAR_RESULT, YES, BattleFrontier_BattleTowerLobby_EventScript_AcceptInterview
|
|
goto_if_eq VAR_RESULT, NO, BattleFrontier_BattleTowerLobby_EventScript_DeclineInterview
|
|
end
|
|
|
|
BattleFrontier_BattleTowerLobby_EventScript_AcceptInterview::
|
|
message BattleFrontier_BattleTowerLobby_Text_HowDidBattleTowerTurnOut
|
|
waitmessage
|
|
multichoice 20, 8, MULTI_SATISFACTION, TRUE
|
|
copyvar VAR_0x8008, VAR_RESULT
|
|
call_if_eq VAR_RESULT, 0, BattleFrontier_BattleTowerLobby_EventScript_Satisfied
|
|
call_if_eq VAR_RESULT, 1, BattleFrontier_BattleTowerLobby_EventScript_Dissatisfied
|
|
msgbox BattleFrontier_BattleTowerLobby_Text_DescribeYourBattle, MSGBOX_DEFAULT
|
|
setvar VAR_0x8004, EASY_CHAT_TYPE_BATTLE_TOWER_INTERVIEW
|
|
copyvar VAR_0x8005, VAR_0x8009
|
|
call Common_ShowEasyChatScreen
|
|
lock
|
|
faceplayer
|
|
goto_if_eq VAR_RESULT, 1, BattleFrontier_BattleTowerLobby_EventScript_SubmitResponse
|
|
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleTowerLobby_EventScript_CancelInterview
|
|
end
|
|
|
|
BattleFrontier_BattleTowerLobby_EventScript_DeclineInterview::
|
|
msgbox BattleFrontier_BattleTowerLobby_Text_SorryWeDisturbedYou, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
BattleFrontier_BattleTowerLobby_EventScript_Satisfied::
|
|
msgbox BattleFrontier_BattleTowerLobby_Text_ObviousYouHadGreatBattle, MSGBOX_DEFAULT
|
|
return
|
|
|
|
BattleFrontier_BattleTowerLobby_EventScript_Dissatisfied::
|
|
msgbox BattleFrontier_BattleTowerLobby_Text_DifficultToMakeBattleTurnOutAsPlanned, MSGBOX_DEFAULT
|
|
return
|
|
|
|
BattleFrontier_BattleTowerLobby_EventScript_SubmitResponse::
|
|
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleTowerLobby_EventScript_CancelInterview
|
|
msgbox BattleFrontier_BattleTowerLobby_Text_ThatsGreatLine, MSGBOX_DEFAULT
|
|
setflag FLAG_TEMP_2
|
|
copyvar VAR_0x8004, VAR_0x8008
|
|
setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_BATTLE_TOWER_PROFILE
|
|
goto Interview_EventScript_EndInterview
|
|
end
|
|
|
|
BattleFrontier_BattleTowerLobby_EventScript_CancelInterview::
|
|
msgbox BattleFrontier_BattleTowerLobby_Text_SilentType, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed::
|
|
msgbox BattleFrontier_BattleTowerLobby_Text_LookingForwardToNextBattle, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
BattleFrontier_BattleTowerLobby_EventScript_ShowOrHideReporter::
|
|
goto_if_eq VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0, BattleFrontier_BattleTowerLobby_EventScript_HideReporter
|
|
setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_BATTLE_TOWER_PROFILE
|
|
special InterviewBefore
|
|
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleTowerLobby_EventScript_HideReporter
|
|
clearflag FLAG_HIDE_BATTLE_TOWER_REPORTER
|
|
return
|
|
|
|
BattleFrontier_BattleTowerLobby_EventScript_HideReporter::
|
|
setflag FLAG_HIDE_BATTLE_TOWER_REPORTER
|
|
return
|
|
|
|
@ Unused
|
|
EventScript_ContestLiveInterview::
|
|
setvar VAR_0x8005, TVSHOW_CONTEST_LIVE_UPDATES
|
|
special InterviewBefore
|
|
goto_if_eq VAR_RESULT, TRUE, EventScript_ContestLiveInterviewEnd
|
|
setvar VAR_0x8005, TVSHOW_CONTEST_LIVE_UPDATES
|
|
special InterviewAfter
|
|
return
|
|
|
|
EventScript_ContestLiveInterviewEnd::
|
|
return
|