Story
	name <LM: Bear Bastard>
	% Bear Bastard is a bastard of a bandit. He will challenge the PC to a
	% fight; if the PC wins, then by the ancient laws of Shonen Knife Bushido
	% then the two must become friends.

	% N1 is the scene in which the BB will be deployed.
	% N2 is the BB himself.
	Element2 <Prefab>

	% S1 = Initialization Counter (MP Reputation)
	%      If S1=1, PC has defeated the attackers
	% S2 = PC has fought the attackers (1)
	%      PC has spoken to BB afterwards (2)
	% S3 = Have won combat exactly once

	% At startup, set the potential lancemate's skill level and reputation.
	Init_Start <ifNPCOK N2 else GoDelete if= S1 1 else GoInit S= 1 2 MoveChar N2 N1>
	start <ifNPCOK N2 else GoDelete if= S1 1 else GoInit S= 1 2 MoveChar N2 N1>
	GoInit <if= S1 0 S= 1 d30 S+ 1 20 NPCAbsoluteLevel N2 S1 SetNPCRep N2 6 S1 Compose ENC 1 .encounter>
	GoDelete <EndStory>
	.encounter <if= S2 0 if= d6 1 ifG PCScale 0 ifG PCRenown S1 Block Alert 1 Goto GoStartCombat>
	GoStartCombat <SavePos Dynamic 2 Threat PCRenown 90 .nu1 .nu2 S= 2 1 DynaNPC N2 2 ComposeD START .encstart PassVar 1 N2>
	.nu1 <if= T1 0 if= L3 0 L= 3 1 LoseRenown Return>
	.nu2 <if= T2 0 if= L3 0 L= 3 1 XPV 100 Reputation 6 1 Return>
	nu1 <if= T1 0 if= S3 0 S= 2 0>
	nu2 <if= T2 0 if= S2 1 if= S3 0 S= 3 1 S= 1 1 History 2>
	.encstart <if= L2 0 ForceChat L1 L= 2 1>

	% Msg1 <You are suddenly accosted by a motley gang of bandits. All of the enemy mecha appear to have cardboard bear ears attached to their heads.>
	Msg1 <あなたは突然、奇妙な風体の賊の一団に絡まれた。敵のメックはどれもボール紙で作ったと思しきクマの耳を頭部に取り付けている。>
	% Msg2 <You defeated Bear Bastard in dishonorable combat.>
	Msg2 <あなたは Bear Bastard を不名誉な形で打ち負かした。>

	% msg101 <\NARRATIVE 2 is in \NARRATIVE 1 \VAL N1>
	msg101 <\NARRATIVE 2 は \NARRATIVE 1 \VAL N1 にいる。>

sub
	% In SubComponents, the persona for Bear Bastard.
	Persona 2
	# V1 = Have fought at least once before
	greeting <NewChat ifG S2 1 else GoCheckFirst Say 3>
	GoCheckFirst <if= S1 2 else GoInCombat AddReact 10 Say 2 AddChat 3 AddChat 4>
	GoInCombat <EndChat Say 1 AddChat 1 AddChat 2 V+ 1 1>

	result1 <EndChat Say 4>
	result2 <EndChat Say 5 AddReact d8>
	result3 <S= 2 2 PCAlly N2 NewChat Say 6>
	result4 <NewChat Say 7 AddChat 5 AddChat 6>
	result5 <S= 2 2 PCAlly N2 NewChat Say 8>
	result6 <NewChat Say 9 ifG d60 react PCEnemy N2 EndStory>

	% Msg1 <Listen up, loser, I don't know who you are and I don't care. You're gonna be sorry for picking a fight with Bear Bastard and the Teddy Bandits!>
	Msg1 <よく聞け負け犬、%JFは%JSが誰か知らないし気にもしない。%JSは Bear Bastard と Teddy Bandits を敵にしたことを後悔するだろう！>
	% Msg1_1 <You again? If you didn't learn the first time, I'm gonna have to beat some more sense into yer head! Don't challenge the Teddy Bandits unless you want to lose!>
	Msg1_1 <また%JSか？一回で分からなかったなら、もう何度か%JSの頭に叩き込んでやろう！負けたいのでなけりゃ、Teddy Bandits には挑まないことだ！>
	CMsg1_1 <ifG V1 0 accept>
	% Msg1_2 <You don't know when to give up, do ya? I told you before, if you challenge the Teddy Bandits to a fight, we're the ones who're gonna end it!>
	Msg1_2 <%JSは諦め時を弁えない奴だな？前に言ったろう、Teddy Bandits に戦いを挑むなら、トドメを刺すのは%JFたちの側だとな！>
	CMsg1_2 <ifG V1 3 accept>

	% Msg2 <Hey buddy, that was a great fight out there. Since you've proved yourself I'm gonna let you join the Teddy Bandits.>
	Msg2 <おうダチ公よ、スゲえ戦いだったな。%JSは自分自身を証明した、だから%JSを Teddy Bandits に入れてやろう。>

	# Speaking after the battle.
	% Msg3 <Hey \PC ! Ready to go beat some heads?>
	Msg3 <おい \PC ！暴れる準備はできてるか？>
	Msg3_1 <>
	Msg3_2 <>

	% Msg4 <Don't try to weasel your way out of it...>
	Msg4 <誤魔化して逃げようなどとしないことだ…。>
	% Msg4_1 <That ain't nothing but a technicality and you know it. Now prepare to fight!>
	Msg4_1 <言葉のアヤだ、分かってるだろう。では覚悟しろ！>
	% Msg5 <Hah! I like the cut of your jib.>
	Msg5 <はっ！いい根性をしているぜ。>
	% Msg5_1 <That's the spirit! I could use someone like you in my lance...>
	Msg5_1 <その意気だ！%JSのような奴なら%JFの小隊に入れてもいい…。>
	% Msg6 <Yeah, whatever. Either way, the next time we fight, I plan to make sure it's on the same side!>
	Msg6 <おう、何でもいいぞ。どちらにしても、次に%JFたちが戦う時には、間違えずに%JSと同じ側に立つつもりだ！>
	% Msg7 <Don't you know the code of Shonen Knife Bushido? First two cavaliers fight, then they become friends. It's the law!>
	Msg7 <少年ナイフ武士道の規範を知らないのか？二人のメック乗りはまず戦い、そして友となる。これが掟だ！>
	% Msg8 <That's the spirit! I'll see you around, buddy.>
	Msg8 <その意気だ！また会おう、ダチ公よ。>
	% Msg9 <Fine, be like that.>
	Msg9 <上等だ、勝手にしろ。>

	% Prompt1 <Wait, I didn't challenge you...>
	Prompt1 <待った、%JSに挑戦なんかしてないぞ…。>
	% Prompt1_1 <Can't we talk about this?>
	Prompt1_1 <話し合いで何とかできないのか？>
	% Prompt1_2 <You're the one who challenged me!>
	Prompt1_2 <挑んできたのはそっちだろう！>
	% Prompt2 <Big talk, little man.>
	Prompt2 <口だけは大きいな、小物だけに。>
	% Prompt2_1 <Talk is cheap. Let's fight.>
	Prompt2_1 <言うだけならタダだ。戦おうか。>
	% Prompt2_2 <Prepare to witness true power.>
	Prompt2_2 <本当の力ってものを見せてやろう。>
	% Prompt3 <Maybe you could join my team instead.>
	Prompt3 <代わりに%JFのチームに加わる手もある。>
	% Prompt4 <What!? I don't want to join your stupid team.>
	Prompt4 <何だって！？%JSの馬鹿げたチームに入りたくなんかない。>
	% Prompt5 <Alright, whatever.>
	Prompt5 <分かった、もう何でもいい。>
	% Prompt6 <I have no desire to be your friend.>
	Prompt6 <%JSの友達になる気はない。>

end
inv
	NPC Mecha Pilot
	name <Bear Bastard>
	job <Swashbuckler>
	chardesc Male Passionate Passionate Passionate Criminal
	EquipChar 5000
	statline 12 20 15 13 10 17 10 14
	SDL_PORTRAIT <por_m_joe_bearbastard(AUY).png>
	SDL_COLORS <135 30 17 184 124 81 67 73 100>
	Age 15
	skill 12 10
	skill 18 0
	skill 28 15
	skill 35 15
	TALENT_BODYBUILDER
	TALENT_KUNGFU
	mecha <Daum.txt>
	CHAT_ATTACK1 <>
	CHAT_ATTACK2 <>
	CHAT_ATTACK3 <>
	CHAT_SAFE1 <>
	CHAT_SAFE2 <>
	CHAT_SAFE3 <>
	CHAT_EJECT1 <>

end
