pokeemerald/data/scripts/interview.inc
2019-11-02 16:36:43 -05:00

347 lines
11 KiB
PHP

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, YES
goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C827
compare VAR_RESULT, NO
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_Reporter:: @ 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, YES
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7
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, YES
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7
compare VAR_RESULT, NO
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, YES
goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C98C
compare VAR_RESULT, NO
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, YES
goto_if_eq LilycoveCity_ContestLobby_EventScript_28CA9B
compare VAR_RESULT, NO
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, YES
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CBD8
compare VAR_RESULT, NO
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