From 12cc7ef34c286476541f901715b4c2847f8ef350 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 27 Sep 2019 14:20:51 -0400 Subject: Split more files from event_scripts --- data/scripts/interview.inc | 346 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 346 insertions(+) create mode 100644 data/scripts/interview.inc (limited to 'data/scripts/interview.inc') diff --git a/data/scripts/interview.inc b/data/scripts/interview.inc new file mode 100644 index 000000000..013d39da2 --- /dev/null +++ b/data/scripts/interview.inc @@ -0,0 +1,346 @@ +BattleFrontier_BattleTowerLobby_EventScript_28C7E9:: @ 828C7E9 +LilycoveCity_ContestLobby_EventScript_28C7E9:: @ 828C7E9 +SlateportCity_OceanicMuseum_1F_EventScript_28C7E9:: @ 828C7E9 +SlateportCity_PokemonFanClub_EventScript_28C7E9:: @ 828C7E9 + special InterviewAfter + incrementgamestat GAME_STAT_GOT_INTERVIEWED + release + end + +SlateportCity_PokemonFanClub_EventScript_28C7F0:: @ 828C7F0 + setvar VAR_0x8005, 1 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C879 + copyvar VAR_0x8009, VAR_0x8006 + msgbox SlateportCity_PokemonFanClub_Text_280674, MSGBOX_YESNO + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C827 + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C85C + end + +SlateportCity_PokemonFanClub_EventScript_28C827:: @ 828C827 + msgbox SlateportCity_PokemonFanClub_Text_28073B, 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 + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C866 + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C85C + end + +SlateportCity_PokemonFanClub_EventScript_28C85C:: @ 828C85C + msgbox SlateportCity_PokemonFanClub_Text_2805E2, MSGBOX_DEFAULT + release + end + +SlateportCity_PokemonFanClub_EventScript_28C866:: @ 828C866 + msgbox SlateportCity_PokemonFanClub_Text_280789, MSGBOX_DEFAULT + setvar VAR_0x8005, 1 + goto SlateportCity_PokemonFanClub_EventScript_28C7E9 + end + +SlateportCity_PokemonFanClub_EventScript_28C879:: @ 828C879 + msgbox SlateportCity_PokemonFanClub_Text_28062E, MSGBOX_DEFAULT + release + end + +SlateportCity_OceanicMuseum_1F_EventScript_28C883:: @ 828C883 + lock + faceplayer + setvar VAR_0x8005, 2 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C939 + copyvar VAR_0x8009, VAR_0x8006 + goto_if_set FLAG_OCEANIC_MUSEUM_MET_REPORTER, SlateportCity_OceanicMuseum_1F_EventScript_28C8C8 + setflag FLAG_OCEANIC_MUSEUM_MET_REPORTER + msgbox SlateportCity_OceanicMuseum_1F_Text_2811A0, MSGBOX_YESNO + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7 + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C + end + +SlateportCity_OceanicMuseum_1F_EventScript_28C8C8:: @ 828C8C8 + msgbox SlateportCity_OceanicMuseum_1F_Text_28126D, MSGBOX_YESNO + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7 + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C + end + +SlateportCity_OceanicMuseum_1F_EventScript_28C8E7:: @ 828C8E7 + msgbox SlateportCity_OceanicMuseum_1F_Text_2812F2, 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 + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C926 + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C + end + +SlateportCity_OceanicMuseum_1F_EventScript_28C91C:: @ 828C91C + msgbox SlateportCity_OceanicMuseum_1F_Text_281367, MSGBOX_DEFAULT + release + end + +SlateportCity_OceanicMuseum_1F_EventScript_28C926:: @ 828C926 + msgbox SlateportCity_OceanicMuseum_1F_Text_2813B9, MSGBOX_DEFAULT + setvar VAR_0x8005, 2 + goto SlateportCity_OceanicMuseum_1F_EventScript_28C7E9 + end + +SlateportCity_OceanicMuseum_1F_EventScript_28C939:: @ 828C939 + msgbox SlateportCity_OceanicMuseum_1F_Text_28144D, MSGBOX_DEFAULT + release + end + +SlateportCity_PokemonFanClub_EventScript_28C943:: @ 828C943 + lock + faceplayer + specialvar VAR_RESULT, sub_80EF8F8 + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C7F0 + setvar VAR_0x8005, 3 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA4F + copyvar VAR_0x8009, VAR_0x8006 + msgbox SlateportCity_PokemonFanClub_Text_280270, MSGBOX_YESNO + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C98C + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45 + end + +SlateportCity_PokemonFanClub_EventScript_28C98C:: @ 828C98C + msgbox SlateportCity_PokemonFanClub_Text_28034F, MSGBOX_DEFAULT + random 3 + copyvar VAR_0x800A, VAR_RESULT + switch VAR_RESULT + case 0, SlateportCity_PokemonFanClub_EventScript_28C9C3 + case 1, SlateportCity_PokemonFanClub_EventScript_28C9D1 + case 2, SlateportCity_PokemonFanClub_EventScript_28C9DF + end + +SlateportCity_PokemonFanClub_EventScript_28C9C3:: @ 828C9C3 + msgbox SlateportCity_PokemonFanClub_Text_280393, MSGBOX_DEFAULT + goto SlateportCity_PokemonFanClub_EventScript_28C9ED + end + +SlateportCity_PokemonFanClub_EventScript_28C9D1:: @ 828C9D1 + msgbox SlateportCity_PokemonFanClub_Text_2803EF, MSGBOX_DEFAULT + goto SlateportCity_PokemonFanClub_EventScript_28C9ED + end + +SlateportCity_PokemonFanClub_EventScript_28C9DF:: @ 828C9DF + msgbox SlateportCity_PokemonFanClub_Text_280454, MSGBOX_DEFAULT + goto SlateportCity_PokemonFanClub_EventScript_28C9ED + end + +SlateportCity_PokemonFanClub_EventScript_28C9ED:: @ 828C9ED + setvar VAR_0x8004, EASY_CHAT_TYPE_FAN_CLUB + copyvar VAR_0x8005, VAR_0x8009 + setvar VAR_0x8006, 0 + call Common_ShowEasyChatScreen + lock + faceplayer + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45 + msgbox SlateportCity_PokemonFanClub_Text_2804AC, MSGBOX_DEFAULT + setvar VAR_0x8006, 1 + call Common_ShowEasyChatScreen + lock + faceplayer + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45 + msgbox SlateportCity_PokemonFanClub_Text_280523, MSGBOX_DEFAULT + copyvar VAR_0x8007, VAR_0x800A + setvar VAR_0x8005, 3 + goto SlateportCity_PokemonFanClub_EventScript_28C7E9 + end + +SlateportCity_PokemonFanClub_EventScript_28CA45:: @ 828CA45 + msgbox SlateportCity_PokemonFanClub_Text_2805E2, MSGBOX_DEFAULT + release + end + +SlateportCity_PokemonFanClub_EventScript_28CA4F:: @ 828CA4F + msgbox SlateportCity_PokemonFanClub_Text_28062E, MSGBOX_DEFAULT + release + end + +LilycoveCity_ContestLobby_EventScript_28CA59:: @ 828CA59 + lock + faceplayer + goto_if_set FLAG_TEMP_2, LilycoveCity_ContestLobby_EventScript_28CB21 + setvar VAR_0x8005, 6 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CB21 + copyvar VAR_0x8009, VAR_0x8006 + msgbox LilycoveCity_ContestLobby_Text_27EF15, MSGBOX_YESNO + compare VAR_RESULT, 1 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CA9B + compare VAR_RESULT, 0 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0 + end + +LilycoveCity_ContestLobby_EventScript_28CA9B:: @ 828CA9B + msgbox LilycoveCity_ContestLobby_Text_27EFE7, MSGBOX_DEFAULT + setvar VAR_0x8004, EASY_CHAT_TYPE_CONTEST_INTERVIEW + copyvar VAR_0x8005, VAR_0x8009 + setvar VAR_0x8006, 0 + call Common_ShowEasyChatScreen + lock + faceplayer + compare VAR_RESULT, 1 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CADA + compare VAR_RESULT, 0 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0 + end + +LilycoveCity_ContestLobby_EventScript_28CAD0:: @ 828CAD0 + msgbox LilycoveCity_ContestLobby_Text_27F1EF, MSGBOX_DEFAULT + release + end + +LilycoveCity_ContestLobby_EventScript_28CADA:: @ 828CADA + setvar VAR_0x8004, 24 + special SetContestCategoryStringVarForInterview + msgbox LilycoveCity_ContestLobby_Text_27F03E, MSGBOX_DEFAULT + setvar VAR_0x8004, EASY_CHAT_TYPE_CONTEST_INTERVIEW + copyvar VAR_0x8005, VAR_0x8009 + setvar VAR_0x8006, 1 + call Common_ShowEasyChatScreen + lock + faceplayer + compare VAR_RESULT, 0 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0 + msgbox LilycoveCity_ContestLobby_Text_27F0EC, MSGBOX_DEFAULT + setflag FLAG_TEMP_2 + setvar VAR_0x8005, 6 + goto LilycoveCity_ContestLobby_EventScript_28C7E9 + end + +LilycoveCity_ContestLobby_EventScript_28CB21:: @ 828CB21 + msgbox LilycoveCity_ContestLobby_Text_27F23F, MSGBOX_DEFAULT + release + end + +LilycoveCity_ContestLobby_EventScript_28CB2B:: @ 828CB2B + compare VAR_LINK_CONTEST_ROOM_STATE, 2 + goto_if_ne LilycoveCity_ContestLobby_EventScript_28CB95 + setvar VAR_0x8005, 6 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CB95 + switch VAR_CONTEST_LOCATION + case 0, LilycoveCity_ContestLobby_EventScript_28CB95 + case 2, LilycoveCity_ContestLobby_EventScript_28CB91 + case 1, LilycoveCity_ContestLobby_EventScript_28CB91 + case 3, LilycoveCity_ContestLobby_EventScript_28CB91 + case 4, LilycoveCity_ContestLobby_EventScript_28CB91 + case 5, LilycoveCity_ContestLobby_EventScript_28CB95 + end + +LilycoveCity_ContestLobby_EventScript_28CB91:: @ 828CB91 + clearflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_REPORTER + return + +LilycoveCity_ContestLobby_EventScript_28CB95:: @ 828CB95 + return + +BattleFrontier_BattleTowerLobby_EventScript_28CB96:: @ 828CB96 + lock + faceplayer + goto_if_set FLAG_TEMP_2, BattleFrontier_BattleTowerLobby_EventScript_28CC7A + setvar VAR_0x8005, 7 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC7A + copyvar VAR_0x8009, VAR_0x8006 + msgbox BattleFrontier_BattleTowerLobby_Text_27F704, MSGBOX_YESNO + compare VAR_RESULT, 1 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CBD8 + compare VAR_RESULT, 0 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC2E + end + +BattleFrontier_BattleTowerLobby_EventScript_28CBD8:: @ 828CBD8 + message BattleFrontier_BattleTowerLobby_Text_27F7BA + waitmessage + multichoice 20, 8, MULTI_SATISFACTION, 1 + copyvar VAR_0x8008, VAR_RESULT + compare VAR_RESULT, 0 + call_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC38 + compare VAR_RESULT, 1 + call_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC41 + msgbox BattleFrontier_BattleTowerLobby_Text_27F97A, MSGBOX_DEFAULT + setvar VAR_0x8004, EASY_CHAT_TYPE_BATTLE_TOWER_INTERVIEW + copyvar VAR_0x8005, VAR_0x8009 + call Common_ShowEasyChatScreen + lock + faceplayer + compare VAR_RESULT, 1 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC4A + compare VAR_RESULT, 0 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC70 + end + +BattleFrontier_BattleTowerLobby_EventScript_28CC2E:: @ 828CC2E + msgbox BattleFrontier_BattleTowerLobby_Text_27F84C, MSGBOX_DEFAULT + release + end + +BattleFrontier_BattleTowerLobby_EventScript_28CC38:: @ 828CC38 + msgbox BattleFrontier_BattleTowerLobby_Text_27F8AE, MSGBOX_DEFAULT + return + +BattleFrontier_BattleTowerLobby_EventScript_28CC41:: @ 828CC41 + msgbox BattleFrontier_BattleTowerLobby_Text_27F921, MSGBOX_DEFAULT + return + +BattleFrontier_BattleTowerLobby_EventScript_28CC4A:: @ 828CC4A + compare VAR_RESULT, 0 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC70 + msgbox BattleFrontier_BattleTowerLobby_Text_27F9FD, MSGBOX_DEFAULT + setflag FLAG_TEMP_2 + copyvar VAR_0x8004, VAR_0x8008 + setvar VAR_0x8005, 7 + goto BattleFrontier_BattleTowerLobby_EventScript_28C7E9 + end + +BattleFrontier_BattleTowerLobby_EventScript_28CC70:: @ 828CC70 + msgbox BattleFrontier_BattleTowerLobby_Text_27FA6F, MSGBOX_DEFAULT + release + end + +BattleFrontier_BattleTowerLobby_EventScript_28CC7A:: @ 828CC7A + msgbox BattleFrontier_BattleTowerLobby_Text_27FAF3, MSGBOX_DEFAULT + release + end + +BattleFrontier_BattleTowerLobby_EventScript_28CC84:: @ 828CC84 + compare VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CCA6 + setvar VAR_0x8005, 7 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CCA6 + clearflag FLAG_HIDE_BATTLE_TOWER_REPORTER + return + +BattleFrontier_BattleTowerLobby_EventScript_28CCA6:: @ 828CCA6 + setflag FLAG_HIDE_BATTLE_TOWER_REPORTER + return -- cgit v1.2.3 From 749247b9104426fc8c652c5454fc1508b35c43b0 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sat, 5 Oct 2019 10:52:48 -0400 Subject: Convert 4 spaces in .inc to tab --- data/scripts/interview.inc | 536 ++++++++++++++++++++++----------------------- 1 file changed, 268 insertions(+), 268 deletions(-) (limited to 'data/scripts/interview.inc') diff --git a/data/scripts/interview.inc b/data/scripts/interview.inc index 013d39da2..2ad8b305e 100644 --- a/data/scripts/interview.inc +++ b/data/scripts/interview.inc @@ -2,345 +2,345 @@ BattleFrontier_BattleTowerLobby_EventScript_28C7E9:: @ 828C7E9 LilycoveCity_ContestLobby_EventScript_28C7E9:: @ 828C7E9 SlateportCity_OceanicMuseum_1F_EventScript_28C7E9:: @ 828C7E9 SlateportCity_PokemonFanClub_EventScript_28C7E9:: @ 828C7E9 - special InterviewAfter - incrementgamestat GAME_STAT_GOT_INTERVIEWED - release - end + special InterviewAfter + incrementgamestat GAME_STAT_GOT_INTERVIEWED + release + end SlateportCity_PokemonFanClub_EventScript_28C7F0:: @ 828C7F0 - setvar VAR_0x8005, 1 - special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C879 - copyvar VAR_0x8009, VAR_0x8006 - msgbox SlateportCity_PokemonFanClub_Text_280674, MSGBOX_YESNO - compare VAR_RESULT, 1 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C827 - compare VAR_RESULT, 0 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C85C - end + setvar VAR_0x8005, 1 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C879 + copyvar VAR_0x8009, VAR_0x8006 + msgbox SlateportCity_PokemonFanClub_Text_280674, MSGBOX_YESNO + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C827 + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C85C + end SlateportCity_PokemonFanClub_EventScript_28C827:: @ 828C827 - msgbox SlateportCity_PokemonFanClub_Text_28073B, 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 - compare VAR_RESULT, 1 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C866 - compare VAR_RESULT, 0 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C85C - end + msgbox SlateportCity_PokemonFanClub_Text_28073B, 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 + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C866 + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C85C + end SlateportCity_PokemonFanClub_EventScript_28C85C:: @ 828C85C - msgbox SlateportCity_PokemonFanClub_Text_2805E2, MSGBOX_DEFAULT - release - end + msgbox SlateportCity_PokemonFanClub_Text_2805E2, MSGBOX_DEFAULT + release + end SlateportCity_PokemonFanClub_EventScript_28C866:: @ 828C866 - msgbox SlateportCity_PokemonFanClub_Text_280789, MSGBOX_DEFAULT - setvar VAR_0x8005, 1 - goto SlateportCity_PokemonFanClub_EventScript_28C7E9 - end + msgbox SlateportCity_PokemonFanClub_Text_280789, MSGBOX_DEFAULT + setvar VAR_0x8005, 1 + goto SlateportCity_PokemonFanClub_EventScript_28C7E9 + end SlateportCity_PokemonFanClub_EventScript_28C879:: @ 828C879 - msgbox SlateportCity_PokemonFanClub_Text_28062E, MSGBOX_DEFAULT - release - end + msgbox SlateportCity_PokemonFanClub_Text_28062E, MSGBOX_DEFAULT + release + end SlateportCity_OceanicMuseum_1F_EventScript_28C883:: @ 828C883 - lock - faceplayer - setvar VAR_0x8005, 2 - special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C939 - copyvar VAR_0x8009, VAR_0x8006 - goto_if_set FLAG_OCEANIC_MUSEUM_MET_REPORTER, SlateportCity_OceanicMuseum_1F_EventScript_28C8C8 - setflag FLAG_OCEANIC_MUSEUM_MET_REPORTER - msgbox SlateportCity_OceanicMuseum_1F_Text_2811A0, MSGBOX_YESNO - compare VAR_RESULT, 1 - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7 - compare VAR_RESULT, 0 - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C - end + lock + faceplayer + setvar VAR_0x8005, 2 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C939 + copyvar VAR_0x8009, VAR_0x8006 + goto_if_set FLAG_OCEANIC_MUSEUM_MET_REPORTER, SlateportCity_OceanicMuseum_1F_EventScript_28C8C8 + setflag FLAG_OCEANIC_MUSEUM_MET_REPORTER + msgbox SlateportCity_OceanicMuseum_1F_Text_2811A0, MSGBOX_YESNO + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7 + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C + end SlateportCity_OceanicMuseum_1F_EventScript_28C8C8:: @ 828C8C8 - msgbox SlateportCity_OceanicMuseum_1F_Text_28126D, MSGBOX_YESNO - compare VAR_RESULT, 1 - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7 - compare VAR_RESULT, 0 - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C - end + msgbox SlateportCity_OceanicMuseum_1F_Text_28126D, MSGBOX_YESNO + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7 + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C + end SlateportCity_OceanicMuseum_1F_EventScript_28C8E7:: @ 828C8E7 - msgbox SlateportCity_OceanicMuseum_1F_Text_2812F2, 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 - compare VAR_RESULT, 1 - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C926 - compare VAR_RESULT, 0 - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C - end + msgbox SlateportCity_OceanicMuseum_1F_Text_2812F2, 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 + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C926 + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C + end SlateportCity_OceanicMuseum_1F_EventScript_28C91C:: @ 828C91C - msgbox SlateportCity_OceanicMuseum_1F_Text_281367, MSGBOX_DEFAULT - release - end + msgbox SlateportCity_OceanicMuseum_1F_Text_281367, MSGBOX_DEFAULT + release + end SlateportCity_OceanicMuseum_1F_EventScript_28C926:: @ 828C926 - msgbox SlateportCity_OceanicMuseum_1F_Text_2813B9, MSGBOX_DEFAULT - setvar VAR_0x8005, 2 - goto SlateportCity_OceanicMuseum_1F_EventScript_28C7E9 - end + msgbox SlateportCity_OceanicMuseum_1F_Text_2813B9, MSGBOX_DEFAULT + setvar VAR_0x8005, 2 + goto SlateportCity_OceanicMuseum_1F_EventScript_28C7E9 + end SlateportCity_OceanicMuseum_1F_EventScript_28C939:: @ 828C939 - msgbox SlateportCity_OceanicMuseum_1F_Text_28144D, MSGBOX_DEFAULT - release - end + msgbox SlateportCity_OceanicMuseum_1F_Text_28144D, MSGBOX_DEFAULT + release + end SlateportCity_PokemonFanClub_EventScript_28C943:: @ 828C943 - lock - faceplayer - specialvar VAR_RESULT, sub_80EF8F8 - compare VAR_RESULT, 0 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C7F0 - setvar VAR_0x8005, 3 - special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA4F - copyvar VAR_0x8009, VAR_0x8006 - msgbox SlateportCity_PokemonFanClub_Text_280270, MSGBOX_YESNO - compare VAR_RESULT, 1 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C98C - compare VAR_RESULT, 0 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45 - end + lock + faceplayer + specialvar VAR_RESULT, sub_80EF8F8 + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C7F0 + setvar VAR_0x8005, 3 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA4F + copyvar VAR_0x8009, VAR_0x8006 + msgbox SlateportCity_PokemonFanClub_Text_280270, MSGBOX_YESNO + compare VAR_RESULT, 1 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C98C + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45 + end SlateportCity_PokemonFanClub_EventScript_28C98C:: @ 828C98C - msgbox SlateportCity_PokemonFanClub_Text_28034F, MSGBOX_DEFAULT - random 3 - copyvar VAR_0x800A, VAR_RESULT - switch VAR_RESULT - case 0, SlateportCity_PokemonFanClub_EventScript_28C9C3 - case 1, SlateportCity_PokemonFanClub_EventScript_28C9D1 - case 2, SlateportCity_PokemonFanClub_EventScript_28C9DF - end + msgbox SlateportCity_PokemonFanClub_Text_28034F, MSGBOX_DEFAULT + random 3 + copyvar VAR_0x800A, VAR_RESULT + switch VAR_RESULT + case 0, SlateportCity_PokemonFanClub_EventScript_28C9C3 + case 1, SlateportCity_PokemonFanClub_EventScript_28C9D1 + case 2, SlateportCity_PokemonFanClub_EventScript_28C9DF + end SlateportCity_PokemonFanClub_EventScript_28C9C3:: @ 828C9C3 - msgbox SlateportCity_PokemonFanClub_Text_280393, MSGBOX_DEFAULT - goto SlateportCity_PokemonFanClub_EventScript_28C9ED - end + msgbox SlateportCity_PokemonFanClub_Text_280393, MSGBOX_DEFAULT + goto SlateportCity_PokemonFanClub_EventScript_28C9ED + end SlateportCity_PokemonFanClub_EventScript_28C9D1:: @ 828C9D1 - msgbox SlateportCity_PokemonFanClub_Text_2803EF, MSGBOX_DEFAULT - goto SlateportCity_PokemonFanClub_EventScript_28C9ED - end + msgbox SlateportCity_PokemonFanClub_Text_2803EF, MSGBOX_DEFAULT + goto SlateportCity_PokemonFanClub_EventScript_28C9ED + end SlateportCity_PokemonFanClub_EventScript_28C9DF:: @ 828C9DF - msgbox SlateportCity_PokemonFanClub_Text_280454, MSGBOX_DEFAULT - goto SlateportCity_PokemonFanClub_EventScript_28C9ED - end + msgbox SlateportCity_PokemonFanClub_Text_280454, MSGBOX_DEFAULT + goto SlateportCity_PokemonFanClub_EventScript_28C9ED + end SlateportCity_PokemonFanClub_EventScript_28C9ED:: @ 828C9ED - setvar VAR_0x8004, EASY_CHAT_TYPE_FAN_CLUB - copyvar VAR_0x8005, VAR_0x8009 - setvar VAR_0x8006, 0 - call Common_ShowEasyChatScreen - lock - faceplayer - compare VAR_RESULT, 0 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45 - msgbox SlateportCity_PokemonFanClub_Text_2804AC, MSGBOX_DEFAULT - setvar VAR_0x8006, 1 - call Common_ShowEasyChatScreen - lock - faceplayer - compare VAR_RESULT, 0 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45 - msgbox SlateportCity_PokemonFanClub_Text_280523, MSGBOX_DEFAULT - copyvar VAR_0x8007, VAR_0x800A - setvar VAR_0x8005, 3 - goto SlateportCity_PokemonFanClub_EventScript_28C7E9 - end + setvar VAR_0x8004, EASY_CHAT_TYPE_FAN_CLUB + copyvar VAR_0x8005, VAR_0x8009 + setvar VAR_0x8006, 0 + call Common_ShowEasyChatScreen + lock + faceplayer + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45 + msgbox SlateportCity_PokemonFanClub_Text_2804AC, MSGBOX_DEFAULT + setvar VAR_0x8006, 1 + call Common_ShowEasyChatScreen + lock + faceplayer + compare VAR_RESULT, 0 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45 + msgbox SlateportCity_PokemonFanClub_Text_280523, MSGBOX_DEFAULT + copyvar VAR_0x8007, VAR_0x800A + setvar VAR_0x8005, 3 + goto SlateportCity_PokemonFanClub_EventScript_28C7E9 + end SlateportCity_PokemonFanClub_EventScript_28CA45:: @ 828CA45 - msgbox SlateportCity_PokemonFanClub_Text_2805E2, MSGBOX_DEFAULT - release - end + msgbox SlateportCity_PokemonFanClub_Text_2805E2, MSGBOX_DEFAULT + release + end SlateportCity_PokemonFanClub_EventScript_28CA4F:: @ 828CA4F - msgbox SlateportCity_PokemonFanClub_Text_28062E, MSGBOX_DEFAULT - release - end + msgbox SlateportCity_PokemonFanClub_Text_28062E, MSGBOX_DEFAULT + release + end LilycoveCity_ContestLobby_EventScript_28CA59:: @ 828CA59 - lock - faceplayer - goto_if_set FLAG_TEMP_2, LilycoveCity_ContestLobby_EventScript_28CB21 - setvar VAR_0x8005, 6 - special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CB21 - copyvar VAR_0x8009, VAR_0x8006 - msgbox LilycoveCity_ContestLobby_Text_27EF15, MSGBOX_YESNO - compare VAR_RESULT, 1 - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CA9B - compare VAR_RESULT, 0 - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0 - end + lock + faceplayer + goto_if_set FLAG_TEMP_2, LilycoveCity_ContestLobby_EventScript_28CB21 + setvar VAR_0x8005, 6 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CB21 + copyvar VAR_0x8009, VAR_0x8006 + msgbox LilycoveCity_ContestLobby_Text_27EF15, MSGBOX_YESNO + compare VAR_RESULT, 1 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CA9B + compare VAR_RESULT, 0 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0 + end LilycoveCity_ContestLobby_EventScript_28CA9B:: @ 828CA9B - msgbox LilycoveCity_ContestLobby_Text_27EFE7, MSGBOX_DEFAULT - setvar VAR_0x8004, EASY_CHAT_TYPE_CONTEST_INTERVIEW - copyvar VAR_0x8005, VAR_0x8009 - setvar VAR_0x8006, 0 - call Common_ShowEasyChatScreen - lock - faceplayer - compare VAR_RESULT, 1 - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CADA - compare VAR_RESULT, 0 - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0 - end + msgbox LilycoveCity_ContestLobby_Text_27EFE7, MSGBOX_DEFAULT + setvar VAR_0x8004, EASY_CHAT_TYPE_CONTEST_INTERVIEW + copyvar VAR_0x8005, VAR_0x8009 + setvar VAR_0x8006, 0 + call Common_ShowEasyChatScreen + lock + faceplayer + compare VAR_RESULT, 1 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CADA + compare VAR_RESULT, 0 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0 + end LilycoveCity_ContestLobby_EventScript_28CAD0:: @ 828CAD0 - msgbox LilycoveCity_ContestLobby_Text_27F1EF, MSGBOX_DEFAULT - release - end + msgbox LilycoveCity_ContestLobby_Text_27F1EF, MSGBOX_DEFAULT + release + end LilycoveCity_ContestLobby_EventScript_28CADA:: @ 828CADA - setvar VAR_0x8004, 24 - special SetContestCategoryStringVarForInterview - msgbox LilycoveCity_ContestLobby_Text_27F03E, MSGBOX_DEFAULT - setvar VAR_0x8004, EASY_CHAT_TYPE_CONTEST_INTERVIEW - copyvar VAR_0x8005, VAR_0x8009 - setvar VAR_0x8006, 1 - call Common_ShowEasyChatScreen - lock - faceplayer - compare VAR_RESULT, 0 - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0 - msgbox LilycoveCity_ContestLobby_Text_27F0EC, MSGBOX_DEFAULT - setflag FLAG_TEMP_2 - setvar VAR_0x8005, 6 - goto LilycoveCity_ContestLobby_EventScript_28C7E9 - end + setvar VAR_0x8004, 24 + special SetContestCategoryStringVarForInterview + msgbox LilycoveCity_ContestLobby_Text_27F03E, MSGBOX_DEFAULT + setvar VAR_0x8004, EASY_CHAT_TYPE_CONTEST_INTERVIEW + copyvar VAR_0x8005, VAR_0x8009 + setvar VAR_0x8006, 1 + call Common_ShowEasyChatScreen + lock + faceplayer + compare VAR_RESULT, 0 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0 + msgbox LilycoveCity_ContestLobby_Text_27F0EC, MSGBOX_DEFAULT + setflag FLAG_TEMP_2 + setvar VAR_0x8005, 6 + goto LilycoveCity_ContestLobby_EventScript_28C7E9 + end LilycoveCity_ContestLobby_EventScript_28CB21:: @ 828CB21 - msgbox LilycoveCity_ContestLobby_Text_27F23F, MSGBOX_DEFAULT - release - end + msgbox LilycoveCity_ContestLobby_Text_27F23F, MSGBOX_DEFAULT + release + end LilycoveCity_ContestLobby_EventScript_28CB2B:: @ 828CB2B - compare VAR_LINK_CONTEST_ROOM_STATE, 2 - goto_if_ne LilycoveCity_ContestLobby_EventScript_28CB95 - setvar VAR_0x8005, 6 - special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CB95 - switch VAR_CONTEST_LOCATION - case 0, LilycoveCity_ContestLobby_EventScript_28CB95 - case 2, LilycoveCity_ContestLobby_EventScript_28CB91 - case 1, LilycoveCity_ContestLobby_EventScript_28CB91 - case 3, LilycoveCity_ContestLobby_EventScript_28CB91 - case 4, LilycoveCity_ContestLobby_EventScript_28CB91 - case 5, LilycoveCity_ContestLobby_EventScript_28CB95 - end + compare VAR_LINK_CONTEST_ROOM_STATE, 2 + goto_if_ne LilycoveCity_ContestLobby_EventScript_28CB95 + setvar VAR_0x8005, 6 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq LilycoveCity_ContestLobby_EventScript_28CB95 + switch VAR_CONTEST_LOCATION + case 0, LilycoveCity_ContestLobby_EventScript_28CB95 + case 2, LilycoveCity_ContestLobby_EventScript_28CB91 + case 1, LilycoveCity_ContestLobby_EventScript_28CB91 + case 3, LilycoveCity_ContestLobby_EventScript_28CB91 + case 4, LilycoveCity_ContestLobby_EventScript_28CB91 + case 5, LilycoveCity_ContestLobby_EventScript_28CB95 + end LilycoveCity_ContestLobby_EventScript_28CB91:: @ 828CB91 - clearflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_REPORTER - return + clearflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_REPORTER + return LilycoveCity_ContestLobby_EventScript_28CB95:: @ 828CB95 - return + return BattleFrontier_BattleTowerLobby_EventScript_28CB96:: @ 828CB96 - lock - faceplayer - goto_if_set FLAG_TEMP_2, BattleFrontier_BattleTowerLobby_EventScript_28CC7A - setvar VAR_0x8005, 7 - special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC7A - copyvar VAR_0x8009, VAR_0x8006 - msgbox BattleFrontier_BattleTowerLobby_Text_27F704, MSGBOX_YESNO - compare VAR_RESULT, 1 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CBD8 - compare VAR_RESULT, 0 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC2E - end + lock + faceplayer + goto_if_set FLAG_TEMP_2, BattleFrontier_BattleTowerLobby_EventScript_28CC7A + setvar VAR_0x8005, 7 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC7A + copyvar VAR_0x8009, VAR_0x8006 + msgbox BattleFrontier_BattleTowerLobby_Text_27F704, MSGBOX_YESNO + compare VAR_RESULT, 1 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CBD8 + compare VAR_RESULT, 0 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC2E + end BattleFrontier_BattleTowerLobby_EventScript_28CBD8:: @ 828CBD8 - message BattleFrontier_BattleTowerLobby_Text_27F7BA - waitmessage - multichoice 20, 8, MULTI_SATISFACTION, 1 - copyvar VAR_0x8008, VAR_RESULT - compare VAR_RESULT, 0 - call_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC38 - compare VAR_RESULT, 1 - call_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC41 - msgbox BattleFrontier_BattleTowerLobby_Text_27F97A, MSGBOX_DEFAULT - setvar VAR_0x8004, EASY_CHAT_TYPE_BATTLE_TOWER_INTERVIEW - copyvar VAR_0x8005, VAR_0x8009 - call Common_ShowEasyChatScreen - lock - faceplayer - compare VAR_RESULT, 1 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC4A - compare VAR_RESULT, 0 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC70 - end + message BattleFrontier_BattleTowerLobby_Text_27F7BA + waitmessage + multichoice 20, 8, MULTI_SATISFACTION, 1 + copyvar VAR_0x8008, VAR_RESULT + compare VAR_RESULT, 0 + call_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC38 + compare VAR_RESULT, 1 + call_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC41 + msgbox BattleFrontier_BattleTowerLobby_Text_27F97A, MSGBOX_DEFAULT + setvar VAR_0x8004, EASY_CHAT_TYPE_BATTLE_TOWER_INTERVIEW + copyvar VAR_0x8005, VAR_0x8009 + call Common_ShowEasyChatScreen + lock + faceplayer + compare VAR_RESULT, 1 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC4A + compare VAR_RESULT, 0 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC70 + end BattleFrontier_BattleTowerLobby_EventScript_28CC2E:: @ 828CC2E - msgbox BattleFrontier_BattleTowerLobby_Text_27F84C, MSGBOX_DEFAULT - release - end + msgbox BattleFrontier_BattleTowerLobby_Text_27F84C, MSGBOX_DEFAULT + release + end BattleFrontier_BattleTowerLobby_EventScript_28CC38:: @ 828CC38 - msgbox BattleFrontier_BattleTowerLobby_Text_27F8AE, MSGBOX_DEFAULT - return + msgbox BattleFrontier_BattleTowerLobby_Text_27F8AE, MSGBOX_DEFAULT + return BattleFrontier_BattleTowerLobby_EventScript_28CC41:: @ 828CC41 - msgbox BattleFrontier_BattleTowerLobby_Text_27F921, MSGBOX_DEFAULT - return + msgbox BattleFrontier_BattleTowerLobby_Text_27F921, MSGBOX_DEFAULT + return BattleFrontier_BattleTowerLobby_EventScript_28CC4A:: @ 828CC4A - compare VAR_RESULT, 0 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC70 - msgbox BattleFrontier_BattleTowerLobby_Text_27F9FD, MSGBOX_DEFAULT - setflag FLAG_TEMP_2 - copyvar VAR_0x8004, VAR_0x8008 - setvar VAR_0x8005, 7 - goto BattleFrontier_BattleTowerLobby_EventScript_28C7E9 - end + compare VAR_RESULT, 0 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC70 + msgbox BattleFrontier_BattleTowerLobby_Text_27F9FD, MSGBOX_DEFAULT + setflag FLAG_TEMP_2 + copyvar VAR_0x8004, VAR_0x8008 + setvar VAR_0x8005, 7 + goto BattleFrontier_BattleTowerLobby_EventScript_28C7E9 + end BattleFrontier_BattleTowerLobby_EventScript_28CC70:: @ 828CC70 - msgbox BattleFrontier_BattleTowerLobby_Text_27FA6F, MSGBOX_DEFAULT - release - end + msgbox BattleFrontier_BattleTowerLobby_Text_27FA6F, MSGBOX_DEFAULT + release + end BattleFrontier_BattleTowerLobby_EventScript_28CC7A:: @ 828CC7A - msgbox BattleFrontier_BattleTowerLobby_Text_27FAF3, MSGBOX_DEFAULT - release - end + msgbox BattleFrontier_BattleTowerLobby_Text_27FAF3, MSGBOX_DEFAULT + release + end BattleFrontier_BattleTowerLobby_EventScript_28CC84:: @ 828CC84 - compare VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CCA6 - setvar VAR_0x8005, 7 - special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CCA6 - clearflag FLAG_HIDE_BATTLE_TOWER_REPORTER - return + compare VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CCA6 + setvar VAR_0x8005, 7 + special InterviewBefore + compare VAR_RESULT, 1 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CCA6 + clearflag FLAG_HIDE_BATTLE_TOWER_REPORTER + return BattleFrontier_BattleTowerLobby_EventScript_28CCA6:: @ 828CCA6 - setflag FLAG_HIDE_BATTLE_TOWER_REPORTER - return + setflag FLAG_HIDE_BATTLE_TOWER_REPORTER + return -- cgit v1.2.3 From 5f1fcdd0234d07b54637db05a4e7d658e89e4531 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 1 Nov 2019 17:50:54 -0400 Subject: Document aqua/magma area scripts --- data/scripts/interview.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/scripts/interview.inc') diff --git a/data/scripts/interview.inc b/data/scripts/interview.inc index 2ad8b305e..8512ca105 100644 --- a/data/scripts/interview.inc +++ b/data/scripts/interview.inc @@ -50,7 +50,7 @@ SlateportCity_PokemonFanClub_EventScript_28C879:: @ 828C879 release end -SlateportCity_OceanicMuseum_1F_EventScript_28C883:: @ 828C883 +SlateportCity_OceanicMuseum_1F_EventScript_Reporter:: @ 828C883 lock faceplayer setvar VAR_0x8005, 2 -- cgit v1.2.3 From 033c6cea3bbd982b7c60ee4fe5bee477e8d8773e Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sat, 2 Nov 2019 12:34:53 -0400 Subject: Use YES/NO constants for MSGBOX_YESNO --- data/scripts/interview.inc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'data/scripts/interview.inc') diff --git a/data/scripts/interview.inc b/data/scripts/interview.inc index 8512ca105..8b2b72f75 100644 --- a/data/scripts/interview.inc +++ b/data/scripts/interview.inc @@ -14,9 +14,9 @@ SlateportCity_PokemonFanClub_EventScript_28C7F0:: @ 828C7F0 goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C879 copyvar VAR_0x8009, VAR_0x8006 msgbox SlateportCity_PokemonFanClub_Text_280674, MSGBOX_YESNO - compare VAR_RESULT, 1 + compare VAR_RESULT, YES goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C827 - compare VAR_RESULT, 0 + compare VAR_RESULT, NO goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C85C end @@ -61,17 +61,17 @@ SlateportCity_OceanicMuseum_1F_EventScript_Reporter:: @ 828C883 goto_if_set FLAG_OCEANIC_MUSEUM_MET_REPORTER, SlateportCity_OceanicMuseum_1F_EventScript_28C8C8 setflag FLAG_OCEANIC_MUSEUM_MET_REPORTER msgbox SlateportCity_OceanicMuseum_1F_Text_2811A0, MSGBOX_YESNO - compare VAR_RESULT, 1 + compare VAR_RESULT, YES goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7 - compare VAR_RESULT, 0 + compare VAR_RESULT, NO goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C end SlateportCity_OceanicMuseum_1F_EventScript_28C8C8:: @ 828C8C8 msgbox SlateportCity_OceanicMuseum_1F_Text_28126D, MSGBOX_YESNO - compare VAR_RESULT, 1 + compare VAR_RESULT, YES goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7 - compare VAR_RESULT, 0 + compare VAR_RESULT, NO goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C end @@ -117,9 +117,9 @@ SlateportCity_PokemonFanClub_EventScript_28C943:: @ 828C943 goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA4F copyvar VAR_0x8009, VAR_0x8006 msgbox SlateportCity_PokemonFanClub_Text_280270, MSGBOX_YESNO - compare VAR_RESULT, 1 + compare VAR_RESULT, YES goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C98C - compare VAR_RESULT, 0 + compare VAR_RESULT, NO goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45 end @@ -190,9 +190,9 @@ LilycoveCity_ContestLobby_EventScript_28CA59:: @ 828CA59 goto_if_eq LilycoveCity_ContestLobby_EventScript_28CB21 copyvar VAR_0x8009, VAR_0x8006 msgbox LilycoveCity_ContestLobby_Text_27EF15, MSGBOX_YESNO - compare VAR_RESULT, 1 + compare VAR_RESULT, YES goto_if_eq LilycoveCity_ContestLobby_EventScript_28CA9B - compare VAR_RESULT, 0 + compare VAR_RESULT, NO goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0 end @@ -271,9 +271,9 @@ BattleFrontier_BattleTowerLobby_EventScript_28CB96:: @ 828CB96 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC7A copyvar VAR_0x8009, VAR_0x8006 msgbox BattleFrontier_BattleTowerLobby_Text_27F704, MSGBOX_YESNO - compare VAR_RESULT, 1 + compare VAR_RESULT, YES goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CBD8 - compare VAR_RESULT, 0 + compare VAR_RESULT, NO goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC2E end -- cgit v1.2.3 From a38bff8c17fa416bb7d74db45de0d24a136e2706 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sat, 9 Nov 2019 03:07:32 -0500 Subject: Document Slateport scripts --- data/scripts/interview.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/scripts/interview.inc') diff --git a/data/scripts/interview.inc b/data/scripts/interview.inc index 8b2b72f75..5036e8ec9 100644 --- a/data/scripts/interview.inc +++ b/data/scripts/interview.inc @@ -105,7 +105,7 @@ SlateportCity_OceanicMuseum_1F_EventScript_28C939:: @ 828C939 release end -SlateportCity_PokemonFanClub_EventScript_28C943:: @ 828C943 +SlateportCity_PokemonFanClub_EventScript_Reporter:: @ 828C943 lock faceplayer specialvar VAR_RESULT, sub_80EF8F8 -- cgit v1.2.3 From 7455bd9b9a6c02e5ff567400fde3ea6315be5837 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Tue, 12 Nov 2019 12:55:46 -0500 Subject: Document interview and TV scripts, and misc script clean up --- data/scripts/interview.inc | 276 ++++++++++++++++++++++----------------------- 1 file changed, 137 insertions(+), 139 deletions(-) (limited to 'data/scripts/interview.inc') diff --git a/data/scripts/interview.inc b/data/scripts/interview.inc index 5036e8ec9..4c97d7e03 100644 --- a/data/scripts/interview.inc +++ b/data/scripts/interview.inc @@ -1,27 +1,25 @@ -BattleFrontier_BattleTowerLobby_EventScript_28C7E9:: @ 828C7E9 -LilycoveCity_ContestLobby_EventScript_28C7E9:: @ 828C7E9 -SlateportCity_OceanicMuseum_1F_EventScript_28C7E9:: @ 828C7E9 -SlateportCity_PokemonFanClub_EventScript_28C7E9:: @ 828C7E9 +Interview_EventScript_EndInterview:: @ 828C7E9 special InterviewAfter incrementgamestat GAME_STAT_GOT_INTERVIEWED release end -SlateportCity_PokemonFanClub_EventScript_28C7F0:: @ 828C7F0 - setvar VAR_0x8005, 1 +@ Shares reporter object with TVSHOW_PKMN_FAN_CLUB_OPINIONS +SlateportCity_PokemonFanClub_EventScript_ReporterNoNickname:: @ 828C7F0 + setvar VAR_0x8005, TVSHOW_FAN_CLUB_LETTER special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C879 + compare VAR_RESULT, TRUE + goto_if_eq SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed2 copyvar VAR_0x8009, VAR_0x8006 - msgbox SlateportCity_PokemonFanClub_Text_280674, MSGBOX_YESNO + msgbox SlateportCity_PokemonFanClub_Text_InterviewRequest, MSGBOX_YESNO compare VAR_RESULT, YES - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C827 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_AcceptInterview2 compare VAR_RESULT, NO - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C85C + goto_if_eq SlateportCity_PokemonFanClub_EventScript_DeclineInterview2 end -SlateportCity_PokemonFanClub_EventScript_28C827:: @ 828C827 - msgbox SlateportCity_PokemonFanClub_Text_28073B, MSGBOX_DEFAULT +SlateportCity_PokemonFanClub_EventScript_AcceptInterview2:: @ 828C827 + 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 @@ -29,54 +27,54 @@ SlateportCity_PokemonFanClub_EventScript_28C827:: @ 828C827 lock faceplayer compare VAR_RESULT, 1 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C866 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_SubmitResponse2 compare VAR_RESULT, 0 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C85C + goto_if_eq SlateportCity_PokemonFanClub_EventScript_DeclineInterview2 end -SlateportCity_PokemonFanClub_EventScript_28C85C:: @ 828C85C - msgbox SlateportCity_PokemonFanClub_Text_2805E2, MSGBOX_DEFAULT +SlateportCity_PokemonFanClub_EventScript_DeclineInterview2:: @ 828C85C + msgbox SlateportCity_PokemonFanClub_Text_HereIfYouGetUrgeToTellMe, MSGBOX_DEFAULT release end -SlateportCity_PokemonFanClub_EventScript_28C866:: @ 828C866 - msgbox SlateportCity_PokemonFanClub_Text_280789, MSGBOX_DEFAULT - setvar VAR_0x8005, 1 - goto SlateportCity_PokemonFanClub_EventScript_28C7E9 +SlateportCity_PokemonFanClub_EventScript_SubmitResponse2:: @ 828C866 + msgbox SlateportCity_PokemonFanClub_Text_ThatsAllForInterview2, MSGBOX_DEFAULT + setvar VAR_0x8005, TVSHOW_FAN_CLUB_LETTER + goto Interview_EventScript_EndInterview end -SlateportCity_PokemonFanClub_EventScript_28C879:: @ 828C879 - msgbox SlateportCity_PokemonFanClub_Text_28062E, MSGBOX_DEFAULT +SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed2:: @ 828C879 + msgbox SlateportCity_PokemonFanClub_Text_EnjoyDoingInterviews, MSGBOX_DEFAULT release end SlateportCity_OceanicMuseum_1F_EventScript_Reporter:: @ 828C883 lock faceplayer - setvar VAR_0x8005, 2 + setvar VAR_0x8005, TVSHOW_RECENT_HAPPENINGS special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C939 + compare VAR_RESULT, TRUE + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_AlreadyInterviewed copyvar VAR_0x8009, VAR_0x8006 - goto_if_set FLAG_OCEANIC_MUSEUM_MET_REPORTER, SlateportCity_OceanicMuseum_1F_EventScript_28C8C8 + goto_if_set FLAG_OCEANIC_MUSEUM_MET_REPORTER, SlateportCity_OceanicMuseum_1F_EventScript_RequestInterviewShort setflag FLAG_OCEANIC_MUSEUM_MET_REPORTER - msgbox SlateportCity_OceanicMuseum_1F_Text_2811A0, MSGBOX_YESNO + msgbox SlateportCity_OceanicMuseum_1F_Text_InterviewRequest, MSGBOX_YESNO compare VAR_RESULT, YES - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_AcceptInterview compare VAR_RESULT, NO - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview end -SlateportCity_OceanicMuseum_1F_EventScript_28C8C8:: @ 828C8C8 - msgbox SlateportCity_OceanicMuseum_1F_Text_28126D, MSGBOX_YESNO +SlateportCity_OceanicMuseum_1F_EventScript_RequestInterviewShort:: @ 828C8C8 + msgbox SlateportCity_OceanicMuseum_1F_Text_InterviewRequestShort, MSGBOX_YESNO compare VAR_RESULT, YES - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_AcceptInterview compare VAR_RESULT, NO - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview end -SlateportCity_OceanicMuseum_1F_EventScript_28C8E7:: @ 828C8E7 - msgbox SlateportCity_OceanicMuseum_1F_Text_2812F2, MSGBOX_DEFAULT +SlateportCity_OceanicMuseum_1F_EventScript_AcceptInterview:: @ 828C8E7 + 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 @@ -84,71 +82,71 @@ SlateportCity_OceanicMuseum_1F_EventScript_28C8E7:: @ 828C8E7 lock faceplayer compare VAR_RESULT, 1 - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C926 + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_SubmitResponse compare VAR_RESULT, 0 - goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C + goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview end -SlateportCity_OceanicMuseum_1F_EventScript_28C91C:: @ 828C91C - msgbox SlateportCity_OceanicMuseum_1F_Text_281367, MSGBOX_DEFAULT +SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview:: @ 828C91C + msgbox SlateportCity_OceanicMuseum_1F_Text_LetMeKnowIfYouHaveStory, MSGBOX_DEFAULT release end -SlateportCity_OceanicMuseum_1F_EventScript_28C926:: @ 828C926 - msgbox SlateportCity_OceanicMuseum_1F_Text_2813B9, MSGBOX_DEFAULT - setvar VAR_0x8005, 2 - goto SlateportCity_OceanicMuseum_1F_EventScript_28C7E9 +SlateportCity_OceanicMuseum_1F_EventScript_SubmitResponse:: @ 828C926 + msgbox SlateportCity_OceanicMuseum_1F_Text_ThatsAllForInterview, MSGBOX_DEFAULT + setvar VAR_0x8005, TVSHOW_RECENT_HAPPENINGS + goto Interview_EventScript_EndInterview end -SlateportCity_OceanicMuseum_1F_EventScript_28C939:: @ 828C939 - msgbox SlateportCity_OceanicMuseum_1F_Text_28144D, MSGBOX_DEFAULT +SlateportCity_OceanicMuseum_1F_EventScript_AlreadyInterviewed:: @ 828C939 + msgbox SlateportCity_OceanicMuseum_1F_Text_BetterWriteUpStory, MSGBOX_DEFAULT release end SlateportCity_PokemonFanClub_EventScript_Reporter:: @ 828C943 lock faceplayer - specialvar VAR_RESULT, sub_80EF8F8 - compare VAR_RESULT, 0 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C7F0 - setvar VAR_0x8005, 3 + specialvar VAR_RESULT, IsLeadMonNicknamedOrNotEnglish + compare VAR_RESULT, FALSE + goto_if_eq SlateportCity_PokemonFanClub_EventScript_ReporterNoNickname + setvar VAR_0x8005, TVSHOW_PKMN_FAN_CLUB_OPINIONS special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA4F + compare VAR_RESULT, TRUE + goto_if_eq SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed copyvar VAR_0x8009, VAR_0x8006 - msgbox SlateportCity_PokemonFanClub_Text_280270, MSGBOX_YESNO + msgbox SlateportCity_PokemonFanClub_Text_InterviewRequestHasName, MSGBOX_YESNO compare VAR_RESULT, YES - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C98C + goto_if_eq SlateportCity_PokemonFanClub_EventScript_AcceptInterview compare VAR_RESULT, NO - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45 + goto_if_eq SlateportCity_PokemonFanClub_EventScript_DeclineInterview end -SlateportCity_PokemonFanClub_EventScript_28C98C:: @ 828C98C - msgbox SlateportCity_PokemonFanClub_Text_28034F, MSGBOX_DEFAULT +SlateportCity_PokemonFanClub_EventScript_AcceptInterview:: @ 828C98C + msgbox SlateportCity_PokemonFanClub_Text_HereGoesQuickAnswers, MSGBOX_DEFAULT random 3 copyvar VAR_0x800A, VAR_RESULT switch VAR_RESULT - case 0, SlateportCity_PokemonFanClub_EventScript_28C9C3 - case 1, SlateportCity_PokemonFanClub_EventScript_28C9D1 - case 2, SlateportCity_PokemonFanClub_EventScript_28C9DF + case 0, SlateportCity_PokemonFanClub_EventScript_RandomQuestion1 + case 1, SlateportCity_PokemonFanClub_EventScript_RandomQuestion2 + case 2, SlateportCity_PokemonFanClub_EventScript_RandomQuestion3 end -SlateportCity_PokemonFanClub_EventScript_28C9C3:: @ 828C9C3 - msgbox SlateportCity_PokemonFanClub_Text_280393, MSGBOX_DEFAULT - goto SlateportCity_PokemonFanClub_EventScript_28C9ED +SlateportCity_PokemonFanClub_EventScript_RandomQuestion1:: @ 828C9C3 + msgbox SlateportCity_PokemonFanClub_Text_DescribeFeelingsFirstMetMon, MSGBOX_DEFAULT + goto SlateportCity_PokemonFanClub_EventScript_ContinueInterview end -SlateportCity_PokemonFanClub_EventScript_28C9D1:: @ 828C9D1 - msgbox SlateportCity_PokemonFanClub_Text_2803EF, MSGBOX_DEFAULT - goto SlateportCity_PokemonFanClub_EventScript_28C9ED +SlateportCity_PokemonFanClub_EventScript_RandomQuestion2:: @ 828C9D1 + msgbox SlateportCity_PokemonFanClub_Text_LikenMonToSomethingYouLike, MSGBOX_DEFAULT + goto SlateportCity_PokemonFanClub_EventScript_ContinueInterview end -SlateportCity_PokemonFanClub_EventScript_28C9DF:: @ 828C9DF - msgbox SlateportCity_PokemonFanClub_Text_280454, MSGBOX_DEFAULT - goto SlateportCity_PokemonFanClub_EventScript_28C9ED +SlateportCity_PokemonFanClub_EventScript_RandomQuestion3:: @ 828C9DF + msgbox SlateportCity_PokemonFanClub_Text_WhatAttractedYouAboutMon, MSGBOX_DEFAULT + goto SlateportCity_PokemonFanClub_EventScript_ContinueInterview end -SlateportCity_PokemonFanClub_EventScript_28C9ED:: @ 828C9ED +SlateportCity_PokemonFanClub_EventScript_ContinueInterview:: @ 828C9ED setvar VAR_0x8004, EASY_CHAT_TYPE_FAN_CLUB copyvar VAR_0x8005, VAR_0x8009 setvar VAR_0x8006, 0 @@ -156,48 +154,48 @@ SlateportCity_PokemonFanClub_EventScript_28C9ED:: @ 828C9ED lock faceplayer compare VAR_RESULT, 0 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45 - msgbox SlateportCity_PokemonFanClub_Text_2804AC, MSGBOX_DEFAULT + goto_if_eq SlateportCity_PokemonFanClub_EventScript_DeclineInterview + msgbox SlateportCity_PokemonFanClub_Text_WhatDoPokemonMeanToYou, MSGBOX_DEFAULT setvar VAR_0x8006, 1 call Common_ShowEasyChatScreen lock faceplayer compare VAR_RESULT, 0 - goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45 - msgbox SlateportCity_PokemonFanClub_Text_280523, MSGBOX_DEFAULT + goto_if_eq SlateportCity_PokemonFanClub_EventScript_DeclineInterview + msgbox SlateportCity_PokemonFanClub_Text_ThatsAllForInterview, MSGBOX_DEFAULT copyvar VAR_0x8007, VAR_0x800A - setvar VAR_0x8005, 3 - goto SlateportCity_PokemonFanClub_EventScript_28C7E9 + setvar VAR_0x8005, TVSHOW_PKMN_FAN_CLUB_OPINIONS + goto Interview_EventScript_EndInterview end -SlateportCity_PokemonFanClub_EventScript_28CA45:: @ 828CA45 - msgbox SlateportCity_PokemonFanClub_Text_2805E2, MSGBOX_DEFAULT +SlateportCity_PokemonFanClub_EventScript_DeclineInterview:: @ 828CA45 + msgbox SlateportCity_PokemonFanClub_Text_HereIfYouGetUrgeToTellMe, MSGBOX_DEFAULT release end -SlateportCity_PokemonFanClub_EventScript_28CA4F:: @ 828CA4F - msgbox SlateportCity_PokemonFanClub_Text_28062E, MSGBOX_DEFAULT +SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed:: @ 828CA4F + msgbox SlateportCity_PokemonFanClub_Text_EnjoyDoingInterviews, MSGBOX_DEFAULT release end -LilycoveCity_ContestLobby_EventScript_28CA59:: @ 828CA59 +LilycoveCity_ContestLobby_EventScript_Reporter:: @ 828CA59 lock faceplayer - goto_if_set FLAG_TEMP_2, LilycoveCity_ContestLobby_EventScript_28CB21 - setvar VAR_0x8005, 6 + goto_if_set FLAG_TEMP_2, LilycoveCity_ContestLobby_EventScript_AlreadyInterviewed + setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_POKEMON_PROFILE special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CB21 + compare VAR_RESULT, TRUE + goto_if_eq LilycoveCity_ContestLobby_EventScript_AlreadyInterviewed copyvar VAR_0x8009, VAR_0x8006 - msgbox LilycoveCity_ContestLobby_Text_27EF15, MSGBOX_YESNO + msgbox LilycoveCity_ContestLobby_Text_InterviewRequest, MSGBOX_YESNO compare VAR_RESULT, YES - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CA9B + goto_if_eq LilycoveCity_ContestLobby_EventScript_AcceptInterview compare VAR_RESULT, NO - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0 + goto_if_eq LilycoveCity_ContestLobby_EventScript_DeclineInterview end -LilycoveCity_ContestLobby_EventScript_28CA9B:: @ 828CA9B - msgbox LilycoveCity_ContestLobby_Text_27EFE7, MSGBOX_DEFAULT +LilycoveCity_ContestLobby_EventScript_AcceptInterview:: @ 828CA9B + msgbox LilycoveCity_ContestLobby_Text_DescribeContest, MSGBOX_DEFAULT setvar VAR_0x8004, EASY_CHAT_TYPE_CONTEST_INTERVIEW copyvar VAR_0x8005, VAR_0x8009 setvar VAR_0x8006, 0 @@ -205,20 +203,20 @@ LilycoveCity_ContestLobby_EventScript_28CA9B:: @ 828CA9B lock faceplayer compare VAR_RESULT, 1 - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CADA + goto_if_eq LilycoveCity_ContestLobby_EventScript_SubmitResponse compare VAR_RESULT, 0 - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0 + goto_if_eq LilycoveCity_ContestLobby_EventScript_DeclineInterview end -LilycoveCity_ContestLobby_EventScript_28CAD0:: @ 828CAD0 - msgbox LilycoveCity_ContestLobby_Text_27F1EF, MSGBOX_DEFAULT +LilycoveCity_ContestLobby_EventScript_DeclineInterview:: @ 828CAD0 + msgbox LilycoveCity_ContestLobby_Text_PleaseDoShareStoryWithMe, MSGBOX_DEFAULT release end -LilycoveCity_ContestLobby_EventScript_28CADA:: @ 828CADA +LilycoveCity_ContestLobby_EventScript_SubmitResponse:: @ 828CADA setvar VAR_0x8004, 24 special SetContestCategoryStringVarForInterview - msgbox LilycoveCity_ContestLobby_Text_27F03E, MSGBOX_DEFAULT + msgbox LilycoveCity_ContestLobby_Text_WhatImageWhenYouHearX, MSGBOX_DEFAULT setvar VAR_0x8004, EASY_CHAT_TYPE_CONTEST_INTERVIEW copyvar VAR_0x8005, VAR_0x8009 setvar VAR_0x8006, 1 @@ -226,22 +224,22 @@ LilycoveCity_ContestLobby_EventScript_28CADA:: @ 828CADA lock faceplayer compare VAR_RESULT, 0 - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0 - msgbox LilycoveCity_ContestLobby_Text_27F0EC, MSGBOX_DEFAULT + goto_if_eq LilycoveCity_ContestLobby_EventScript_DeclineInterview + msgbox LilycoveCity_ContestLobby_Text_ThatsAllForInterview, MSGBOX_DEFAULT setflag FLAG_TEMP_2 - setvar VAR_0x8005, 6 - goto LilycoveCity_ContestLobby_EventScript_28C7E9 + setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_POKEMON_PROFILE + goto Interview_EventScript_EndInterview end -LilycoveCity_ContestLobby_EventScript_28CB21:: @ 828CB21 - msgbox LilycoveCity_ContestLobby_Text_27F23F, MSGBOX_DEFAULT +LilycoveCity_ContestLobby_EventScript_AlreadyInterviewed:: @ 828CB21 + msgbox LilycoveCity_ContestLobby_Text_LookingForwardToNextContest, MSGBOX_DEFAULT release end LilycoveCity_ContestLobby_EventScript_28CB2B:: @ 828CB2B compare VAR_LINK_CONTEST_ROOM_STATE, 2 goto_if_ne LilycoveCity_ContestLobby_EventScript_28CB95 - setvar VAR_0x8005, 6 + setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_POKEMON_PROFILE special InterviewBefore compare VAR_RESULT, 1 goto_if_eq LilycoveCity_ContestLobby_EventScript_28CB95 @@ -261,86 +259,86 @@ LilycoveCity_ContestLobby_EventScript_28CB91:: @ 828CB91 LilycoveCity_ContestLobby_EventScript_28CB95:: @ 828CB95 return -BattleFrontier_BattleTowerLobby_EventScript_28CB96:: @ 828CB96 +BattleFrontier_BattleTowerLobby_EventScript_Reporter:: @ 828CB96 lock faceplayer - goto_if_set FLAG_TEMP_2, BattleFrontier_BattleTowerLobby_EventScript_28CC7A - setvar VAR_0x8005, 7 + goto_if_set FLAG_TEMP_2, BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed + setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_BATTLE_TOWER_PROFILE special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC7A + compare VAR_RESULT, TRUE + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed copyvar VAR_0x8009, VAR_0x8006 - msgbox BattleFrontier_BattleTowerLobby_Text_27F704, MSGBOX_YESNO + msgbox BattleFrontier_BattleTowerLobby_Text_InterviewRequest, MSGBOX_YESNO compare VAR_RESULT, YES - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CBD8 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_AcceptInterview compare VAR_RESULT, NO - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC2E + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_DeclineInterview end -BattleFrontier_BattleTowerLobby_EventScript_28CBD8:: @ 828CBD8 - message BattleFrontier_BattleTowerLobby_Text_27F7BA +BattleFrontier_BattleTowerLobby_EventScript_AcceptInterview:: @ 828CBD8 + message BattleFrontier_BattleTowerLobby_Text_HowDidBattleTowerTurnOut waitmessage multichoice 20, 8, MULTI_SATISFACTION, 1 copyvar VAR_0x8008, VAR_RESULT compare VAR_RESULT, 0 - call_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC38 + call_if_eq BattleFrontier_BattleTowerLobby_EventScript_Satisfied compare VAR_RESULT, 1 - call_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC41 - msgbox BattleFrontier_BattleTowerLobby_Text_27F97A, MSGBOX_DEFAULT + call_if_eq 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 compare VAR_RESULT, 1 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC4A + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_SubmitResponse compare VAR_RESULT, 0 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC70 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_CancelInterview end -BattleFrontier_BattleTowerLobby_EventScript_28CC2E:: @ 828CC2E - msgbox BattleFrontier_BattleTowerLobby_Text_27F84C, MSGBOX_DEFAULT +BattleFrontier_BattleTowerLobby_EventScript_DeclineInterview:: @ 828CC2E + msgbox BattleFrontier_BattleTowerLobby_Text_SorryWeDisturbedYou, MSGBOX_DEFAULT release end -BattleFrontier_BattleTowerLobby_EventScript_28CC38:: @ 828CC38 - msgbox BattleFrontier_BattleTowerLobby_Text_27F8AE, MSGBOX_DEFAULT +BattleFrontier_BattleTowerLobby_EventScript_Satisfied:: @ 828CC38 + msgbox BattleFrontier_BattleTowerLobby_Text_ObviousYouHadGreatBattle, MSGBOX_DEFAULT return -BattleFrontier_BattleTowerLobby_EventScript_28CC41:: @ 828CC41 - msgbox BattleFrontier_BattleTowerLobby_Text_27F921, MSGBOX_DEFAULT +BattleFrontier_BattleTowerLobby_EventScript_Dissatisfied:: @ 828CC41 + msgbox BattleFrontier_BattleTowerLobby_Text_DifficultToMakeBattleTurnOutAsPlanned, MSGBOX_DEFAULT return -BattleFrontier_BattleTowerLobby_EventScript_28CC4A:: @ 828CC4A +BattleFrontier_BattleTowerLobby_EventScript_SubmitResponse:: @ 828CC4A compare VAR_RESULT, 0 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC70 - msgbox BattleFrontier_BattleTowerLobby_Text_27F9FD, MSGBOX_DEFAULT + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_CancelInterview + msgbox BattleFrontier_BattleTowerLobby_Text_ThatsGreatLine, MSGBOX_DEFAULT setflag FLAG_TEMP_2 copyvar VAR_0x8004, VAR_0x8008 - setvar VAR_0x8005, 7 - goto BattleFrontier_BattleTowerLobby_EventScript_28C7E9 + setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_BATTLE_TOWER_PROFILE + goto Interview_EventScript_EndInterview end -BattleFrontier_BattleTowerLobby_EventScript_28CC70:: @ 828CC70 - msgbox BattleFrontier_BattleTowerLobby_Text_27FA6F, MSGBOX_DEFAULT +BattleFrontier_BattleTowerLobby_EventScript_CancelInterview:: @ 828CC70 + msgbox BattleFrontier_BattleTowerLobby_Text_SilentType, MSGBOX_DEFAULT release end -BattleFrontier_BattleTowerLobby_EventScript_28CC7A:: @ 828CC7A - msgbox BattleFrontier_BattleTowerLobby_Text_27FAF3, MSGBOX_DEFAULT +BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed:: @ 828CC7A + msgbox BattleFrontier_BattleTowerLobby_Text_LookingForwardToNextBattle, MSGBOX_DEFAULT release end -BattleFrontier_BattleTowerLobby_EventScript_28CC84:: @ 828CC84 +BattleFrontier_BattleTowerLobby_EventScript_ShowOrHideReporter:: @ 828CC84 compare VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CCA6 - setvar VAR_0x8005, 7 + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_HideReporter + setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_BATTLE_TOWER_PROFILE special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CCA6 + compare VAR_RESULT, TRUE + goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_HideReporter clearflag FLAG_HIDE_BATTLE_TOWER_REPORTER return -BattleFrontier_BattleTowerLobby_EventScript_28CCA6:: @ 828CCA6 +BattleFrontier_BattleTowerLobby_EventScript_HideReporter:: @ 828CCA6 setflag FLAG_HIDE_BATTLE_TOWER_REPORTER return -- cgit v1.2.3 From af83b41dd19a49121f23d188015959d8072e4d7f Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sun, 10 Nov 2019 10:59:15 -0500 Subject: Document Contest Hall berry blenders and misc --- data/scripts/interview.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/scripts/interview.inc') diff --git a/data/scripts/interview.inc b/data/scripts/interview.inc index 5036e8ec9..c635144f3 100644 --- a/data/scripts/interview.inc +++ b/data/scripts/interview.inc @@ -180,7 +180,7 @@ SlateportCity_PokemonFanClub_EventScript_28CA4F:: @ 828CA4F release end -LilycoveCity_ContestLobby_EventScript_28CA59:: @ 828CA59 +LilycoveCity_ContestLobby_EventScript_Reporter:: @ 828CA59 lock faceplayer goto_if_set FLAG_TEMP_2, LilycoveCity_ContestLobby_EventScript_28CB21 -- cgit v1.2.3 From ef8370566f14c22b9927db09b8ff69a98049c796 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sun, 10 Nov 2019 21:54:00 -0500 Subject: Document Contest scripts --- data/scripts/interview.inc | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'data/scripts/interview.inc') diff --git a/data/scripts/interview.inc b/data/scripts/interview.inc index c635144f3..2ae93ce70 100644 --- a/data/scripts/interview.inc +++ b/data/scripts/interview.inc @@ -238,27 +238,27 @@ LilycoveCity_ContestLobby_EventScript_28CB21:: @ 828CB21 release end -LilycoveCity_ContestLobby_EventScript_28CB2B:: @ 828CB2B - compare VAR_LINK_CONTEST_ROOM_STATE, 2 - goto_if_ne LilycoveCity_ContestLobby_EventScript_28CB95 +LilycoveCity_ContestLobby_EventScript_TryShowContestReporter:: @ 828CB2B + compare VAR_CONTEST_HALL_STATE, 2 + goto_if_ne LilycoveCity_ContestLobby_EventScript_DontShowContestReporter setvar VAR_0x8005, 6 special InterviewBefore - compare VAR_RESULT, 1 - goto_if_eq LilycoveCity_ContestLobby_EventScript_28CB95 - switch VAR_CONTEST_LOCATION - case 0, LilycoveCity_ContestLobby_EventScript_28CB95 - case 2, LilycoveCity_ContestLobby_EventScript_28CB91 - case 1, LilycoveCity_ContestLobby_EventScript_28CB91 - case 3, LilycoveCity_ContestLobby_EventScript_28CB91 - case 4, LilycoveCity_ContestLobby_EventScript_28CB91 - case 5, LilycoveCity_ContestLobby_EventScript_28CB95 - end - -LilycoveCity_ContestLobby_EventScript_28CB91:: @ 828CB91 + compare VAR_RESULT, TRUE + goto_if_eq 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:: @ 828CB91 clearflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_REPORTER return -LilycoveCity_ContestLobby_EventScript_28CB95:: @ 828CB95 +LilycoveCity_ContestLobby_EventScript_DontShowContestReporter:: @ 828CB95 return BattleFrontier_BattleTowerLobby_EventScript_28CB96:: @ 828CB96 -- cgit v1.2.3