%%
%% *:Q_MECHA_ARENA_CHALLENGE
%%	Contains a rival arena pilot
%%
%%  PARAM1: The Arena Manager
%%  PARAM2: The Arena Itself
%%
%%  %1%'s persona needs a GoBigWin script, to be called if ArenaWins = 10.
%%   If this is not the case for some specific arena, you better not use
%%   a standard challenger as the 10th or final match.
%%
%% The persona for the arena manager must contain a .%id%_Init script, to be called
%% when the PC reaches this particular rung of the arena ladder.
%% Said script should set the QuestID to %id%.
%%
%% ASSERT: If .%id%_Init is called, the PC is in the same scene as the arena manager and
%%  the next fight is ready to go.
%%
%% You may temporarily mark a challenger as *:Q_DEBUG_MECHA_ARENA_CHALLENGE to load it
%% into the debugging arena.

%% REQUIREMENTS:
%%  Maquise Spinner:	1 Low	2 Med	1 Hi
%%  Cayley Rock:	1 Low	1 Med
%%  Gaos Spinner:	1 Low	2 Med	2 Hi
%%  Yatate Spinner:	1 Low	2 Med	1 Hi

%%
%% Low Level Competitors
%%

Content
	name <PC vs Tama>
	requires <*:Q_MECHA_ARENA_CHALLENGE (!Ne|!Lo) L5PAT>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>
sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <Your next match is against a young mecha pilot named Tama. She grew up on an asteroid mining station, so she's been handling mecha since she's been old enough to walk. You can find her at %name4% .>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Msg%id%03 <Tama doesn't have much experience in real combat yet, so maybe you can use that to your advantage. She's much better at defense than she is at offense.>
	% Prompt%id%01 <Do you have any hints for me?>
	Msg%id%01 <%JS2の次の対戦は Tama という若いパイロット%JG_DANE。アステロイド鉱山のステーションで育っていて、歩きはじめた頃にはもうメックを扱っていた子な%JG_NDA。彼女には %name4% に行けば会える%JG_YO。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <Tama はまだ実戦経験が少ないから、そこが付け入る隙になる%JV_DAROU。彼女は攻めるよりも守るほうがずっと得意な%JG_NDA。>
	Prompt%id%01 <何かアドバイスは？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndChat Say 9>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	GoFirstTime <NewChat Say 5 V= 1 1 AddCHat 3 AddChat 4>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	result3 <NewChat Say 6 AddReact d10 AddChat 1 AddChat 2>
	result4 <EndChat Say 7 AddCheerful -d6  AddChat 5>
	result5 <NewChat Say 8 AddChat 1 AddChat 2>
	% Msg1 <I'm bored! Come on and let's start the match.>
	% Msg2 <Wow... Fighting mecha is way harder than blasting rocks. Rocks don't shoot back. You can tell %name1% that our match is over.>
	% Msg3 <I'm sorry, but I don't think we can have that match anymore...>
	% Msg4 <So, do you want to go to the arena now? I've been looking forward to this.>
	% Msg5 <Aha, \PC ! %name1% told me you were coming. I challenge you to a duel at \SCENE %2% !>
	% Msg6 <Ooh, I can't wait. This is going to be my first arena match. Do you want to head out now?>
	% Msg7 <Really? Ashes... this is my first time around, so I'm still learning how things work. Sorry about ruining that.>
	% Msg8 <As long as you're here, though, I guess we can get started anyways. Are you all ready to head over to the arena?>
	% Msg9 <Let's get this game rolling. Yee-haw!>
	% Prompt1 <I'm all ready to go.>
	% Prompt2 <I need a bit more time to get ready first.>
	% Prompt3 <I accept your challenge!>
	% Prompt4 <Wait, I thought I was supposed to challenge you.>
	% Prompt5 <[Continue]>
	Msg1 <退屈！ さっさと始めようよ。>
	Msg2 <わあ……メックで戦うのって、岩をぶっ壊すのよりずっと難しいのね。岩は撃ち返してこないもの。試合は終わったって %name1% に言ってきていいよ。>
	Msg3 <残念、でももう試合とかできないんじゃないかな……。>
	Msg4 <ええと、じゃあ今からアリーナに行ける？ ずっと楽しみにしてたんだよ。>
	Msg5 <あはっ、\PC！ %name1% から%JS2が来るって聞いてたよ。オマエに \SCENE %2% での決闘をもーしこむ！>
	Msg6 <おおっ、楽しみ！ %JF2はこれが初めてのアリーナバトルなんだ。もうすぐに始めちゃう？>
	Msg7 <え、ホント？ うわぁ……ここ来たの初めてだから、まだどうやるかよく分かんないんだ。なんかメチャクチャでゴメンね。>
	Msg8 <でも、%JS2がここにいるんだから、とりあえず始めればいいのかな？ アリーナに行く準備はもうできてる？>
	Msg9 <さあゲームが始まるよ！ やっふぅ！>
	Prompt1 <準備は万端%JG_DA。>
	Prompt2 <もう少し準備する時間がいる%JV_F_WA。>
	Prompt3 <受けて立つ%JV_ZO%JV_SIL。>
	Prompt4 <待った。こっちが挑戦者だったんじゃないの%JV_KA_Q%JV_SIL？>
	Prompt5 <[続ける]>
end
inv
	NPC Mecha Pilot
	name <Tama>
	SetFaction 13
	% CHAT_ATTACK <Woo-hoo!>
	CHAT_ATTACK <わっふぅ！>
	% bio <Tama Smitt is the fourth child in a family of eight. She dreams of becoming a famous cavalier so they can afford to leave Cayley Rock.>
	bio <Tama Smitt は８人家族の４番目の子供だ。有名なメック乗りになって、家族と一緒に Cayley Rock を出ていける金を稼ぐことを夢見ている。>
	SDL_Portrait <por_f_ladi_tama(J--).png>
	SDL_Colors <152 190 181 172 114 89 123 63 0>
	chardesc Female Cheerful Easygoing Spiritual
	StatLine 14 13 17 10 16 12 11 15
	Age -3
	SetTheme 4
	SetSpecSkill 3
	Conversation
	Repair
	MOTIVATION:GreaterGood
end

Content
	name <PC vs Aran>
	requires <*:Q_MECHA_ARENA_CHALLENGE (!Ne|!Lo) ~L5PAT>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <For the next fight, you'll be facing a rocket star named Aran. He's young but they say he has a lot of talent. The two of you can meet at %name4% and work out a fight time.>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Msg%id%03 <Aran is a perfectionist. His usual tactic is to make called shots against his opponent's weak points. Don't let him pin you down or you'll lose for sure.>
	% Prompt%id%01 <What's \PPR %3% specialty?>
	Msg%id%01 <次の戦いでは、期待の新星 Aran と対峙することになる%JG_YO。まだ若い%JG_GA、才能に満ち溢れているとか…… %name4% に行けば会えるから、スケジュールはそこで決めて%JG_R。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <Aran は完璧主義者%JG_DA。敵の弱点を集中して攻撃するのが常套手段らしいから、足止めされたら間違いなく負け%JG_DAYO。>
	Prompt%id%01 <どんな戦い方の人？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndChat Say 6>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	*GoFirstTime <*PCChallengeNPC GoMakeChallenge GoWussOut>
	GoMakeChallenge <NewChat Say 5 V= 1 1 AddCHat 1 AddChat 2>
	*GoWussOut <*GodImBored>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg1 <Hey, did you forget about our match? I'm waiting in \SCENE %2% .>
	% Msg2 <It seems I still have a lot to learn. Go tell %name1% that you won our fight.>
	% Msg3 <Our duel is off. Something happened to %name1%.>
	% Msg4 <I've been waiting to start our duel. Are you ready yet?>
	% Msg5 <Finally. I was getting bored waiting for a new challenger. My last fight wasn't very tough at all. Are you ready to start or did you just come here now to tease me?>
	% Msg6 <I'll try not to humiliate you too badly, but I can't make any promises.>
	% Prompt1 <Let's go to \SCENE %2% .>
	% Prompt2 <Sorry, I need some time to prepare.>
	Msg1 <おおい、試合のことを忘れた%JG_Q？ \SCENE %2% で待ってるぞ。>
	Msg2 <まだ%JF2には学ぶべきことが多いようだ。%JS2の勝ちだと %name1% に伝えてくるといい。>
	Msg3 <決闘は中止だ。%name1% に何かがあったらしい。>
	Msg4 <試合を始めるのを待ってるぞ。まだやれないのか？>
	Msg5 <やっとか……挑戦者が現れなくて退屈していたところ%JG_DAYO。この前の戦いはまるで手応えのないものだったから%JV_NA。さあ始めよう、それとも単にからかいに来ただけか？>
	Msg6 <あまり恥をかかせないように注意はする%JG_GA、確約はできない%JV_NA。>
	Prompt1 <\SCENE %2% に行%JV_KOU。>
	Prompt2 <悪いけど、もう少し準備に時間がいる%JV_F_WA。>
end
inv
	NPC Rocket Star
	name <Aran>
	% bio <Aran Ballard hails from Yatate Spinner. When he's not piloting he enjoys playing guitar; despite being conceited about nearly everything else, Aran is very self conscious about his musical talent.>
	bio <Aran Ballard は Yatate Spinner 出身だ。メックに乗っていない時にはギターを趣味にしている。あらゆる事に対して自賛家である彼だが、音楽の才能に関してだけはやけに他人の評価を気にするらしい。>
	chardesc Male Sociable Passionate Pragmatic
	SDL_PORTRAIT <por_m_aran(JC-).png>
	SDL_COLORS <56 30 81 255 212 195 245 213 160>
	StatLine 15 11 14 13 13 17 10 16
	Age -1
	SetTheme 3
	SetSpecSkill 16
	SpotWeakness
	Intimidation
	Performance
	MOTIVATION:Professional
end


Content
	name <PC vs Keight>
	requires <*:Q_MECHA_ARENA_CHALLENGE (!Ne|!Lo) L5PAT>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <We have a special match lined up next. You'll be fighting a young privateer named Keight.>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Msg%id%03 <You'll be able to find her at %name4% . Keight was born into the AMX program; she's trained to be a mecha pilot all her life. She has a lot of talent, but hasn't been tested in real combat yet.>
	% Prompt%id%01 <Where can I find this Keight?>
	Msg%id%01 <次は特別な試合が予定されてる%JG_NE。若くして Privateers に所属している Keight との対戦%JG_DAYO。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <%name4% に行けば会える%JG_YO。Keight は AMX プログラムの一部として生まれて、これまでの人生をずっとメックパイロットになるために過ごしてきた%JV_F_NO。才能の塊だ%JG_GA、まだ実戦の経験がない%JG_NDA。>
	Prompt%id%01 <その Keight に会うにはどこへ？>

	Persona 3
	% V1 = First time chat counter
	% V2 = First time match counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndChat Say 6>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	GoFirstTime <NewChat Say 5 V= 1 1 AddChat 1 AddChat 2 AddChat 3>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <V+ 2 1 SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	result3 <NewChat Say 7 AddSociable d10 Goto GoStartCombat>
	% Msg1 <Did you forget that we have an arena fight scheduled? I'm getting bored.>
	% Msg2_1 <You beat me. I see now that real battle isn't like a simulator. Go find %name1%... \SPR %1% 'll have your prize money.>
	% CMsg2_1 <if= V2 1 Accept>
	% Msg2_2 <One for you, and one for me... Looks like I need to practice more. Go talk with %name1% about your prize money.>
	% CMsg2_2 <ifG V2 1 Accept>
	% Msg3 <I can't believe that %name1% died... This is the end of \SCENE %2% .>
	% Msg4 <Are you ready to fight?>
	% Msg5 <Ah, you must be my challenger. I've wasted enough time with pointless talk; are you ready to fight me?>
	% Msg6_1 <I've trained since birth for this moment... my first taste of real combat!>
	% CMsg6_1 <if= V2 1 Accept>
	% Msg6_2 <Have you improved since the last time we met? Well, maybe I have too!>
	% CMsg6_2 <ifG V2 1 Accept>
	% Msg7 <%name1% must have told you that my name is Keight. Stop wasting time; meet me at the arena and we'll start this.>
	% Prompt1 <I'm ready.>
	% Prompt2 <Not now. I'll be back later.>
	% Prompt3 <Wait, my name's \PC , and you are...?>
	Msg1 <%JF2との試合が組まれているって忘れてる%JG_Q？ こっちは退屈してる%JG_NDA。>
	Msg2_1 <%JS2の勝ち%JG_DANE。実戦はシミュレーターとは違うってよく分かった……賞金は %name1% が持っているから、\SPR %1%のところに戻って。>
	CMsg2_1 <if= V2 1 Accept>
	Msg2_2 <これでおあいこ……%JF2ももっと腕を上げないといけないみたい%JG_DANE。賞金のことは %name1% に聞いて。>
	CMsg2_2 <ifG V2 1 Accept>
	Msg3 <まさか %name1% が死んだなんて……これで \SCENE %2% も終わり%JG_DANE。>
	Msg4 <戦う準備はいい%JV_SIL？>
	Msg5 <ああ、%JS2が%JF2の相手%JG_DANE。無駄話はもう十分……戦いの準備はできてる%JV_SIL？>
	Msg6_1 <%JF2はこの時のために生まれてきた……さあ、初めての実戦の味をちょうだい！>
	CMsg6_1 <if= V2 1 Accept>
	Msg6_2 <あの時から少しは腕を上げた？ 私も同じよ%JV_SIL！>
	CMsg6_2 <ifG V2 1 Accept>
	Msg7 <名前%JV_SIL？ Keight だと %name1% から聞いているはずよ%JV_SIL。時間を無駄にしないで……さっさとアリーナに行って始めましょう%JV_SIL。>
	Prompt1 <できてる%JV_F_WA。>
	Prompt2 <今はまだ。また戻ってくる%JV_F_WA。>
	Prompt3 <待った。%JF2の名前は \PC %JV_M_DA%JV_F_YO、そっちは？>
end
inv
	NPC Mecha Pilot
	name <Keight>
	% bio <Keight C-44 has trained since birth to be a mecha pilot. Her two fathers and three mothers were selected from among the greatest cavaliers in L5.>
	bio <Keight C-44 は生まれた時からメックパイロットになるべく訓練されていた。彼女の２人の父、そして３人の母は、L5 の最も優れたメック乗りの中から選ばれた。>
	chardesc Female Shy Passionate Pragmatic Heroic
	SDL_Portrait <por_f_keight(J--).png>
	SDL_Colors <112 28 28  255 230 210  56 25 81>
	StatLine 17 13 14 17 14 12 13 8
	Age -2
	SetTheme 2
	SetSpecSkill 1
	SetFaction 6
end

Content
	name <PC vs. Hammel>
	requires <*:Q_MECHA_ARENA_CHALLENGE (!Ne|!Lo) L5PAT>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is his sister
	% E5 is the scene where they are
	Element3 <Prefab>
	Place3 <5 (Citizens) pass ally>
	Element4 <Prefab>
	Place4 <5 (Citizens) pass ally>
	Element5 <Scene Building Public>

	SubPlot1 <*Q_ProveMyself 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02 AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <For the next battle, you'll be facing a young pilot named %name3%. You can find him in %name5%.>
	% Msg%id%02 <%name1% sent you to battle Hammel in arena combat; \SPR %3% can be found in %name5%.>
	% Msg%id%03 <Not much. Hammel is a new pilot, just starting out. He has a lot of promise but not very much experience yet.>
	% Prompt%id%01 <What can you tell me about him?>
	Msg%id%01 <次の戦いは、%name3% という若いパイロットが相手%JG_DAYO。%name5% に行けば会える%JV_F_WA。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name5% にいる。>
	Msg%id%03 <%JR_NO、特には。Hammel は本当に新人な%JG_NDA。有望ではある%JG_GA、経験がまだまだ足りない%JG_NE。>
	Prompt%id%01 <相手について何か情報は？>

	Persona 3
	% V1 = Have spoken about challenge once already
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	*GoThemeInfo <*THEME_EXPO&Enemy NA>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater NewChat if= V1 1 else GoFirstTime Say 4 AddChat 1 AddChat 2>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %5% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	GoFirstTime <NewChat Say 5 V= 1 1 AddChat 3 AddChat 4 AddChat 5>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	result3 <NewChat Say 6 AddChat 1 AddChat 2>
	result4 <AddEasygoing -d10 AddReact -d10 Goto result3>
	result5 <AddCheerful d10  Goto result3>
	% Msg1 <I'm waiting for you at the arena. Hurry up and get over here.>
	% Msg2 <You beat me. You better go talk with %name1% about the reward.>
	% Msg3 <Too bad about what happened to %name1%... I guess there's not going to be any more fights until we get a new arena manager.>
	% Msg4 <Are you ready to fight me now?>
	% Msg5_1 <Are you the guy they sent to challenge me? Wow, I mean, I've heard of you before. It's an honor to be paired against such an accomplished mecha pilot.>
	% CMsg5_1 <ifG PCRenown 20 Accept>
	% Msg5_2 <So, you're the one they sent to challenge me, huh? That's cool.>
	% CMsg5_2 <ifG 21 PCRenown Accept>
	% Msg6 <Great. Um... do you have to get your gear ready, or should we go to the arena right away?>
	% Prompt1 <Let's do it.>
	% Prompt2 <No, not right now.>
	% Prompt3 <Shall we get started?>
	% Prompt4 <It will be my pleasure to defeat you.>
	% Prompt5 <I've heard good things about you.>
	Msg1 <アリーナで%JS2を待ってる。さっさと来いよ。>
	Msg2 <%JS2の勝ちだ。報酬のことは %name1% に聞いて%JG_R。>
	Msg3 <%name1% のことは残念だった……新しいマネージャーが見つかるまでは、試合はお預けだな。>
	Msg4 <%JF2と戦う準備はできたのか？>
	Msg5_1 <%JS2が%JF2に挑戦するという相手か？ へえ……いや、%JS2のことは前に聞いたことがあるから。実績のあるパイロットと戦えて光栄だ。>
	CMsg5_1 <ifG PCRenown 20 Accept>
	Msg5_2 <それじゃ、%JS2が%JF2に挑戦するという相手なのか？ そりゃいいね。>
	CMsg5_2 <ifG 21 PCRenown Accept>
	Msg6 <そりゃ凄い。じゃあ……何か準備は要るか？ それともすぐアリーナに行けるか？>
	Prompt1 <や%JV_ROUか。>
	Prompt2 <%JR_NO、今はまだ。>
	Prompt3 <始め%JV_YOUか？>
	Prompt4 <喜んで叩きのめさせてもらう%JG_YO。>
	Prompt5 <そっちの情報は仕入れ済み%JG_DAYO。>

	Persona 4
	% rumor%id1% <Lehya is worried about her brother Hammel.>
	rumor%id1% <Lehya は弟の Hammel のことを心配している>
	% V1 = Have concluded the quest
	% V2 = Have spoken about loss of confidence
	greeting <if= V1 1 else GoCheckSuccess Goto GoMiscChat>
	*GoMiscChat <*MISC_CHATTER>
	GoCheckSuccess <if= PlotStatus %plotid% -1 else GoCheckProof ifNPCOK %3% else GoCheckDeath NewChat Say 1 V= 1 1 PCFriend %4% XPV 100>
	GoCheckProof <if= PlotStatus %plotid% %id1% else GoCheckDeath if= V2 0 else GoRepeat NewChat Say 2 AddChat 1 AddChat 2 AddChat 3>
	GoRepeat <NewChat Say 3>
	GoCheckDeath <ifNPCDead %3% else GoGreet NewChat Say 9 V= 1 1>
	*GoGreet <*NiceToMeetYou GoChat>
	GoChat <NewChat Say 10>
	result1 <NewChat V= 2 1 Say 4 AddChat 4 AddChat 5>
	result2 <NewChat V= 2 1 Say 5 AddSociable -d4 AddReact -d4>
	result3 <NewChat V= 2 1 Say 6 AddCheerful -d6 AddChat 4 AddChat 5>
	result4 <NewChat Say 7>
	result5 <NewChat Say 8 AddSociable -d10>
	% Msg1 <Thank you for helping my brother to find his spirit. I, too, feel like I don't have to worry any more.>
	% Msg2 <I'm worried about my brother, Hammel. Ever since you defeated him at the arena, he's lost his confidence. I know that he looks up to you as a fellow pilot... Could you help him regain his fighting spirit?>
	% Msg3 <I'm worried about my brother, Hammel. Ever since you defeated him at the arena, he's lost his confidence.>
	% Msg4 <I don't, but... It's what he feels he has to do. This feeling is killing him on the inside. I'd rather see him back in the arena than see him like this.>
	% Msg5 <I know, it's not your problem. I wasn't trying to blame you for it. Hammel has to learn how to accept the risks of what he does... he has to see that one setback doesn't make him a failure.>
	% Msg6 <I think that's true. Still, it would be easier if he had someone to talk with. He has to learn that one setback doesn't make him a failure.>
	% Msg7 <Thank you.>
	% Msg8 <You may be right...>
	% Msg9 <If only Hammel had listened to me, he could still be alive...>
	% Msg10 <My brother Hammel wants to be an arena champion. I want him to succeed, but I worry that he's going to get hurt.>
	% Prompt1 <I thought you didn't want him fighting...>
	% Prompt2 <I don't care about his problems.>
	% Prompt3 <Your brother just needs to grow up.>
	% Prompt4 <Alright, I'll speak with him.>
	% Prompt5 <He can work this out by himself.>
	Msg1 <弟の勇気を取り戻してくれてありがとう。%JF2も、なんだか、あの子のことはもう心配いらない気がしてるんです。>
	Msg2 <弟の Hammel のことが心配なんです。アリーナで%JS2に負けてから、すっかり自信を無くしてしまったみたいで……%JS2のことはパイロットとして尊敬しているようなので、どうか戦う気持ちを蘇らせてやってはいただけませんか？>
	Msg3 <弟の Hammel のことが心配なんです。アリーナで%JS2に負けてから、すっかり自信を無くしてしまったみたいで。>
	Msg4 <それはもちろんです……でも、それが使命だと彼自身が思っているようだから。あんなままでは、心が死んでしまう……それよりはまだ、アリーナで戦う姿を見ていたいんです。>
	Msg5 <ええ、%JS2の問題ではないわ。それを責めているわけではないんです。Hammel は自分のやっていることのリスクとどう向き合うかを学ばないと……ひとつの躓きを挫折にしてはいけないんです。>
	Msg6 <それはその通りだと思います。でも、お話のできる相手がいたらもっと楽だと思うの。ひとつの失敗で挫折してはいけないと、あの子は学ばなくては。>
	Msg7 <ありがとう。>
	Msg8 <%JS2が正しいのかもしれません……。>
	Msg9 <%JF2の言葉を聞いてくれていたら、あの子は死なずにいられたかもしれないのに……。>
	Msg10 <弟の Hammel はアリーナチャンプになりたがっているの。夢が叶ったらいいとは思うけれど、いつか怪我をしそうなのが心配で……。>
	Prompt1 <弟には戦ってほしくない、とか言うのかと思ってた……。>
	Prompt2 <こちらには関係のない話%JG_DANE。>
	Prompt3 <大人になれ、で済む話では。>
	Prompt4 <分かった、話をして来%JV_YOU。>
	Prompt5 <彼は自分で何とかできると思う%JG_YO。>
end
inv
	NPC Arena Pilot
	name <Hammel>
	% bio <Like many young arena pilots, he dreams of becoming a famous cavalier. His sister Lehya worries about him constantly.>
	bio <多くの若いパイロットがそうであるように、彼もまた高名なメック乗りになることを夢見ている。姉の Lehya は常に彼のことが心配なようだ。>
	Chardesc Male Cheerful Passionate Heroic
	Statline 17 12 16 14  11 13 12 12
	Age -3
	SDL_PORTRAIT <por_m_lightjacket(Y--).png>
	SDL_COLORS <136 141 101 245 213 160 77 35 101>
	MOTIVATION:Seeker

	NPC Citizen
	name <Lehya>
	% bio <Lehya's parents died many years ago, leaving her to raise her brother Hammel. She is currently studying to become a doctor.>
	bio <Lehya の両親は何年も前に死に、彼女が弟の Hammel の親代わりとなった。彼女は現在、医者を目指して勉強している。>
	CharDesc Female Cheerful Easygoing Heroic
	Statline 14 13 14 12  13 10 16 13
	Age -1
	SDL_PORTRAIT <por_f_smart(-P-).png>
	SDL_COLORS <136 141 101 245 213 160 60 25 81>
	Awareness
	Insight
	Medicine
end

Content
	name <PC vs Derrich>
	requires <*:Q_MECHA_ARENA_CHALLENGE (!Ne|!Lo) ~L5PAT>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <For the next match, you'll be fighting a construction worker named %name3% . He's been working on the new space platform for Comet Industries. You can find \OPR %3% at %name4% .>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Msg%id%03 <He tends to prefer brutal close combat attacks. If you can stay at range, you should be able to win.>
	% Prompt%id%01 <What can you tell me about him?>
	Msg%id%01 <次の試合では、%name3% という建設作業員が相手%JG_DAYO。Comet Industries が新しく建ててる宇宙拠点で働いてるらしい%JV_F_WA%JV_NA%JV_SIL。%name4% に行って会って%JG_R。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <彼は白兵戦で暴れたがる傾向がある%JG_NE。距離を保っていれば勝てると思う%JG_YO。>
	Prompt%id%01 <何か情報は？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	*GoThemeInfo <*THEME_EXPO&Enemy NA>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	GoFirstTime <NewChat Say 5 V= 1 1 AddCHat 1 AddChat 2>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg1 <Hurry up and get your ass to the arena... We're on the clock, here.>
	% Msg2 <You really got the job done, this time... Go talk with %name1% about your pay.>
	% Msg3 <%name1% died. Guess this means we've been laid off.>
	% Msg4 <I'm all finished with my work at the project. You ready to start our match now?>
	% Msg5 <I was wondering when you were going to show. %name1% says you're my next opponent. You wanna start our match now?>
	% Prompt1 <I'm all ready to go.>
	% Prompt2 <Let's do it later.>
	Msg1 <さっさとアリーナに来るんだ……スケジュールがあるんだぞ。>
	Msg2 <今回は%JS2の仕事っぷりのほうが上だったようだ……給料のことは %name1% に掛け合ってくれ。>
	Msg3 <%name1% が死んだ。つまり私たちもレイオフということだ。>
	Msg4 <こちらは職場の仕事をすべて片付けてきている。そちらは試合の準備はできているか？>
	Msg5 <いつ来るのか心配になっていたところだ。%name1% から%JS2が次の相手だと聞いている……では始めようか？>
	Prompt1 <準備万端%JG_DA。>
	Prompt2 <また今度で。>
end
inv
	NPC Mecha Pilot
	name <Derrich>
	% bio <He supplements his income by taking part in underground mecha duels. His bosses don't mind because it's free advertising for Comet Metalworks.>
	bio <彼は収入の足しにするために裏社会のメック・デュエルに参加している。彼の上司らがそれを黙認しているのは、それがタダで Comet Metalworks を宣伝することに繋がっているからだ。>
	job <Foreman>
	job_desig <LABOR>
	CharDesc Male Sociable Easygoing Lawful
	Age 9
	StatLine 13 17 14 13 14 12 9 11
	SDL_Portrait <por_m_guy6(-P-).png>
	SDL_Colors <234 180 88 255 212 195 10 50 100>
	SetTheme 4
	SetSpecSkill 2
	SetFaction 2
	Talent 4
end

Content
	name <PC vs Zako>
	requires <*:Q_MECHA_ARENA_CHALLENGE (!Ne|!Lo)>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <For the next match, you'll be fighting a young pilot named Zako. You can find \OPR %3% at %name4% .>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Msg%id%03 <Not as good as she thinks she is, but that doesn't mean you should let your guard down. Zako seeks power at any cost. She's not above using dirty tricks to win a match.>
	% Prompt%id%01 <Zako, huh? Is she any good?>
	Msg%id%01 <次の試合では、Zako という若いパイロットと戦うことになる%JG_YO。%name4% に行けば会えるから。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <\SPR %3%自身が吹聴してるほどではないと思う%JG_GA、油断できる相手でもない%JG_YO。力を得るためなら何でもするタイプだから、汚い手段を使ってでも勝ちに来るはず%JG_DAYO。>
	Prompt%id%01 <Zako？ %JT_SOは強いの%JV_KA_Q？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	*GoThemeInfo <*THEME_EXPO&Enemy NA>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	GoFirstTime <NewChat Say 5 V= 1 1 AddCHat 1 AddChat 2>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg1 <Where are you? I'm waiting...>
	% Msg2 <No fair! Let's go best two out of three...>
	% Msg3 <%name1% died. It's a pity that we won't be able to have that match.>
	% Msg4 <I'm ready to go trash you now. How about we get this fight started?>
	% Msg5 <Look at this- the next victim for my already impressive list of kills. %name1% told me you were coming. Do you wanna get this fight started right away?>
	% Prompt1 <Let's go to the arena.>
	% Prompt2 <Sorry, but I need some time to prepare.>
	Msg1 <どこにいる%JG_NDA？ こっちは待ってる%JV_N%JG_DAYO%JV_SIL_R。>
	Msg2 <不公平だ%JV_ZO！ 今からでも二本先取に……。>
	Msg3 <%name1% が死んだ%JV_F_WA。これで試合もおシャカ%JV_M_DAね。>
	Msg4 <ズタボロにしてやる%JV_YO。さっさと始めようじゃない%JV_KA_Q？>
	Msg5 <へえ──こいつが次にこの私のキルリストに載る奴%JV_KA_Q%JV_F_NE。%name1% から話は聞いてるから%JV_NA。今すぐ始める%JV_KA_Q？>
	Prompt1 <アリーナへ行%JV_KOU。>
	Prompt2 <悪い%JG_GA、準備に時間が欲しい。>
end
inv
	NPC Arena Pilot
	name <Zako>
	% bio <She's been a troublemaker all her life. Zako has big dreams, but fortunately is too lazy and absentminded to really take over the universe.>
	bio <彼女は生まれながらのトラブルメーカーだ。大きな野望を持っているが、幸いなことに、宇宙を征服するには彼女は怠惰で間抜けに過ぎるようだ。>
	job <Mecha Pilot>
	CharDesc Female Cheerful Easygoing Villainous
	Age -1
	StatLine 16 13 14 11 12 14 10 13
	SDL_Portrait <por_f_philzako(YAY).png>
	SDL_Colors <28 52 38 241 254 223 197 80 69>
	SetTheme 12
	SetSpecSkill 2
	SpotWeakness
	Stealth
end

%%
%% Mid Range Competitors
%%

Content
	name <PC vs Onawa>
	requires <*:Q_MECHA_ARENA_CHALLENGE !Md ~L5PAT>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>
sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <Your next match is against a Hoeller Industries pilot named Onawa. You can find her in %name4% .>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Msg%id%03 <She was born on Earth, but moved to the colonies at a young age. They say she learned ninjitsu from her grandfather but I don't believe that.>
	% Prompt%id%01 <What can you tell me about her?>
	Msg%id%01 <次は Onawa という Hoeller Industries のパイロットとの対戦%JG_DANE。%name4% に行けば彼女に会える%JG_YO。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <彼女は地球生まれで、若い頃にコロニーに移ったらしい%JG_YO。祖父からニンジュツを学んだとか……まあそれは信じてない%JV_F_WA。>
	Prompt%id%01 <何か相手の情報は？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndChat Say 8>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	GoFirstTime <NewChat Say 5 V= 1 1 AddCHat 1 AddChat 2 AddChat 3>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	result3 <EndChat Say 6 AddChat 4>
	result4 <NewChat Say 7 AddChat 1 AddChat 2>
	% Msg1 <Our match is set to begin. Please come face me at \SCENE %2% .>
	% Msg2 <You may go tell %name1% that you defeated me.>
	% Msg3 <Did you hear? %name1% has died...>
	% Msg4 <I am ready for our battle now. Are you prepared to face me?>
	% Msg5 <I was told that you are my next challenger. I am completely prepared for our battle, if you can say the same.>
	% Msg6 <There is no reason to speak until after our fight. If we get to know one another first, it will be all the more devastating should one of us get killed during the match.>
	% Msg7 <So, I ask one more time: Are you prepared to fight now, or do you prefer to wait until later?>
	% Msg8 <The darkness will take you!>
	% Prompt1 <Let's get started.>
	% Prompt2 <Sorry, I'm not ready yet.>
	% Prompt3 <Wait, I'd like to talk first.>
	% Prompt4 <[Continue]>
	Msg1 <%JF2たちの試合が決まりました。\SCENE %2% に来てください%JV_SIL。>
	Msg2 <%JS2が勝ったと、%name1% %JG_SANに伝えてください%JV_SIL。>
	Msg3 <聞きましたか？ %name1% %JG_SANが亡くなったって%JV_SIL。>
	Msg4 <%JF2はもう戦えます%JV_SIL。受けて立つ用意はできていますか？>
	Msg5 <%JS2が%JF2の対戦相手だと聞きました%JV_SIL。%JS2さえよければ、こちらは完全に準備ができています%JV_SIL。>
	Msg6 <戦いが終わるまでは、お話をする理由はありません%JV_SIL。先にお互いを知ってしまったら、どちらかが死んでしまった時に耐えられないもの%JV_SIL。>
	Msg7 <では、もう一度聞きます%JV_SIL。すぐに戦えますか、それともまだ待ってたほうがいいですか%JV_SIL？>
	Msg8 <闇が%JS2を包むでしょう%JV_SIL！>
	Prompt1 <始め%JV_YOU。>
	Prompt2 <悪い%JG_GA、まだ準備ができてない%JV_F_WA。>
	Prompt3 <待った、最初に少し話をしない%JV_KA_Q？>
	Prompt4 <[続ける]>
end
inv
	NPC Arena Pilot
	name <Onawa>
	% bio <She began her career as a recon pilot on Earth. Onawa is very quiet and reserved. She doesn't look at all dangerous... at least, not until she's standing right behind you in a mecha.>
	bio <彼女は地球で偵察パイロットとしてキャリアをスタートさせた。もの静かで大人しく、まったく危険な人物には見えない……少なくとも、メックに乗った彼女に真後ろを取られない限りは。>
	job <Corporate Pilot>
	job_desig <CORPO>
	CharDesc Female Shy Easygoing Melancholy
	Age 5
	StatLine 15 14 14 15 12 15 12 11
	SDL_Portrait <por_f_brianna(JAY).png>
	SDL_Colors <64 130 109 150 112 89 103 3 45>
	SetTheme 2
	SetSpecSkill 1
	ElectronicWarfare
	Stealth
	Talent 16
	SetFaction 7
	MOTIVATION:Mercenary
end

Content
	name <PC vs Carter>
	requires <*:Q_MECHA_ARENA_CHALLENGE !Md>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <You'll be going up against Carter for the next battle. He's one of the old regulars. You should be able to find him at %name4% .>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4%.>
	% Msg%id%03 <Carter's been an arena fighter since before some of our challengers were even born. He doesn't take the game too seriously, but don't let that fool you- he's a skilled pilot with a few tricks up his sleeve.>
	% Prompt%id%01 <What should I know about him?>
	Msg%id%01 <次の戦いは Carter との対決%JG_DAYO。古株の一人%JG_DANE。%name4% に行けば会える%JV_ZO。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <Carter がアリーナの戦士になったのは、今の若い挑戦者たちがまだ生まれてもいないくらい昔のこと%JG_DAYO。試合に臨む姿勢はあまり真面目とはいえない%JG_GA、勘違いしちゃいけない%JV_F_WA──搦め手をいくつも持ってる腕利きのパイロットな%JG_NDA。>
	Prompt%id%01 <知っておくべきことは？>

	Persona 3
	% V1 = Have challenged before.
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndChat Say 6>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	GoFirstTime <NewChat Say 5 V= 1 1  AddChat 1 AddChat 2>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg1 <You're wasting valuable time. Get your arse over to the arena and fight me!>
	% Msg2 <Good match. %name1% should have a reward waiting for you.>
	% Msg3 <Did you hear about %name1%? That's a real shame.>
	% Msg4 <So, you ready to fight?>
	% Msg5_1 <Good to meet yeh. You must be the young pilot they sent to challenge me... The name's Carter. Are you ready to go right now?>
	% CMsg5_1 <ifChatNPCUnknown Accept>
	% Msg5_2 <Good to see you again, \PC . This should be a good fight. Are you all ready for the match?>
	% CMsg5_2 <ifChatNPCKnown Accept>
	% Msg6 <This probably isn't gonna take too long.>
	% Msg6_1 <Let's see if this old dog can teach you something.>
	% Prompt1 <As ready as I'll ever be.>
	% Prompt2 <Give me some time to get ready first.>
	Msg1 <貴重な時間を無駄にしているぞ。さっさとアリーナに来て対戦だ！>
	Msg2 <いい試合だった……。%name1% からの報酬がお前さんを待ってるぞ。>
	Msg3 <%name1% のことは聞いたか？ まったく気の毒な話だ……。>
	Msg4 <それじゃ、もう戦えるかい？>
	Msg5_1 <はじめましてだな。お前さんが%JF2に挑戦するって送られてきたパイロットだろう……こっちは Carter ってモンだ。もう今すぐいけるかい？>
	CMsg5_1 <ifChatNPCUnknown Accept>
	Msg5_2 <また会ったなあ、\PC。いい戦いになりそうだ。準備はもう万全かい？>
	CMsg5_2 <ifChatNPCKnown Accept>
	Msg6 <まあ、そう長くはかからんだろうなあ。>
	Msg6_1 <さて、このオッサンが教えてやれることが何かあるかな？>
	Prompt1 <いつだって準備はできてる%JV_F_WA。>
	Prompt2 <もう少し準備に時間が欲しい。>
end
inv
	NPC Trucker
	name <Carter>
	% bio <A commercial pilot from Snake Lake City. He's been known to talk to his mecha on occasion.>
	bio <Snake Lake City 出身の職業パイロットだ。たまに愛機に話しかけていることで知られている。>
	CharDesc Male Shy Easygoing Lawful
	Age 22
	Combatant
	StatLine 14 16 12 15 14 11 13 9
	SDL_Portrait <por_m_comiccarter(OUY).png>
	SDL_Colors <25 80 100 255 212 195 122 82 65>
	SetTheme 2
	SetSpecSkill 1
	SetFaction 5
	Awareness
	SpotWeakness
	Talent 10
	Talent 17
end

Content
	name <PC vs Shandir>
	% As above, but the first time you meet the PC can make a formal challenge
	requires <*:Q_MECHA_ARENA_CHALLENGE !Md L5PAT>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public (Mall|Garage)>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>
sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <You've been scheduled to fight a pilot named %name3% . You can find her at her place of business in %name4% .>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Msg%id%03 <She's a skilled mechanic and can easily determine her opponent's weak points. She tends to favor short ranged weapons; you may be able to use this to your advantage.>
	% Prompt%id%01 <What can you tell me about her?>
	Msg%id%01 <次は %name3% というパイロットとの試合が組まれてる%JG_NE。%name4% にある彼女の職場に行けば会える%JV_F_WA。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <彼女は腕利きのメカニックで、簡単に敵の弱点を見抜いてしまう%JV_F_NO。射程の短い火器が好きなようだから、そこを利用すれば有利に戦えるかもしれない%JG_NE。>
	Prompt%id%01 <%JT_SOについて何か情報は？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndChat Say 7>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2 AddChat 3>
	*GoFirstTime <*PCChallengeNPC GoMakeChallenge GoWussOut>
	GoMakeChallenge <AddSociable d6  NewChat Say 5 V= 1 1 AddCHat 1 AddChat 2 AddChat 3>
	GoWussOut <AddReact d10   NewChat Say 6 V= 1 1 AddCHat 1 AddChat 2 AddChat 3>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoOpenShop>
	*GoOpenShop <*SERVICE_MECHANIC GoBye>
	*GoBye <*GoodBye>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	result3 <Goto GoOpenShop>
	% Msg1 <I'm waiting for you in \SCENE %2% . Come on and fight!>
	% Msg2 <You win... %name1% will have a prize for you.>
	% Msg3 <They say that %name1% died...>
	% Msg4 <I'm ready for our match. How about you?>
	% Msg5 <Not so loud... I don't want the other people at work to find out that I'm dueling. Are you ready for our match right now?>
	% Msg6 <Oh, I get it... %name1% must have sent you, right? I have to keep things quiet since I don't want the other people here to find out that I'm dueling.  Are you ready for our match, then?>
	% Msg7 <After I beat you, come to my shop in %name4% for repairs!>
	% Prompt1 <Let's get started.>
	% Prompt2 <Give me some more time.>
	% Prompt3 <I'd like to see your shop first.>
	Msg1 <\SCENE %2% で%JS2を待ってるわ。早く来て戦いなさい！>
	Msg2 <%JS2の勝ち……賞金は %name1% が持ってるわ。>
	Msg3 <%name1% が死んだって聞いた……。>
	Msg4 <%JF2は準備できてるわよ。そっちは？>
	Msg5 <大声出さないで……デュエルのことは同僚には知られたくないの。もう今すぐに始められる？>
	Msg6 <ああ、分かったわ…… %name1% に言われてきたんでしょう？ 職場にはデュエルのことは知られたくないから、静かにね……。じゃあ、試合の準備はできてる？>
	Msg7 <%JF2に負けた後の修理は、ぜひウチの店で！>
	Prompt1 <始め%JV_YOU。>
	Prompt2 <もう少し時間が欲しい%JV_F_WA。>
	Prompt3 <先に商品が見たい。>

	MetaScene 3
	sub
		room
		name <%name3%'s Garage>
		name_I18N <%name3%のガレージ>
		ShowNAME <true>
		special <SHAREDPALETTE>
		desig <HOME>
		minimap <.............1......&---!>
	end
end
inv
	NPC Mechanic
	name <Shandir>
	% bio <Ever since she was a little girl Shandir has loved mecha.>
	bio <まだほんの小さな少女だった頃から、Shandir はメックを愛している。>
	statline 14 14 13 13  15 12 13 10
	Chardesc Female Shy Easygoing Pragmatic
	SDL_PORTRAIT <por_f_jacket(-AY).png>
	SDL_COLORS <66 121 119 245 213 160 152 70 97>
	Age 6
	SetFaction 5
	Combatant
	Initiative
	SpotWeakness
	SetTheme 4
	SetSpecSkill 16
	MOTIVATION:Professional
end

Content
	name <PC vs Fuschia>
	requires <*:Q_MECHA_ARENA_CHALLENGE !Md ~L5Pat>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>
sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <Your next match is against a pop singer named %name3% . You should be able to find \OPR %3% at %name4% .>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Msg%id%03 <Don't make the mistake of taking her lightly. As far as I know Fuschia started arena fighting as a publicity stunt, but it turns out that she has real talent.>
	% Prompt%id%01 <I'm fighting a pop singer!?>
	Msg%id%01 <次は %name3% という名前のポップシンガーとの対戦%JG_DAYO。%name4% に行けば会える%JV_F_WA。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <彼女を甘く見るなんて間違いをしないように%JV_NA。元々は単なる売名目的でアリーナに入ってきたはずだった%JV_Nだ%JG_GA、実は本当に才能があったって話なんだから。>
	Prompt%id%01 <ポップシンガー%JV_SIL！？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndCHat Say 6>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	GoFirstTime <NewChat Say 5 V= 1 1 AddCHat 1 AddChat 2>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg1 <I'm waiting...>
	% Msg2_1 <You defeated me. My fans are going to be so disappointed. Go see %name1% about the match prize.>
	% CMsg2_1 <if# SceneID %2% Accept>
	% Msg2_2 <Is it over already? My fans are going to be so disappointed. Go see %name1% about the match prize.>
	% CMsg2_2 <if= SceneID %2% Accept>
	% Msg3 <I hear the arena's closing down. It's time to move on.>
	% Msg4 <It's time for another concert of destruction. Shall we do battle?>
	% Msg5 <Hello \PC . I understand that you'll be my opponent today. Are you ready to begin the show?>
	% Msg6 <Let's give the audience a great show!>
	% Prompt1 <Let's get to it.>
	% Prompt2 <I need a bit more time to prepare.>
	Msg1 <待ってるよ……。>
	Msg2_1 <負けちゃった。ファンのみんなはガッカリするだろうなあ……。賞金のことは %name1% に聞いてね。>
	CMsg2_1 <if# SceneID %2% Accept>
	Msg2_2 <も、もう終わり？ ファンのみんな、ガッカリするよ……。賞金のことは %name1% に聞いてね。>
	CMsg2_2 <if= SceneID %2% Accept>
	Msg3 <アリーナもみんな店じまいだって。卒業する時なのね。>
	Msg4 <またまたデストローイなコンサートの時間が来たよ！ 戦いましょうか！>
	Msg5 <ハロー、\PC。%JS2が今日の相手みたいだね。ショーを始めましょうか？>
	Msg6 <お客さんに凄いショーを見せちゃおう！>
	Prompt1 <そうし%JV_YOU。>
	Prompt2 <もう少しだけ準備に時間が欲しい%JV_F_WA。>
end
inv
	NPC Singer
	name <Fuschia>
	% bio <The leading star of cavalier rock in the L5 region. Fuschia has been arrested several times for mecha dueling; she hopes that the publicity will force the technocracy to legalize it.>
	bio <メック乗りたちのロック音楽、“キャヴァリアー・ロック”の L5 における一大スターだ。Fuschia はメックデュエルを行った罪で何度か逮捕されている──それで官僚らに合法化の圧力を加えたいと考えているらしい。>
	% It's not mentioned here, but Fuschia is from Athera Spinner
	statline 13 10 12 13 12 14 12 18
	SDL_PORTRAIT <por_f_ladivikki(JAY).png>
	SDL_COLORS <157 172 183  255 212 195  122 88 193>
	Age 2
	SetFaction 5
	Chardesc Female Sociable Easygoing Cheerful
	Combatant
	Initiative
	SpotWeakness
	Taunt
	Talent 21
	SetTheme 3
	SetSpecSkill 1

end

Content
	name <PC vs Blaise>
	requires <*:Q_MECHA_ARENA_CHALLENGE !Md>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>
sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <For the next match, you'll be facing a challenger named %name3% . You'll be able to find \OPR %3% at %name4% .>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Msg%id%03 <Blaise isn't much of a pilot; actually, he's a weapon designer. You can expect his mecha to be heavily modified. The trick will be dodging his attacks long enough to take him down.>
	% Prompt%id%01 <What can you tell me about this pilot?>
	Msg%id%01 <次の試合では、%name3% という名の挑戦者と戦うことになる%JG_YO。%name4% に行って会って%JG_R。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <Blaise は実際のところ、パイロットじゃなくて武器デザイナーな%JG_NDA。彼のメックはかなり改造されてると考えたほうがいい%JV_F_WA。勝ち筋は……相手の攻撃をひたすらかわすこと%JG_KANA。>
	Prompt%id%01 <このパイロットについて何か情報は？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndCHat Say 6>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	GoFirstTime <NewChat Say 5 V= 1 1 AddCHat 1 AddChat 2>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg1 <I hope you don't mind, I've done some extra modifications to my mecha while waiting for you.>
	% Msg2 <These new modifications didn't work so well... Go find %name1% to collect your prize.>
	% Msg3 <Too bad about what happened to %name1%...>
	% Msg4 <It's time for one more round at the arena. Are you ready to fight yet?>
	% Msg5 <Ah, my new guinea pig has arrived. I always need targets upon which to test my new modifications. Are you ready to go to the arena?>
	% Msg6 <I wonder how these new modifcations will fare... I'm sure they'll be more than good enough to defeat you.>
	% Prompt1 <I'm all ready.>
	% Prompt2 <Sorry, I need more time first.>
	Msg1 <気にしないでもらえると嬉しいがね、待っている間にまたいろいろとメックを強化させてもらったぞ。>
	Msg2 <この改造は上手くいかなかったか……賞金の話は %name1% としてくれ。>
	Msg3 <%name1% に起こったことは残念だ……。>
	Msg4 <さあ、アリーナでもう一戦だ。戦う準備はできているか？>
	Msg5 <ああ、新しいモルモットが来たか。新しい試みをテストするのに常に的が必要でね。アリーナに行く準備はできているか？>
	Msg6 <今度のパーツはどんな具合か……%JS2に勝つのに十分すぎるのは間違いないだろうが。>
	Prompt1 <できてる%JG_YO。>
	Prompt2 <悪い%JG_GA、もう少し時間がいる%JV_F_WA%JV_SIL。>
end
inv
	NPC Scientist
	name <Blaise>
	% bio <A self-described mad scientist, Blaise is constantly tinkering with his mecha. He joined the Pro Duelist League as a way to test his creations.>
	bio <自称マッドサイエンティストである Blaise は、常に彼のメックをいじり回している。Pro Duelist League に加わったのも発明品のテストが目的だった。>
	statline 13 11 12 16  17 9 17 11
	SDL_PORTRAIT <por_m_blaise(YP-).png>
	SDL_COLORS <208 34 51   255 212 195   234 180 88>
	Age 4
	SetFaction 5
	Chardesc Male Passionate Pragmatic
	Combatant
	ElectronicWarfare
	SpotWeakness
	MechaEngineering
	Talent 20
	SetTheme 1
	SetSpecSkill 22
	MOTIVATION:Competition
end

Content
	name <PC vs Kolo>
	% Kolo is a thief on the run from the law, but he just can't help finishing
	% his arena run.
	requires <*:Q_MECHA_ARENA_CHALLENGE !Md>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the bounty hunter
	% E5 is the bounty hunter's home scene
	Element3 <Prefab>
	Element4 <Prefab>
	Place4 <5 (Citizens) Ally Pass>
	Element5 <Scene Building Public>

	% P%id%01 = Initialization Counter
	update <if= P%id%01 0 P= %id%01 1 SetPlotStatus %plotid2% %id2%>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>
	SubPlot2 <*:Q_NPCHideout 3>
sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <This time around you'll face a pirate named %name3% in single combat. He's a skilled pilot who specializes in heavy weapons.>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; unfortunately, he's on the run from the law and therefore in hiding.>
	% Msg%id%03 <That's a problem. Kolo is currently on the lam. There's a whole horde of bounty hunters out looking for him. Still, he promised that he'd take part in this fight, so you should be able to find him somewhere.>
	% Prompt%id%01 <Great. Where can I find him?>
	Msg%id%01 <今回は %name3% という名の海賊と一戦交えることになる%JG_YO。重火器に特化した腕利きのパイロット%JG_DA。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。が、彼は法に追われている身であり、どこかに隠れている。>
	Msg%id%03 <そこが問題な%JG_NDA。Kolo は現在逃亡中の身で、賞金稼ぎの群れが彼のことを嗅ぎ回ってる%JV_F_WA。それでも試合には出ると約束してきたから、どこかで会えるはず……。>
	Prompt%id%01 <そう%JV_KA_Q。どこに行けば会える%JV_F_NO？>

	Persona 3
	special <UNLISTED>
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndChat Say 8>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	% GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2 ifNPCOK %4% else na if= NPCVar %4% 1 0 NPCVar= %4% 1 -1>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2 AddChat 4>
	GoFirstTime <NewChat Say 5 V= 1 1 AddCHat 3>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% NPCScene %3% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	result3 <NewChat Say 6 AddChat 4 AddChat 5 AddChat 6>
	result4 <NewChat Say 7 AddChat 5 AddChat 6>
	result5 <Goto result1>
	result6 <Goto result2>
	% Msg1 <Hurry up and come to the arena; it's not safe for me to spend too long in any one place.>
	% Msg2 <All that hard work, and I lost... Go tell %name1% that you beat me.>
	% Msg3 <Did you hear about %name1%? I better get out of town before they decide I'm a suspect.>
	% Msg4 <I've been waiting. Are you ready to fight?>
	% Msg5 <What are you doing in here!? You're not here to arrest me, are you?>
	% Msg6 <Well, that's a relief... For a moment I thought you were sent by %name4%. It's risky hiding out like this, but what choice do I have?>
	% Msg7 <What, and back away while I'm winning? Disappoint my legion of loyal fans? That's not something I can do, no matter what the cost.>
	% Msg8 <I hope you can make this fight worth all the trouble I went through to get here!>
	% Prompt1 <Let's go.>
	% Prompt2 <No, not yet.>
	% Prompt3 <No, I'm your arena challenger.>
	% Prompt4 <Why don't you just leave town?>
	% Prompt5 <How about we head to the arena?>
	% Prompt6 <I'll be back to fight later.>
	Msg1 <さっさとアリーナに来るんだ。こっちは一箇所に留まってると危ないんだぞ。>
	Msg2 <これだけ苦労して来たのに、負けか……。%JS2の勝ちだと %name1% に伝えな。>
	Msg3 <%name1% のことは聞いたか？ おかしな疑いをかけられる前にこの街から消えないとな。>
	Msg4 <待ってたぞ。やれるな？>
	Msg5 <ここで何をしてるんだ！？ まさか捕まえに来たんじゃないよな？>
	Msg6 <おぅ、ビビったぞ……一瞬 %name4% の仲間かと思っちまった。こんなとこで隠れてるのはリスキーなんだが、どうしようもないだろ？>
	Msg7 <あん？ 勝てるってのにノコノコ帰る？ %JF2の大事なファンを失望させて？ そんなことは何があってもできないね。>
	Msg8 <ここまで来た苦労に見合った戦いをしてくれると期待してるぞ！>
	Prompt1 <や%JV_ROU%JV_KA_Q。>
	Prompt2 <いや、まだ。>
	Prompt3 <%JR_NO、アリーナでの対戦相手%JV_M_DAよ。>
	Prompt4 <なんで逃げない%JV_F_NO？>
	Prompt5 <もうアリーナに向か%JV_OUか。>
	Prompt6 <また後で戻ってくる%JV_F_WA。>

	MetaScene 2
	%% The following script should deal with the capture of Kolo.
	End <if= NPCVar %4% 1 1 else %pop% NPCVar= %4% 1 -1 if= PlotStatus %plotid% %id% else %pop% ifNPCOK %3% else %pop% if= SelfArenaState NAV_AS_Win else %pop% NPCVar= %4% 1 2 DeleteNPC %3% Goto %pop%>

	Persona 4
	%% The bounty hunter should give the PC a chance to sell out Kolo.
	%% V1 = Have been offered mission
	%% V2 = Have gotten reward
	%% NPCVar %4% 1 = Capture trigger; if 1, have set trigger. If 2, have captured Kolo.
	% rumor%id% <%name4% has been hoping to collect the bounty on %name3%.>
	rumor%id% <%name4% は %name3% にかかっている賞金を狙ってる>
	greeting <if= V2 0 else GoChat if= NPCVar %4% 1 2 else GoCheckLoss NewChat Say 12 FacXP+ 5 -20 AddLawful 1 AddRenown -1 NPCVar= %4% 1 0  V= 1 -1  Memo 0  NewChat Say 13 CashPrize Reward %threat% 500 V= 2 1>
	% GoCheckLoss <if= NPCVar %4% 1 -1 else GoCheckQuest NewChat Say 9 NPCVar= %4% 1 0>
	GoCheckLoss <if= NPCVar %4% 1 -1 else GoCheckQuest NewChat Say 9 NPCVar= %4% 1 0 Memo 0>
	GoCheckQuest <if= PlotStatus %plotid% %id% else GoGreet if= V1 1 else GoOfferMission if= NPCVar %4% 1 1 else GoMaybeSet NewChat Say 7>
	GoMaybeSet <NewChat Say 8 AddChat 6>
	GoOfferMission <if= V1 0 else GoChat NewChat Say 1 AddChat 1 AddChat 2>
	*GoGreet <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	Result1 <NewChat Say 2 V= 1 1 AddSociable d10  AddChat 3 AddChat 4>
	Result2 <NewChat Say 3 V= 1 -1>
	result3 <NewChat Say 4 AddChat 4 AddChat 5>
	result4 <NewChat Say 5 V= 1 -1>
	result5 <NewChat Say 6 V= 1 1 Memo 11>
	result6 <NewChat Say 10 NPCVar= %4% 1 1>
	% Msg1 <Hey you, you're the pilot set to fight Kolo at the arena, right?>
	% Msg2 <No, but I wish I did... I'm here to capture him. If you were to help me do that, we could split the reward two ways.>
	% Msg3 <Oh, sorry... I must have you confused with someone else.>
	% Msg4 <He's wanted for fraud, piracy, theft, vandalism, copyright infringement, impersonating an officer of the law while under the influence of xozu, and about a hundred other charges. So, will you help?>
	% Msg5 <I see. Well, I'll still get him, even without your help...>
	% Msg6 <Here's what I want you to do. Once you know exactly when the match is going to take place, come here and tell me. Afterwards I'll nab %name3% as he leaves the arena.>
	% Msg7 <It's time for you to fight Kolo at %name2%. I'll be waiting to nab him afterwards.>
	% Msg8 <Once I know where Kolo is, I'll be able to set a trap for him.>
	% Msg9_1 <In all the confusion after the match, Kolo slipped away. We're going to have to do this one more time.>
	% CMsg9_1 <if= PlotStatus %plotid% %id% Accept>
	% Msg9_2 <I'm done looking for Kolo. It's time to move on.>
	% CMsg9_2 <if# PlotStatus %plotid% %id% Accept>
	% Msg10 <Excellent. I'll be waiting for %name3%, after the match...>
	% Msg11 <%name4% at %name5% asked you to tell \OPR %4% before you fight %name3%, so \SPR %4% can arrest him after the match.>
	% Msg12 <Kolo has been captured, and turned over to the authorities for prosecution. Thanks for your help.>
	% Prompt1 <Yes, do you know where he is?>
	% Prompt2 <No, I don't know what you're talking about.>
	% Prompt3 <What crimes has he committed?>
	% Prompt4 <I'm not interested.>
	% Prompt5 <Alright, I'll do it.>
	% Prompt6 <He's waiting for me at the arena now.>
	% CPrompt6 <if= ArenaState %2% NAV_AS_Ready Accept>
	Msg1 <ちょっと待って%JG_R_AGG。Kolo とアリーナで戦う予定のパイロットというのは%JS2%JG_KANA？>
	Msg2 <%JR_NO、こっちが知りたいくらい%JG_DAYO%JV_SIL_R%JF2は奴を捕まえに来てる%JG_NDA。手伝ってくれたら、こっちの報酬は山分けにしてもいい%JV_ZO。>
	Msg3 <それは失礼……誰か他の人と間違えた%JG_KANA。>
	Msg4 <奴の罪状は、詐欺、海賊、窃盗、暴行、著作権違反、Xozu に影響されての成りすまし、さらにそれ以外でも百件近く。で、手伝ってくれる%JV_KA_Q？>
	Msg5 <分かった%JG_YO。%JS2の助けがなくとも、奴は捕まえてみせる……。>
	Msg6 <計画を伝える%JG_YO。いつ試合が始まるのか決まったら、一度ここに戻ってそれを%JF2に教えてほしい%JV_F_NO。そうしたら、%name3% がアリーナから出てくるところを%JF2が捕まえる。>
	Msg7 <次は %name2% で%JS2と Kolo が戦う段%JG_DAYO。それが終わったところを、%JF2がひっ捕らえる。>
	Msg8 <Kolo の居場所さえ分かれば、罠を仕掛けてやれる。>
	Msg9_1 <試合直後のゴタゴタに紛れて、Kolo は逃げていった%JV_F_WA。もう一度やり直さないと。>
	CMsg9_1 <if= PlotStatus %plotid% %id% Accept>
	Msg9_2 <Kolo 探しはもう終わり%JV_M_DA。次に行かないと。>
	CMsg9_2 <if# PlotStatus %plotid% %id% Accept>
	Msg10 <素晴らしい%JV_ZO。あとは %name3% が試合を終えるのを待つだけ……。>
	Msg11 <%name5% にいる %name4% は、%name3% との試合の前に一旦\SPR %4%のところに戻り、%name3% の居場所を教えてほしいと言った。>
	Msg12 <Kolo は捕まって、起訴されるべく司法に引き渡された%JV_F_WA。%JS2の助力に感謝を。>
	Prompt1 <そう%JV_M_DAよ。居場所を知らない%JV_KA_Q？>
	Prompt2 <%JR_NO、何の話だか分からない%JG_GA。>
	Prompt3 <何の罪を犯した%JV_N%JV_M_DA？>
	Prompt4 <興味ない%JV_F_WA。>
	Prompt5 <分かった、や%JV_ROU。>
	Prompt6 <彼は今アリーナで待ってるところ%JV_M_DAよ。>
	CPrompt6 <if= ArenaState %2% NAV_AS_Ready Accept>
end
inv
	NPC Pirate
	name <Kolo>
	% bio <He's a big fan of wine, mecha dueling, and 50s technorock. These obsessions sometimes get him into trouble.>
	bio <彼はワイン、メックデュエル、そして50年代のテクノロックを何より好む。そのこだわり故にトラブルに陥ることもあるようだ。>
	% In his current state, Kolo is more of a thief than an adventurer.
	job <Smuggler>
	job_desig <THIEF>
	SetFaction 8
	SDL_Portrait <por_m_kolo(---).png>
	SDL_COLORS <130 50 20 150 112 89 49 91 161>
	statline 14 13 16 15  12 15 10 16
	CharDesc Male Sociable Passionate Heroic Criminal
	Age 7
	SetTheme 5
	SetSpecSkill 1
	Talent 18

	NPC Bounty Hunter
end

Content
	name <PC vs Rose>
	requires <*:Q_MECHA_ARENA_CHALLENGE !Md>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <You're scheduled to fight a pro duelist named Rose. She can usually be found at %name4% .>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Msg%id%03 <Rose is a good pilot, but her vanity sometimes gets the better of her. She's more concerned with looking good than fighting well... of course, she's great at both, so you better be careful.>
	% Prompt%id%01 <Can you tell me about her?>
	Msg%id%01 <Rose というプロのデュエリストとの対決が組まれている%JG_YO。彼女はだいたい %name4% にいるはず%JG_DA。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <Rose はいいパイロットだ%JG_GA、たまに自惚れて長所が殺されていることがある%JV_OJO_WA%JV_NA。戦いそのものよりも外面を気にするというか……どっちも優れているには違いないから、油断はしないように。>
	Prompt%id%01 <何か情報は？>

	Persona 3
	% V1 = First time chat counter
	% V2 = Have gotten rep bonus
	% V3 = Start combat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndChat Say 8>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	*GoFirstTime <*PCChallengeNPC GoMakeChallenge GoWussOut>
	GoMakeChallenge <V= 1 1 ifG PCRenown %threat% else GoTooWeak NewChat Say 5 AddCHat 1 AddChat 2>
	GoTooWeak <NewChat Say 7 AddChat 1 AddChat 2>
	GoWussOut <NewChat Say 6 if= V2 0 AddEasygoing d10 V= 2 1>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2 V+ 3 1>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg1 <Please hurry to \SCENE %2% . I'm waiting.>
	% Msg2_1 <It's not fair... How could you win? %name1% will want to see you.>
	% CMsg2_1 <if= V3 1 Accept>
	% Msg2_2 <You must have learned something from our previous fight. %name1% will want to see you.>
	% CMsg2_2 <if# V3 1 Accept>
	% Msg3 <Too bad about %name1%...>
	% Msg4 <It's time for us to battle.>
	% Msg5 <Finally, %name1% sent an opponent who is worthy of my skills. I look forward to facing you. Shall we begin our match?>
	% Msg6 <If you don't mind, I have to get ready for my next arena battle.>
	% Msg7 <There must be some mistake... surely %name1% doesn't think you're worthy of facing me, does \SPR %1% ? Oh well. I must accept this insult gracefully; at least it'll be an easy match. Shall we begin?>
	% Msg8 <Watch closely, and see how gracefully I defeat you. Maybe you can learn something from my technique.>
	% Prompt1 <I'll meet you at the arena.>
	% Prompt2 <Sorry, I need a moment to prepare.>
	Msg1 <\SCENE %2% に急いでください。待っています……。>
	Msg2_1 <そんな……なんで負けるの？ もう %name1% のところに行って……。>
	CMsg2_1 <if= V3 1 Accept>
	Msg2_2 <前の戦いで何か掴んだみたいだね……。%name1% が待ってるよ。>
	CMsg2_2 <if# V3 1 Accept>
	Msg3 <%name1% のことは残念……。>
	Msg4 <また戦う時が来たね……。>
	Msg5 <やっと、%name1% が%JF2の腕にふさわしい相手を送ってくれた……。%JS2と戦うのが楽しみよ、じゃあ始めましょうか？>
	Msg6 <なら悪いけど、%JF2は次の準備があるから……。>
	Msg7 <何かの間違い……%JS2が%JF2の相手にふさわしいなんて、本当に %name1% が言ったの……？ 仕方ないね、嫌がらせでも優雅に相手をしてあげる……始めましょうか？>
	Msg8 <よく見ててね、華麗に倒してあげるから……。%JF2の腕から何か学べるといいね。>
	Prompt1 <アリーナで会%JV_OU。>
	Prompt2 <悪い%JV_F_WA%JV_NA、ちょっと時間が欲しい%JV_SIL。>
end
inv
	NPC Arena Pilot
	name <Rose>
	% bio <The daughter of a famous pilot, Rose seeks to exceed her mother in both technique and renown. Her greatest strength is her unwavering tenacity.>
	bio <とある高名なパイロットの娘である Rose は、腕でも名声でも母親を上回ることを目指している。彼女の最大の強さは、その揺るぎない不屈の精神だ。>
	SDL_Portrait <por_f_rose(JA-).png>
	SDL_COLORS <250 30 85 255 212 195 103 3 45>
	statline 15 8 13 13  10 14 10 19
	CharDesc Female Shy Melancholy
	Age -1
	SetTheme 7
	SetSpecSkill 2
	SpotWeakness
	Shopping
	Toughness
	Talent 9
	MOTIVATION:Professional
end

Content
	name <PC vs Havelock>
	requires <*:Q_MECHA_ARENA_CHALLENGE !Md ~MAQUI ~FCOMS -RISHI>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <For the next match, you're up against a privateer named Havelock. He's had a fair amount of experience in real combat, so look out.>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Msg%id%03 <He can be found in %name4% . Arrange a time for a duel, and good luck.>
	% Prompt%id%01 <Where can I find him?>
	Msg%id%01 <次の試合では、Privateers 所属の Havelock と戦うことになる%JG_YO。実戦経験もそれなりに持っている相手だから、注意して%JG_R。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <%name4% に行けば会える%JG_YO。開始時間はそちらで打ち合わせて%JV_NA。幸運を。>
	Prompt%id%01 <どこに行けばいい%JV_F_NO？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndChat Say 6>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin Goto GoWaiting>
	*GoWaiting <*WaitingForDuel %2%>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	*GoFirstTime <*PCChallengeNPC GoMakeChallenge GoWussOut>
	GoMakeChallenge <NewChat Say 5 V= 1 1 AddCHat 1 AddChat 2>
	*GoWussOut <*GodImBored>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg2 <I concede to your awesome skills. Better go tell %name1% that you've won the match.>
	% Msg3 <Too bad about what happened to %name1%...>
	% Msg4 <Ah, \PC . I was wondering if you had forgotten all about our duel.>
	% Msg5 <Ah, a challenge... I accept your offer! Do you want to go to %name2% now or are you just here to tease me?>
	% Msg6 <Let the games begin!>
	% Prompt1 <I'm ready to fight.>
	% Prompt2 <Let's do that later..>
	Msg2 <いい腕をしている……。%JS2の勝ちだと %name1% に伝えるといい。>
	Msg3 <%name1% のことは残念だった……。>
	Msg4 <ああ、\PC。試合のことを忘れてるのかと心配になってたところだよ。>
	Msg5 <ああ、挑戦者か……受けて立とう！ もう %name2% に行けるかい、それとも挑発しに来ただけか？>
	Msg6 <さあ、ゲームの始まりだ！>
	Prompt1 <準備はできてる%JV_F_WA。>
	Prompt2 <また後で……。>
end
inv
	NPC Privateer
	name <Havelock>
	% bio <He joined the Privateers to fight the Aegis Space Force's incursions in NT160. These days, he has retired from active duty to mentor new pilots.>
	bio <彼は新紀160年における Aegis Space Force の侵攻と戦うために Privateers に加わった。現在では、後進のパイロットを教えるために一線からは身を退いている。>
	SetFaction 6
	Age 5
	SDL_PORTRAIT <por_m_ladipunk(JA-).png>
	SDL_COLORS <20 90 130 142 62 39 234 180 88>
	chardesc Male Cheerful Heroic Easygoing
	StatLine 15 13 15 15 13 13 10 14
	SetTheme 2
	SetSpecSkill 3
	Initiative
	Talent 5
	Talent 8
end


%%
%% High Level Competitors
%%

Content
	name <PC vs Evan>
	requires <*:Q_MECHA_ARENA_CHALLENGE (!Hi|!Ex)>
	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <Your next opponent is a mecha pilot called Evan. Maybe you haven't heard of him before; he's new to the arena scene, but has tons of experience as a fighter. You can find him at %name4% .>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in \SCENE %4% .>
	% Msg%id%03 <He served with the Federation Defense Force for around twenty years. Evan was part of the garrison assigned to Wujung when Typhon broke free; he lost his family that day, and nearly lost his life.>
	% Prompt%id%01 <What kind of experience are we talking about?>
	Msg%id%01 <次の相手は Evan というメックパイロット%JG_DAYO。こっちの世界では新人だから聞いたことがないかもしれない%JG_GA、山ほど実戦を経験してるパイロット%JG_DANE。%name4% に行けば見つかると思う%JG_YO。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は \SCENE %4% にいる。>
	Msg%id%03 <彼は20年近く Federation Defense Force に所属していて、あの Typhon が目覚めた時には Wujung の駐屯部隊にいた%JV_N%JV_M_DA。彼はその日に家族を失って、彼自身も命を落としかけたそう%JG_DAYO。>
	Prompt%id%01 <実戦って、どんな種類の？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	GoTrashTalk <EndChat Say 7 AddChat 4 AddChat 5>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	GoFirstTime <NewChat Say 5 V= 1 1 AddCHat 1 AddChat 2 AddChat 3>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	result2 <EndChat Say 6 Goto GoStartCombat>
	result3 <EndChat Say 9 Goto GoStartCombat>
	result4 <EndChat Say 8>
	result5 <Goto result4>
	% Msg1 <I'm waiting for you in \SCENE %2% .>
	% Msg2 <I did my best... I have no reason for regret. Go tell %name1% that you won.>
	% Msg3 <Too bad about what happened to %name1%...>
	% Msg4 <I've been waiting. Let's go.>
	% Msg5 <So you're my challenger. Let's go to the arena.>
	% Msg6 <Time doesn't wait, you know. I'll meet you at the arena.>
	% Msg7 <If you could live life over again, would it make any difference or would you make the same mistakes as the first time? Are we cursed by fate to live as we do?>
	% Msg8 <You don't know it, but the winner of this match has already been decided.>
	% Msg9 <There's noting to talk about. I'll meet you at the arena.>
	% Prompt1 <Alright, let's do that.>
	% Prompt2 <Could you give me some time to get ready first?>
	% Prompt3 <Wait, I'd like to talk for a bit first.>
	% Prompt4 <Enough philosophizing, let's fight!>
	% Prompt5 <People make their own fate.>
	Msg1 <\SCENE %2% で%JS2を待っている……。>
	Msg2 <全力は尽くしたよ……後悔はない。%name1% に勝利を伝えるといい。>
	Msg3 <%name1% のことは残念だった……。>
	Msg4 <待っていた……。始めよう。>
	Msg5 <%JS2が%JF2の挑戦者か。アリーナへ行こう……。>
	Msg6 <時は待ってはくれない……そうだろう？ アリーナで会おう。>
	Msg7 <もし人生がやり直せるとして……それは何か違いを生むのか、それともまた同じ過ちを繰り返すだけなのか。生きるという運命に、我々は呪われ続けるのか……？>
	Msg8 <分かるものか……しかし、この戦いの勝者は既に決まっている。>
	Msg9 <話すことは何もないよ……アリーナで会おう。>
	Prompt1 <分かった、や%JV_ROU%JV_KA_Q。>
	Prompt2 <もう少し準備の時間をもらえない%JV_KA_Q？>
	Prompt3 <待った、少しくらいは話がしたい%JV_F_WA。>
	Prompt4 <哲学は結構、それより戦%JV_OU。>
	Prompt5 <運命は自分で決めるもの%JG_DA。>
end
inv
	NPC Soldier
	name <Evan>
	% bio <He lost everything when Typhon attacked Wujung. Since then Evan has wandered the solar system, seeking absolution.>
	bio <Typhon が Wujung を攻撃した時、彼はすべてを失った。それ以来、彼は赦しを求めて太陽系を彷徨っている。>
	chardesc Male Shy Melancholy Spiritual
	SDL_PORTRAIT <por_m_ladi_ahnuld(O-Y).png>
	SDL_COLORS <166 47 32 184 124 81 136 141 101>
	statline 14 16 14 15 9 15 11 9
	Age 21
	SetTheme 2
	SetSpecSkill 1
	SetFaction 5
	Toughness
	ElectronicWarfare
	SpotWeakness
	Talent 4
	Talent 17
	MOTIVATION:Nihilism
end


Content
	name <PC vs Caher>
	% Caher qualified for Robot Warriors; I'd say that ranks him as high level.
	requires <*:Q_MECHA_ARENA_CHALLENGE (!Hi|!Ex)>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is Caher
	% E4 is Vord
	% E5 is their home scene
	Element3 <Prefab>
	Place3 <5 (Citizens) Ally Pass>
	Element4 <Prefab>
	Place4 <5 (Citizens) Ally Pass>
	Element5 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>
	SubPlot2 <*:Q_MechaHeld 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02 AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>

	% ラベル番号が間違ってるので翻訳ついでに修正。
	% Result%id%01 <NewChat Say %id%02>
	Result%id%01 <NewChat Say %id%03>

	% Msg%id%01 <Your next challenger is Caher. He started as a recon pilot on Mars, but has since become a rising star on the dueling scene. Hoeller Industries just signed him to a sponsorship deal. He's at %name5%.>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name5% .>

	% ここもラベル番号が間違ってる。翻訳後のは修正済み。
	% Msg%id%02 <Caher's a bit flaky, but a fantastic pilot. He's an expert at stealth. If you let him out of your sight that might be the last mistake you'll ever make.>

	% Prompt%id%01 <Any advice for me?>

	Msg%id%01 <次の挑戦者は Caher %JG_DAYO。最初は火星で偵察パイロットをしていたんだ%JG_GA、すぐにデュエル界の新星になった%JG_NDA。ついこの前、Hoeller Industries とスポンサー契約も結んでいる%JG_NE。彼は %name5% にいる%JV_ZO。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name5% にいる。>
	Msg%id%03 <Caher は変わり者なんだ%JG_GA、素晴らしい腕のパイロット%JG_DAYO。身を隠す技術に長けているから、もし彼を見失うようなことがあったら、それが%JS2の最期かもしれない%JG_SY。>
	Prompt%id%01 <何かアドバイスは？>

	Persona 3
	% V1 = Have been told to wait before
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndChat Say 5>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater ifSubPlotWon %plotid2% else GoCheckForfeit NewChat Say 4 AddChat 1 AddChat 2>
	GoCheckForfeit <ifSubPlotLost %plotid2% else GoCheckSubQuest NewChat Say 6 SetPlotStatus %plotid% -2>
	GoCheckSubQuest <if= PlotStatus %plotid2% %id2% else GoBasicChallenge   NewChat Say 16 AddChat 8 AddChat 9>
	GoBasicChallenge <NewChat Say 7 AddChat 3 AddChat 2>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %5% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	result3 <NewChat Say 8 AddChat 4 AddChat 5 AddChat 6 V= 1 1>
	result4 <NewChat Say 9>
	result5 <NewChat Say 10 AddChat 7 AddChat 8 QMemo %plotid% 12 SetPlotStatus %plotid2% %id2%>
	result6 <AddEasygoing -d8 Goto result5>
	result7 <NewChat Say 11 AddChat 8 AddChat 9>
	result8 <NewChat Say 13 AddCHat 10 AddChat 11>
	result9 <NewChat Say 14>
	result10 <NewChat Say 14>
	result11 <NewChat Say 15 SetPlotStatus %plotid2% -2 SetPlotStatus %plotid% -2 AddRenown -1 AddEasygoing -d6 AddReact -15>
	% Msg1 <I'm waiting for you... I guess this makes us even now, huh?>
	% Msg2 <That was a good match. You'll want to speak with %name1% about it.>
	% Msg3 <I heard that %name1% died... I wonder what happened.>
	% Msg4 <I'm ready to face you now. Shall we get started?>
	% Msg5 <The fight is on.>
	% Msg6 <I don't think there's any way I'm going to get my mek back, and it's going to take Vord a long time to customize a new one. I forfeit the match.>
	% Msg7 <So you're my challenger. I guess you must be all ready for the match...>
	% Msg8 <Uh, I need a bit more time to get ready first.>
	% Msg9 <Thanks. I appreciate it.>
	% Msg10 <If you must know, I have a bit of a problem... My mek's gone missing. I'm sure I'll have it back soon.>
	% Msg11 <I'd rather not talk about it.>
	% Msg12 <You were scheduled to fight Caher at \SCENE %2% , but his mecha has gone missing.>
	% Msg13 <Come on, be a pal... Just give me and Vord a bit more time to recover it.>
	% Msg14 <Thanks, you're one of the good ones.>
	% Msg15 <I was afraid this would happen... Sure, by the rules and regulations of the Pro Duelist Association, I officially forfeit the match to you. I hope this makes you happy.>
	% Msg16 <I'm still waiting for my mecha to turn up.>
	% Prompt1 <Alright, let's do that.>
	% Prompt2 <Just a minute, I have to repair my mecha.>
	% Prompt3 <Shall we get started?>
	% Prompt4 <No problem. I'll come back later.>
	% Prompt5 <Wait, you said that before...>
	% CPrompt5 <if= V1 1 Accept>
	% Prompt6 <No way. Let's do this match now.>
	% Prompt7 <What happened to it?>
	% Prompt8 <I demand that you forfeit.>
	% Prompt9 <I'll see if I can help find it.>
	% Prompt10 <Alright, I'll give it some time.>
	% Prompt11 <No, I refuse to wait.>
	Msg1 <%JS2のことを待ってる%JV_ZO……これでイーブンってところ%JG_KANA？>
	Msg2 <いい試合だった%JG_YO。%name1% に結果を報告するといい。>
	Msg3 <%name1% が死んだって聞いた%JG_YO%JV_SIL_R何があったんだろう。>
	Msg4 <対決の準備はできてる%JG_YO。始めようか……？>
	Msg5 <戦闘開始だ。>
	Msg6 <もう%JF2のメックを取り戻すのは無理そう%JG_DAYO。Vord が新しい機を完成させるのにはまだ時間がかかるし……試合は棄権するしかない%JV_NA。>
	Msg7 <%JS2が対戦相手か。もう準備万端って感じ%JG_DANE%JV_SIL_R。>
	Msg8 <ええと、まだちょっと準備に時間がいる%JG_NDA。>
	Msg9 <ありがとう。感謝する%JG_YO。>
	Msg10 <実を言うと、ちょっとした問題が起きてて……%JF2のメックが行方不明な%JG_NDA。すぐに見つけてくるから。>
	Msg11 <それはちょっと、内緒で……。>
	Msg12 <\SCENE %2% で Caher と戦う予定だったが、彼のメックが行方不明になっている。>
	Msg13 <いやいや、そんなカタいこと言わないで……%JF2と Vord にもう少しだけ探す時間をくれないか？>
	Msg14 <ありがとう、%JS2はいいヤツの側の一人だ%JV_NE。>
	Msg15 <結局こうなるのか……分かったよ、Pro Duelist Association の規定に則って、正式に%JS2との試合を棄権する。これで御機嫌かい？>
	Msg16 <まだメックを探し中%JG_DAYO%JV_SIL_R。>
	Prompt1 <分かった、や%JV_ROU。>
	Prompt2 <ちょっと待った、こっちのメックを修理しないと。>
	Prompt3 <始め%JV_YOUか？>
	Prompt4 <問題ない%JV_F_WA、また後で来る。>
	Prompt5 <あれ、前も同じことを……。>
	CPrompt5 <if= V1 1 Accept>
	Prompt6 <%JR_NO、今すぐ始め%JV_YOU。>
	Prompt7 <何があった%JV_F_NO？>
	Prompt8 <なら棄権して%JG_R_AGG。>
	Prompt9 <こっちでも探してみ%JV_YOU。>
	Prompt10 <分かった、もう少し時間をあげる%JV_F_WA。>
	Prompt11 <イヤ%JV_M_DA%JV_F_YO、待たない。>

	Persona 4
	% V1 = Have opened shop
	*Greeting <*NiceToMeetYou GoCheckShop>
	GoCheckShop <if= V1 1 else GoCheckWin   Goto GoOpenShop>
	*GoOpenShop <*SHOP_MECHA GoBye>
	*GoBye <*GoodBye>
	GoCheckWin <if= PlotStatus %plotid% -1 else GoCheckQuest ifNPCOK %3% else GoCaherDied ifNPCArchEnemy %3% else GoReallyWin V= 1 -1 Goto GoChat>
	GoCaherDied <V= 1 -1 Goto GoChat>
	GoReallyWin <V= 1 1 PCFriend %4%   NewChat Say 1 AddChat 1>
	GoCheckQuest <if= PlotStatus %plotid% %id% else GoChat   ifNPCOK %3% else GoChat  if= PlotStatus %plotid2% 0 else GoCheckQ2WIn NewChat Say 2 AddChat 2 AddChat 3>
	GoCheckQ2Win <if= PlotStatus %plotid2% -1 else GoCheckQ2Loss   NewChat Say 5 AddChat 5>
	GoCheckQ2Loss <if= PlotStatus %plotid2% -2 else GoRemindQ2     NewChat Say 5 AddChat 6>
	*GoChat <*MISC_CHATTER>
	result1 <Goto GoOpenShop>
	result2 <NewChat Say 3 SetPlotStatus %plotid2% %id2% AddChat 4>
	result3 <AddCheerful -d6 Goto result2>
	result4 <NewChat Say 4>
	result5 <NewChat Say 6>
	result6 <NewChat Say 7>
	% Msg1 <That was really a great match between you and Caher. You're pretty good... Hey, let me show you something. I've been planning to start up a customization shop. I could let you be my second customer.>
	% Msg2 <Hey, you must be the new challenger... Did you hear what happened to Caher's mecha?>
	% Msg3 <It's gone missing. I don't know what happened- it disappeared the morning after Arcturian Groundhog Day. We did party pretty hard the night before...>
	% Msg4 <None. Caher wouldn't tell me anything... I guess it's possible he can't even remember.>
	% Msg5 <Has Caher's mek turned up yet?>
	% Msg6 <Great! I guess the two of you can start that match now.>
	% Msg7 <Maybe you could help him find it... That might be best, if you're hoping to have a match any time this century.>
	% Prompt1 <That'd be great.>
	% Prompt2 <No, I didn't.>
	% Prompt3 <Should I care?>
	% Prompt4 <Any idea where it might be?>
	% Prompt5 <As a matter of fact, it has.>
	% Prompt6 <No, not yet.>
	Msg1 <Caher との試合、凄かった%JG_YO。本当にいい腕をしてる……そうだ、ちょっとこれ見てよ。今度メックのカスタマイズショップを開こうとしてるんだ%JG_GA、２番目のお客にならせてあげようか？>
	Msg2 <ああ、新しい挑戦者の人か……Caher のメックに何があったかは聞いてる？>
	Msg3 <見つからないんだ。何があったのかさっぱりで…… Arcturian Groundhog Day の翌朝になったら消えてた。その夜はパーティーで派手に騒いでたんだ%JG_GA……。>
	Msg4 <いやまったく。Caher は何も言わないし……あいつもまるで覚えてないって可能性もある%JG_KANA。>
	Msg5 <Caher のメックはまだ見つからない？>
	Msg6 <よっしゃ！ これで試合が始められる%JV_NA。>
	Msg7 <よかったら手伝ってやって%JG_R%JV_SIL_Rっていうか、今世紀中に試合を始めたいと思うなら、ぜひ。>
	Prompt1 <それじゃ喜んで。>
	Prompt2 <いや、何も。>
	Prompt3 <どうでも良くない%JV_KA_Q？>
	Prompt4 <ありそうな場所に心当たりは？>
	Prompt5 <実は……あった%JV_F_WA。>
	Prompt6 <いや、まだ。>
end
inv
	NPC Arena Pilot
	name <Caher>
	% bio <At the age of 12 he became a pilot in the Martian Lineage Wars. He joined the Pro Duelist League because after the war he had no other marketable skills.>
	bio <彼は12歳でパイロットになり、Martian Lineage Wars に参戦した。戦争が終わった後、彼が Pro Duelist League に加わったのは、他に特技を持っていなかったからだ。>
	chardesc Male Sociable Easygoing Melancholy
	SDL_PORTRAIT <por_m_caher(J--).png>
	SDL_COLORS <166 47 32 245 213 190 180 150 20>
	statline 15 13 17 14 10 12 11 15
	Age 5
	SetTheme 3
	SetSpecSkill 3
	SetFaction 7
	Awareness
	ElectronicWarfare
	SpotWeakness
	Stealth
	Talent 16
	Talent 19

	NPC Mechanic
	name <Vord>
	% bio <Legendary as both a mechanic and a party animal. He quit the Loyalist Army at the same time as his best friend Caher.>
	bio <伝説的なメカニックの腕を持ち、またパーティー魔でもある彼は、大親友の Caher と同時期に Loyalist Army を辞めた。>
	SDL_PORTRAIT <por_m_vord(JP-).png>
	SDL_COLORS <166 47 32 150 112 89 66 121 119>
	chardesc Male Sociable Easygoing Cheerful
	Age 3
	SetFaction 5
	statline 12 9 14 13 15 12 14 11
	Initiative
	Conversation
	MechaEngineering
	Taunt
	Talent 14
end

Content
	name <PC vs Vanda>
	requires <*:Q_MECHA_ARENA_CHALLENGE (!Hi|!Ex)>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the home scene
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%03 AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%02>
	% Msg%id%01 <You have a special challenger for the next battle. Her name is Vanda; you can find her at %name4% .>
	% Msg%id%02 <She's an extremely talented fighter. Her specialty is flame weapons. Although she's good at just about everything, she's particularly deadly in close combat. Watch out.>
	% Msg%id%03 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Prompt%id%01 <What can you tell me about this Vanda?>
	Msg%id%01 <次の挑戦者はちょっと特別%JG_DAYO。彼女の名前は Vanda で、%name4% に行けば会える%JV_F_WA。>
	Msg%id%02 <稀有な才能を持ったパイロット%JG_DAYO。専門は火炎武器。何でも上手くこなすけど、特に接近戦がヤバい%JG_NE。気をつけて。>
	Msg%id%03 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Prompt%id%01 <その Vanda っていうのはどんな人？>

	Persona 3
	% V1 = Have challenged already
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndChat Say 12>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater NewChat if= V1 1 else GoFirstTime Say 4 AddChat 1 AddChat 2>
	GoFirstTime <NewChat Say 5 V= 1 1 AddChat 3 AddChat 4 AddChat 5>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	result3 <NewChat Say 6 AddReact 5  AddChat 6 AddChat 7>
	result4 <NewChat Say 7 AddEasygoing d8   AddChat 6 AddChat 7>
	result5 <NewChat Say 8 AddEasygoing -d10   AddChat 6 AddChat 7>
	result6 <NewChat Say 9 AddChat 1 AddChat 2 AddSociable -d10>
	result7 <NewChat Say 10 AddChat 8>
	result8 <NewChat Say 11 AddChat 1 AddChat 2>
	% Msg1 <I'm waiting for you at the arena. Hurry up and get over here.>
	% Msg2 <Woah, I've been burned. Go see %name1% about the prize.>
	% Msg3 <The arena's been shut down. Apparently %name1% died.>
	% Msg4 <You took your sweet time. Are you ready to fight?>
	% Msg5 <So, this is what passes for competition in today's arena. I'm Vanda, the Pyromaniac Queen. Do you really think you're ready to face me?>
	% Msg6 <Good... You don't sound intimidated by my rank, nor are you overly arrogant. That's the correct attitude to have when meeting a new pilot. Say, let's chat for a while before the match starts.>
	% Msg7 <Is that a bit of uncertainty I hear in your voice? It's important to believe in yourself. A skilled opponent can turn your doubts against you. Say, how about we chat for a while before the match starts?>
	% Msg8 <Hah! I used to talk like that, back when I started dueling. It's important to be confident, but if you keep underestimating your opponents someday you'll get an awful surprise. Let's chat a bit more before the match starts.>
	% Msg9 <Sure thing. Do you want to fight now, or do you need to freshen up?>
	% Msg10 <I'm originally from Namok. Dueling's really big there, you probably know. Early on I decided to go with a flame motif because it matches my hair color.>
	% Msg11 <Know yourself well. Capitalize on your strengths, and minimize your weaknesses. So, shall we get to work? Are you ready to fight?>
	% Msg12 <You're going to see the full power of the Pyromaniac Queen! Don't worry, I'll show you a real hot time!>
	% Prompt1 <Let's go to the arena.>
	% Prompt2 <Not right now; I'll be back later.>
	% Prompt3 <I know I'm ready to face you.>
	% Prompt4 <I don't know, but I'll try.>
	% Prompt5 <Lady, you don't even stand a chance.>
	% Prompt6 <I'm not interested in talking.>
	% Prompt7 <Sure. Why don't you tell me about yourself?>
	% Prompt8 <Do you have any advice for me?>
	Msg1 <アリーナで%JS2を待ってる。早くこっちに来なよ。>
	Msg2 <おうおう、%JF2のほうが焼かれちゃったよ。賞金のことは %name1% に聞いて。>
	Msg3 <アリーナが閉鎖された。%name1% が死んだみたいだね。>
	Msg4 <%JS2の時代もここまで%JV_M_DAよ。やれるね？>
	Msg5 <へえ、%JS2が審査をパスした今日のお客かい。%JF2は Vanda、"放火魔の女王" なんて風にも呼ばれてる。本気で%JF2とやる気なんだね？>
	Msg6 <いいね……%JF2の肩書きにビビってないし、大口叩いてるわけでもなさそうだし。新しいパイロットに会った時には、それが正しい態度%JV_M_DAよ。もう少し話でもしようか？>
	Msg7 <何だか自信がなさそうに聞こえる%JV_F_WAね？ 自分を信じることは大事%JV_M_DAよ。腕の立つ相手はその不安を利用してくる。試合が始まるまで、もう少し話でもしようか？>
	Msg8 <ははっ！ %JF2もデュエルを始めたばかりの頃はそんな口の利き方をしてたね。自信を持つことは大事だけど、相手を侮ってばかりいるといつか恐ろしい目に遭うよ。試合までもう少し話でもしようか？>
	Msg9 <いい%JV_DAROU。すぐ始めるか、それとも顔でも洗ってくる？>
	Msg10 <%JF2は Namok の出身でね。あそこのアリーナはデカい%JG_NDA%JV_SIL_R知ってるだろうけどね。髪の色に合わせて炎で行こう、ってのは割と早いうちに決まってた%JG_KANA。>
	Msg11 <自分をよく知ること%JG_DAYO。強みは最大限に伸ばし、弱点は最小限にする。じゃあ、仕事にかかろうか？ 戦う準備はできてる？>
	Msg12 <"放火魔の女王" の全力を見せてあげるよ！ おアツくさせてやるから、楽しみに%JV_NA！>
	Prompt1 <アリーナに行%JV_KOU。>
	Prompt2 <今は無理。また後で来る%JG_YO。>
	Prompt3 <もちろん、そのつもり%JG_DA。>
	Prompt4 <分からないけど、やってみる%JV_F_WA%JV_SIL。>
	Prompt5 <お姉さん、勝ち目がないのはそっち%JG_DAYO。>
	Prompt6 <話に興味はない%JG_NE。>
	Prompt7 <いい%JV_ZO%JV_F_YO。そっちのことを教えて%JG_R。>
	Prompt8 <何かアドバイスとかある%JV_Q%JV_SIL？>
end
inv
	NPC Arena Pilot
	name <Vanda>
	% bio <In the duelist league she's known as the Pyromaniac Queen. Vanda has acted as a mentor to many new pilots.>
	bio <デュエリスト・リーグにおいて、彼女は "放火魔の女王" として知られている。Vanda は多くの新人パイロットの教官としても活動した。>
	CharDesc Female Sociable Passionate
	Age 7
	StatLine 17 10 16 13 14 12 10 15
	SDL_Portrait <por_f_vanda(--Y).png>
	SDL_Colors <194 16 38 172 114 89 174 238 251>
	SetTheme 1
	SetSpecSkill 2
	Initiative
	ElectronicWarfare
	Talent 5
	MOTIVATION:Competition
end

Content
	name <PC vs Aspis>
	% Aspis was one of the characters I used in GH1. Yes, I made a
	% bishounen monk.
	requires <*:Q_MECHA_ARENA_CHALLENGE (!Hi|!Ex)>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the home scene
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <This time, you'll be facing a pilot named %name3% . He's done a bit of everything: started as a musician, got hired for Kettel Industries, then left them to study at Hwang-Sa Temple. You can meet \OPR %3% at %name4% .>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Msg%id%03 <Aspis is exceptionally handsome and can use this to his advantage. His preferred style is to overwhelm opponents with rapid attacks.>
	% Prompt%id%01 <What do you know about him?>
	Msg%id%01 <今度は %name3% というパイロットと戦うことになる%JG_YO。彼はいろんなことをしてる%JG_NE──最初はミュージシャン、それから Kettel Industries に雇われて、そこを辞めたのは Hwang-Sa Temple で学ぶため。%name4% に行けば会える%JG_YO。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <Aspis はものすごくハンサムで、それを武器にすることができる%JV_F_NO。速攻で相手を圧倒するのが戦闘スタイル%JG_KANA。>
	Prompt%id%01 <相手について何か知ってることは？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndChat Say 7>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	*GoFirstTime <*PCChallengeNPC GoMakeChallenge GoWussOut>
	GoMakeChallenge <NewChat Say 5 V= 1 1 AddCHat 1 AddChat 2>
	GoWussOut <AddEasygoing d10  NewChat Say 6 V= 1 1 AddCHat 1 AddChat 2>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg1 <I wonder where you could be, calling when you should instead be fighting. Come to the arena as soon as you can.>
	% Msg2 <I concede to your superior talents. %name1% will want to speak with you.>
	% Msg3 <Following the death of %name1%, the arena has been closed...>
	% Msg4 <Shall we proceed to the arena?>
	% Msg5 <And here I thought you just wanted my phone number. Well, shall we get this match started?>
	% Msg6 <Come now, don't be coy. We both know the real reason why you came here... %name1% scheduled us for a match together, didn't \SPR %1% ? Would you like to get started right away?>
	% Msg7 <I've had a lot of time to perfect my technique. Now you will see real beauty!>
	% Prompt1 <Alright. Let's go now.>
	% Prompt2 <We can do that later..>
	Msg1 <今どこにいるんだ……戦う代わりに電話とは。すぐにアリーナに来るんだ。>
	Msg2 <%JS2のほうが優れていると認めよう。%name1% が報告を待っているぞ。>
	Msg3 <%name1% の死に続いて、アリーナも閉鎖された……。>
	Msg4 <ではアリーナへ行こうか？>
	Msg5 <電話番号を聞きに来ただけかと思っていたよ。では、試合を始めようか？>
	Msg6 <気後れすることはない。ここに来る理由なんて１つだけだ…… %name1% が試合を組んだ、そうだろう？ 今すぐ始めるかい？>
	Msg7 <%JF2の技を完璧にするための時間は十分に取らせてもらった……真の美技というものを味わうといい！>
	Prompt1 <分かった、行%JV_KOU。>
	Prompt2 <また後にし%JV_YOU……。>
end
inv
	NPC Arena Pilot
	name <Aspis>
	% bio <Aspis gave up a life of comfort to become a wandering adventurer. He was one of the pilots who fought against Typhon during the Battle of Snake Lake.>
	bio <Aspis は冒険者となるために快適な暮らしを捨てた。彼は Snake Lake での決戦で Typhon と対峙したパイロットの一人だ。>
	job <Adventurer>
	CharDesc Male Heroic Sociable Passionate Cheerful Spiritual
	Age 7
	StatLine 17 14 15 14 10 15 16 24
	SDL_Portrait <por_m_ladi_aspis(-C-).png>
	SDL_Colors <166 47 32 255 212 195 245 215 150>
	SetTheme 9
	SetSpecSkill 1
	Initiative
	Conversation
	Performance
	Mysticism
	Talent 7
	MOTIVATION:GreaterGood
end

Content
	name <PC vs Winter>
	requires <*:Q_MECHA_ARENA_CHALLENGE (!Hi|!Ex)>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <The next battle will be a solo contest against a pilot named %name3% . Go meet \OPR %3% at %name4% and work out a match time.>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4% .>
	% Msg%id%03 <%name3% is very young, but she has a preternatural affinity with mecha. Her mother was a pilot and her father a mecha designer; both of them died within a week of her tenth birthday. Since then, she's regarded her mecha as her only family.>
	% Prompt%id%01 <Never heard of her before. Who is she?>
	Msg%id%01 <次の戦いは %name3% というパイロットとの一騎討ち%JG_DAYO。%name4% で彼女にあって、開始時間の打ち合わせを。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <%name3% はとても若い%JV_Nだ%JG_GA、何かを超越したくらいの不思議な繋がりをメックと持っている%JG_NDA。母親がパイロットで、父親がメックデザイナー……どちらも彼女が10歳になってから一週間のあいだに亡くなったとか。それ以来、愛機を唯一の家族として見ているらしい%JG_YO。>
	Prompt%id%01 <聞いたことないな、どんな人？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	GoThemeInfo <EndChat Say 7>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	GoFirstTime <NewChat Say 5 V= 1 1 AddCHat 3 AddChat 4>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	result3 <NewChat Say 6 AddChat 1 AddChat 2 ifG PCDAge ChatNPCDAge AddCheerful d6>
	result4 <NewChat Say 8 AddChat 1 AddChat 2>
	% Msg1 <Why haven't you come to the arena yet? No need to hurry... I enjoy spending time alone with my dearest.>
	% Msg2 <How could you be so cruel... Go tell %name1% that I've been defeated.>
	% Msg3 <%name1% has passed on... there will be no further arena matches, now.>
	% Msg4 <Oh, it's you. Shall we get this over with?>
	% Msg5 <You must be \PC . I'm %name3%. %name1% told me that you were my next challenger.>
	% Msg6 <It is? I must have missed that. Are you ready for our duel?>
	% Msg7 <My dearest is beautiful, but he can also be cruel... Let me show you what he's capable of.>
	% Msg8 <Do you doubt me? I don't care what you think, just as long as you're ready to fight.>
	% Prompt1 <I'm ready.>
	% Prompt2 <Not right now, sorry.>
	% Prompt3 <It's nice to meet you.>
	% Prompt4 <You're very young to be an arena champion, aren't you?>
	% CPrompt4 <ifG PCDAge ChatNPCDAge Accept>
	Msg1 <どうしてまだアリーナに来ないの？ 別に急がなくてもいいけど……カレと一緒にいれば、一人でも楽しいから。>
	Msg2 <どうしてこんなヒドいことするの……%JF2の負けだって %name1% に言ってきて。>
	Msg3 <%name1% が死んじゃった……アリーナの試合も、もう無いね。>
	Msg4 <ああ……%JS2なのね。じゃあ、さっさと終わらせましょうか？>
	Msg5 <%JS2が \PC ね。私は %name3% 、%name1% から%JS2が次の相手だって聞いてるわ。>
	Msg6 <そうなの？ そういうの、分からなかった。デュエルの準備はできてる？>
	Msg7 <%JF2のカレは綺麗なの。でもおんなじくらい残酷よ……どういう意味なのか、教えてあげる。>
	Msg8 <%JF2を疑ってるの……？ %JS2が何を考えてるかなんて興味ないわ、試合さえできれば。>
	Prompt1 <いける%JV_ZO。>
	Prompt2 <今すぐは無理%JV_M_DA、ごめん%JV_F_NE。>
	Prompt3 <会えて嬉しい%JG_YO。>
	Prompt4 <アリーナチャンプにしては、ずいぶん若い%JV_N%JV_M_DA%JV_NA。>
	CPrompt4 <ifG PCDAge ChatNPCDAge Accept>
end
inv
	NPC Arena Pilot
	name <Winter>
	% bio <Following the death of her parents, Winter became obsessed with her mecha. She has plans to expand the workshop they left her.>
	bio <両親の死をきっかけに、Winter は彼女のメックに取り憑かれるようになった。今は両親の遺した工房を大きくする計画を持っているようだ。>
	CharDesc Female Melancholy Shy Easygoing Spiritual
	Age -3
	StatLine 17 12 17 19 15 16 13 15
	SDL_Portrait <por_f_ladilolita(YC-).png>
	SDL_Colors <80 80 85 255 212 195 188 199 160>
	SetTheme 8
	SetSpecSkill 1
	Awareness
	SpotWeakness
	Stealth
	MechaEngineering
	Talent 12
	Talent 19
	MOTIVATION:Revenge
end



%%
%% Generic Competitors
%%

Content
	name <Generic Challenger 1>
	requires <*:Q_MECHA_ARENA_CHALLENGE>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	% Msg%id%01 <For the next battle, you'll be facing %name3%. You can find \OPR %3% in %name4%.>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4%.>
	Msg%id%01 <次の戦いは %name3% が相手%JG_DAYO。%name4% に行けば会える%JV_F_WA。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>

	Persona 3
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	*GoThemeInfo <*THEME_EXPO&Enemy NA>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater NewChat Say 4 AddChat 1 AddChat 2>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg1 <I'm waiting for you at the arena. Hurry up and get over here.>
	% Msg2 <You beat me. You better go talk with %name1% about the reward.>
	% Msg3 <Too bad about what happened to %name1%... I guess there's not going to be any more fights until we get a new arena manager.>
	% Msg4 <Are you here to challenge me?>
	% Prompt1 <That's right.>
	% Prompt2 <Not right now; we can fight later.>
	Msg1 <アリーナで%JS2を待ってる%JV_ZO。急いで来て%JG_R。>
	Msg2 <%JS2の勝ち%JG_DAYO。賞金は %name1% から受け取って%JG_R。>
	Msg3 <%name1% のことは残念だった%JG_YO%JV_SIL_R新しいマネージャーが見つかるまで、試合はお預け%JG_DANE。>
	Msg4 <%JF2に挑戦しに来たの%JV_KA_Q？>
	Prompt1 <その通り%JG_DA。>
	Prompt2 <今は無理%JV_M_DA。また今度で。>
end
inv
	NPC Arena Pilot
end

Content
	name <Generic Challenger 2>
	% As above, but you can ask the arena manager about challenger
	requires <*:Q_MECHA_ARENA_CHALLENGE>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <The next match is a one-on-one challenge. You'll be facing %name3%; \SPR %3% can be found at %name4%.>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4%.>
	% Msg%id%03 <I guess you're going to have to find that out on your own...>
	% Prompt%id%01 <Is \SPR %3% very strong?>
	Msg%id%01 <次の試合は一騎討ち%JG_DAYO。%name3% との対戦%JV_M_DA%JV_NE。%name4% に行けば会える%JV_ZO。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <それは自分で確かめてもらわないといけない%JV_F_WA%JV_NA……。>
	Prompt%id%01 <%JT_SOは強いの？>

	Persona 3
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	*GoThemeInfo <*THEME_EXPO&Enemy NA>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater NewChat Say 4 AddChat 1 AddChat 2>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg1 <I'm waiting...>
	% Msg2 <I can't believe I lost... %name1% will want to speak with you.>
	% Msg3 <Too bad about what happened to %name1%... I guess there's not going to be any more fights until we get a new arena manager.>
	% Msg4 <%name1% said you're the next challenger I have to fight. Are you ready to battle right now?>
	% Prompt1 <Let's go to the arena.>
	% Prompt2 <I'll be back after repairing my mecha.>
	Msg1 <待ってる%JV_ZO……。>
	Msg2 <この%JF2が負けるなんて…… %name1% が報告を待ってる%JV_ZO。>
	Msg3 <%name1% のことは残念だった%JG_YO%JV_SIL_R新しいマネージャーが見つかるまで、試合はお預け%JG_DANE。>
	Msg4 <%name1% から、%JS2が次の戦いの相手だと聞いてる%JG_YO。今すぐ戦える%JV_KA_Q？>
	Prompt1 <アリーナに行%JV_KOU。>
	Prompt2 <メックを修理したら戻ってくる%JV_F_WA。>
end
inv
	NPC Arena Pilot
end

Content
	name <Generic Challenger 3>
	% As above, but the challenger reacts differently the first and second times you meet
	requires <*:Q_MECHA_ARENA_CHALLENGE>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <For this match, you'll be going up against %name3% in single combat. You can find \OPR %3% at %name4%.>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4%.>
	% Msg%id%03 <Do your best and you'll have no regrets. Now get over there and find your opponent!>
	% Prompt%id%01 <Do you have any advice?>
	Msg%id%01 <この試合では、%name3% と１対１で戦うことになる。\SPR %3%には %name4% に行けば会える%JG_YO。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <全力さえ尽くせば、後悔することはなくなる。さあ、相手に会いに行きなさい。>
	Prompt%id%01 <何かアドバイスは？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	*GoThemeInfo <*THEME_EXPO&Enemy NA>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	GoFirstTime <NewChat Say 5 V= 1 1 AddCHat 1 AddChat 2>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg1 <Did you forget that we have an arena fight scheduled? I'm getting bored.>
	% Msg2 <Victory is yours... Go find %name1% to get your prize money.>
	% Msg3 <Too bad about what happened to %name1%... I guess there's not going to be any more fights until we get a new arena manager.>
	% Msg4 <Are you ready to fight?>
	% Msg5 <So you're my next challenger. You should know that I won't make this easy for you. Shall we get started?>
	% Prompt1 <I'm ready.>
	% Prompt2 <Maybe I'll come back later.>
	Msg1 <試合の予定を忘れてるの%JG_Q？ 待ちくたびれてきた%JV_ZO。>
	Msg2 <勝利は%JS2のもの%JG_DAYO%JV_SIL_R %name1% から賞金を受け取るといい%JV_F_WA。>
	Msg3 <%name1% のことは残念だった%JG_YO%JV_SIL_R新しいマネージャーが見つかるまで、試合はお預け%JG_DANE。>
	Msg4 <戦う準備はいい%JV_KA_Q？>
	Msg5 <%JS2が%JF2の次の挑戦者%JG_DANE。簡単にはやらせない……覚悟しておくといい%JV_F_WA。では始め%JV_YOUか？>
	Prompt1 <いける%JV_ZO。>
	Prompt2 <また来る%JV_F_WA、たぶん。>
end
inv
	NPC Arena Pilot
end

Content
	name <Generic Challenger 4>
	% As above, but the first time you meet the PC can make a formal challenge
	requires <*:Q_MECHA_ARENA_CHALLENGE>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the challenger
	% E4 is the challenger's home
	Element3 <Prefab>
	Place3 <4 (Citizens) Ally Pass>
	Element4 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 3>

sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %3% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %3% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %3% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <Your next match is a personal challenge against %name3% . Meet \OPR %3% at %name4% and work out a fight time.>
	% Msg%id%02 <%name1% sent you to battle %name3% in arena combat; \SPR %3% can be found in %name4%.>
	% Msg%id%03 <What do you expect, a level walkthrough? It doesn't work that way in real life. Just fight hard and hope for the best.>
	% Prompt%id%01 <Any advice on how to beat \OPR %3% ?>
	Msg%id%01 <次は %name3% との個人戦%JG_DAYO。%name4% で\SPR %3%と会って、対戦時間の打ち合わせを。>
	Msg%id%02 <%name3% とアリーナで戦うように %name1% に言われた。%name3% は %name4% にいる。>
	Msg%id%03 <何%JV_M_DA、攻略本でも欲しいの%JV_KA_Q？ 現実はそんな風にはいかない%JV_ZO。全力を尽くして、あとは結果が出ることを祈りなさい。>
	Prompt%id%01 <何か勝利へのアドバイスは？>

	Persona 3
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	*GoThemeInfo <*THEME_EXPO&Enemy NA>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin EndChat Say 1>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	*GoFirstTime <*PCChallengeNPC GoMakeChallenge GoWussOut>
	GoMakeChallenge <NewChat Say 5 V= 1 1 AddCHat 1 AddChat 2>
	GoWussOut <AddEasygoing d10  NewChat Say 6 V= 1 1 AddCHat 1 AddChat 2>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %3% SetChallengerHome %2% %4% MoveNPC %3% %2% PrepArena %2% 0 SetNPCTeam %3% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg1 <I'm waiting for you in \SCENE %2% .>
	% Msg2 <You win... Go speak with %name1% about the prize money.>
	% Msg3 <Too bad about what happened to %name1%...>
	% Msg4 <I'm all ready for our big match. How about you?>
	% Msg5 <I should have known... you have that hungry look in your eyes. Shall we get started?>
	% Msg6 <In that case, I'd like to challenge you to a match. It doesn't matter which one of us does the challenging; only one can move on to the next round. Shall we get started?>
	% Prompt1 <I'm ready to take you.>
	% Prompt2 <Not right now; I'll be back later.>
	Msg1 <\SCENE %2% で%JS2のことを待ってる%JV_ZO。>
	Msg2 <%JS2の勝ち%JG_DAYO%JV_SIL_R賞金のことは %name1% に聞いて%JG_R。>
	Msg3 <%name1% のことは残念だった%JG_NE%JV_SIL_R。>
	Msg4 <こちらは一戦交える準備ができている%JV_ZO。%JS2は？>
	Msg5 <なるほど……飢えた眼をしている%JV_F_WA%JV_NA。始め%JV_YOUか？>
	Msg6 <それなら、%JF2のほうから%JS2に試合を申し込む%JV_ZO。どっちが挑戦者なのかはどうでもいい%JG_NDA%JV_SIL_R次のラウンドに進めるのは片方だけな%JV_Nだから。始め%JV_YOUか？>
	Prompt1 <勝つ準備はできてる%JV_F_WA。>
	Prompt2 <今すぐは無理%JG_DA、また後で。>
end
inv
	NPC Arena Pilot

end

Content
	name <Random Challenger 1>
	% This challenger is randomly generated
	requires <*:Q_MECHA_ARENA_CHALLENGE>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the root scene
	% E4 is the PDASS faction
	% E5 is the challenger
	% E6 is the challenger's home
	Element3 <.>
	Element4 <Faction PDASS>
	Element5 <NewNPC 4 3>
	Place5 <6 (Citizens) Ally Pass>
	Element6 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 5>
sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %5% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %5% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %5% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <Your next fight will be against %name5% . Meet \OPR %5% at \SCENE %6% .>
	% Msg%id%02 <%name1% sent you to battle %name5% in arena combat; \SPR %5% can be found in %name6% .>
	% Msg%id%03 <Absolutely nothing. You'd be best off talking to %name5% yourself.>
	% Prompt%id%01 <What do you know about \OPR %5% ?>
	Msg%id%01 <次は %name5% との対戦%JG_DAYO。\SCENE %6% まで会いに行って%JG_R。>
	Msg%id%02 <%name5% とアリーナで戦うように %name1% に言われた。%name5% は %name6% にいる。>
	Msg%id%03 <完全にナシ%JG_DANE。自分で話してみるのが一番%JG_DAYO。>
	Prompt%id%01 <相手について何か情報は？>

	Persona 5
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	*GoThemeInfo <*THEME_EXPO&Enemy NA>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin Goto GoWaiting>
	*GoWaiting <*WaitingForDuel %2%>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1 AddChat 2>
	*GoFirstTime <*PCChallengeNPC GoMakeChallenge GoWussOut>
	GoMakeChallenge <NewChat Say 5 V= 1 1 AddCHat 1 AddChat 2>
	GoWussOut <AddEasygoing d10  NewChat Say 6 V= 1 1 AddCHat 1 AddChat 2>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %5% SetChallengerHome %2% %6% MoveNPC %5% %2% PrepArena %2% 0 SetNPCTeam %5% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	*result2 <*RejectChallenge>
	% Msg2 <You win... Go speak with %name1% about the prize money.>
	% Msg3 <Too bad about what happened to %name1%...>
	% Msg4 <It's time for our match to begin. Are you ready?>
	% Msg5 <You must be my next challenger. I'm eager to get started. Are you ready for the match?>
	% Msg6 <There's no need to be bashful. I already know that you're my next competitor. Are you ready for the match?>
	% Prompt1 <I'm always ready.>
	% Prompt2 <Maybe I'll be ready later.>
	Msg2 <%JS2の勝ち%JG_DAYO%JV_SIL_R賞金のことは %name1% に聞いて%JG_R。>
	Msg3 <%name1% のことは残念だった%JG_NE%JV_SIL_R。>
	Msg4 <そろそろ試合を始める時間%JG_DAYO。準備はいい%JV_KA_Q？>
	Msg5 <%JS2が次の挑戦者%JV_KA。こっちは待ちくたびれていたところ%JG_DAYO。準備はできてる%JV_KA_Q？>
	Msg6 <かしこまった態度は要らない%JG_YO。%JS2が次の対戦相手だということはもう聞いている%JG_NDA。試合は始められる%JV_KA_Q？>
	Prompt1 <いつだって行ける%JV_F_WA。>
	Prompt2 <また後ならきっと。>
end

Content
	name <Random Challenger 2>
	% This challenger is also randomly generated
	requires <*:Q_MECHA_ARENA_CHALLENGE>

	% E1 is the arena manager
	% E2 is the arena proper
	% E3 is the root scene
	% E4 is the PDASS faction
	% E5 is the challenger
	% E6 is the challenger's home scene
	Element3 <.>
	Element4 <Faction PDASS>
	Element5 <NewNPC 4 3>
	Place5 <6 (Citizens) ally pass>
	Element6 <Scene Building Public>

	SubPlot1 <*Q_CHALLENGER_SUBQUEST 5>
sub
	Persona 1
	Greeting <if= PlotStatus %plotid% %id% else %pop%  if= ArenaState %2% NAV_AS_Win else .%id%_GoCheckLoss SetPlotStatus %plotid% %id1% if# ArenaWins %2% 10 else GoBigWin Goto .%id%_GoArenaWin>
	*.%id%_GoCheckLoss <*ChallengerStatusReport %5% %2% .%id%_GoNPCDied>
	.%id%_GoInit <ifNPCOK %5% else .%id%_GoNPCDied NewChat Say %id%01 SetPlotStatus %plotid% %id%  QMemo %plotid% %id%02  AddChat %id%01>
	%% Just in case the NPC who we're supposed to fight has died somehow, just set up a normal fight.
	*.%id%_GoNPCDied <*YourChallengerDied %2% %plotid%>
	*.%id%_GoArenaWin <*ChallengeArenaWin %5% %2% .%id%_GoConclude>
	.%id%_GoConclude <ResetArena %2%>
	Result%id%01 <NewChat Say %id%03>
	% Msg%id%01 <For the next battle, you'll be facing a pilot named %name5% . Go talk to \OPR %5% at %name6%.>
	% Msg%id%02 <%name1% sent you to battle %name5% in arena combat; \SPR %5% can be found in %name6%.>
	% Msg%id%03 <Just because you've never heard of someone is no guarantee that they'll be an amateur. Of course, it's no guarantee that they won't be, either.>
	% Prompt%id%01 <I've never heard of \OPR %5% before.>
	Msg%id%01 <次の戦いは、%name5% という名のパイロットが相手%JG_DAYO。%name6% まで会いに行って%JG_R。>
	Msg%id%02 <%name5% とアリーナで戦うように %name1% に言われた。%name5% は %name6% にいる。>
	Msg%id%03 <だからと言って相手がアマチュアだとは限らない%JV_F_WA。もちろん、そうではないという意味にもならない%JG_GA。>
	Prompt%id%01 <聞いたことのない相手%JV_M_DA%JV_F_NE。>

	Persona 5
	% V1 = First time chat counter
	Greeting <if= PlotStatus %plotid% %id% else GoNoMatch  if= ArenaState %2% NAV_AS_Battle else GoCheckStatus Goto GoTrashTalk>
	*GoTrashTalk <*ArenaChallenge GoThemeInfo>
	*GoThemeInfo <*THEME_EXPO&Enemy NA>
	GoCheckStatus <if= ArenaState %2% NAV_AS_Ready else GoCheckWin Goto GoWaiting>
	*GoWaiting <*WaitingForDuel %2%>
	GoCheckWin <if= ArenaState %2% NAV_AS_Win else GoCheckChallenge ifNPCOK %1% else GoManagerDied NewChat Say 2>
	GoManagerDied <NewChat Say 3 SetPlotStatus %plotid% -1 ResetArena %2%>
	GoCheckChallenge <ResetArena %2% ifG ComTime ArenaRecharge %2% else GoLater if= V1 1 else GoFirstTime NewChat Say 4 AddChat 1>
	*GoFirstTime <*PCChallengeNPC GoMakeChallenge GoWussOut>
	GoMakeChallenge <NewChat Say 5 V= 1 1 AddCHat 1>
	*GoWussOut <*GodImBored>
	*GoLater <*ChallengeMeLater>
	*GoNoMatch <*NiceToMeetYou GoChat>
	*GoChat <*MISC_CHATTER>
	GoStartCombat <SetChallengerID %2% %5% SetChallengerHome %2% %6% MoveNPC %5% %2% PrepArena %2% 0 SetNPCTeam %5% 2>
	*result1 <*MeetMeAtArena %2% GoStartCombat>
	% Msg2 <I concede... Go let %name1% know that you won the match.>
	% Msg3 <Too bad about what happened to %name1%...>
	% Msg4 <I've been waiting. Meet me at %name2% and we can begin the match.>
	% Msg5 <I accept your challenge. Meet me at %name2% and we can begin the match.>
	% Prompt1 <I'll see you there.>
	Msg2 <負けを認める%JG_YO%JV_SIL_R%JS2が勝ったと %name1% に報告するといい。>
	Msg3 <%name1% のことは残念だった%JG_NE%JV_SIL_R。>
	Msg4 <待ってる%JV_ZO。早く %name2% に来て試合を始めない%JV_KA_Q？>
	Msg5 <受けて立つ%JG_YO。%name2% に来て%JG_R%JV_SIL_Rそこで試合ができるから。>
	Prompt1 <すぐに行く%JV_F_WA。>
end

