shiny-cuty-excel-chiffon/data/3-01.ks
2024-10-27 15:37:15 -05:00

1324 lines
59 KiB
Text


*scene3-01|ステージ3『レジャープール』
;3-01
;駅前
[jump target=*from_stageselect cond="f.fromStageSelect"]
;BGM:日常1
[playbgm storage="bgm002"]
[BgSet storage="bg100"]
[Update]
[ChrSet2 storage="b_a101"]
[ChrSet1 storage="b_b101"]
[Update]
[WindowOn]
[Face storage="f_a102"]
[Voice storage="a0391" buf=2]
【Natsuki】[CR]
「[v]Hehehe, I got something nice. I never thought they'd be[r]selling a jobless Pooh bear doll from Kumano[r]Pilgrimage.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b101"]
[Voice storage="b0316" buf=2]
【Mifuyu】[CR]
「[v]It's popular, you know. Hehe, I'm glad for you,[r]Nacchan.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a101"]
[Voice storage="a0392" buf=2]
【Natsuki】[CR]
「[v]Yeah![/v]」[KeyWait]
[FaceOff]
[BgSet storage="bg000"]
[Update]
[text]It's Saturday today—our school has classes on Saturdays[r]too. But that's over now.[KeyWait]
[text]So, we came to the station front to do some shopping.[KeyWait]
[text]Shopping in a situation where the Ergonia Empire is[r]invading—there's definitely that thought.[KeyWait]
[text]But, because of this situation, we decided to enjoy[r]ourselves to the fullest when we can, together with[r]Mifuyu- chan.[KeyWait]
[text]Thinking that getting gloomy because of the invasion[r]would be just what they want.[KeyWait]
[BgSet storage="bg100"]
[ChrSet0 storage="b_b101"]
[Update]
[Face storage="f_a101"]
[Voice storage="a0393" buf=2]
【Natsuki】[CR]
「[v]So next is Mifuyu-chan's shopping. Is there anything[r]you want, Mifuyu-chan?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b128"]
[Voice storage="b0317" buf=2]
【Mifuyu】[CR]
「[v]Something I want... Hmm. Oh, right! I think I'm running[r]low on offerings for rituals.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a138"]
[Voice storage="a0394" buf=2]
【Natsuki】[CR]
「[v]Rituals—you mean you're still practicing black magic,[r]Mifuyu-chan...[/v]」[KeyWait]
[FaceOff]
[ChrSet0 storage="b_b104l"]
[Update]
[Face storage="f_b131"]
[Voice storage="b0318" buf=2]
【Mifuyu】[CR]
「[v]Huh? Ah... ahhh[/v]」[KeyWait]
[FaceOff]
[text]Mifuyu-chan hurriedly covered her mouth.[KeyWait]
[text]She was into sacrifices and magic about a year ago.[KeyWait]
[text]I thought she had lost interest since she hadn't[r]mentioned it lately, but she's still at it.[KeyWait]
[Face storage="f_a138"]
[Voice storage="a0395" buf=2]
【Natsuki】[CR]
「[v]Hehehe[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b138"]
[Voice storage="b0319" buf=2]
【Mifuyu】[CR]
「[v]Hey! Nacchan!? No! Nooo! Don't look at me with those[r]warm eyes![/v]」[KeyWait]
[FaceOff]
[Face storage="f_a102"]
[Voice storage="a0396" buf=2]
【Natsuki】[CR]
「[v]It's okay, it's okay. Come on, let's go buy the[r]offerings.[/v]」[KeyWait]
[FaceOff]
; 後半はそんなことをしなくてももう超常の力があるし、の意。ちょっと小声になる
; ※※※やっぱ変だな。後半要らんか。
[Face storage="f_b138"]
[Voice storage="b0320" buf=2]
【Mifuyu】[CR]
「[v]Hey! No, nooo![/v]」[KeyWait]
[FaceOff]
[BgSet storage="bg000"]
[Update]
; この行も要らんか
[text]Hehe... Well, maybe there's no need for black magic[r]when we've already received power?[KeyWait]
[text]We started to walk while having such a conversation.[KeyWait]
[fadeoutbgm time=1000]
[text]But at that moment—[KeyWait]
;BGM:緊張
[playbgm storage="bgm009"]
[BgSet storage="bg100"]
[ChrSet2 storage="b_a103"]
[ChrSet1 storage="b_b102"]
[Update]
[Face storage="f_a105"]
[Voice storage="a0397" buf=2]
【Natsuki】[CR]
「[v]—!![/v]」[KeyWait]
[FaceOff]
[text]I felt it![KeyWait]
[Face storage="f_a131"]
[Voice storage="a0398" buf=2]
【Natsuki】[CR]
「[v]Mifuyu-chan![/v]」[KeyWait]
[FaceOff]
[Face storage="f_b132"]
[Voice storage="b0321" buf=2]
【Mifuyu】[CR]
「[v]Did you feel it too, Nacchan?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a131"]
[Voice storage="a0399" buf=2]
【Natsuki】[CR]
「[v]Yeah... no doubt about it. It's the enemy's presence.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b132"]
[Voice storage="b0322" buf=2]
【Mifuyu】[CR]
「[v]Someone's going to be attacked again—we have to protect[r]them![/v]」[KeyWait]
[FaceOff]
[Face storage="f_a131"]
[Voice storage="a0400" buf=2]
【Natsuki】[CR]
「[v]Right! Then... over there! Let's transform in that[r]alley![/v]」[KeyWait]
[FaceOff]
[Face storage="f_b132"]
[Voice storage="b0323" buf=2]
【Mifuyu】[CR]
「[v]Got it![/v]」[KeyWait]
[FaceOff]
[Sound storage="se311" buf=0]
;暗転
[BgSet storage="_black"]
[Update rule=縦ブラインド左から右へ vague=4 time=1000]
;路地裏
[BgSet storage="bg110"]
[ChrSet2 storage="b_a103"]
[ChrSet1 storage="b_b102"]
[Update rule=縦ブラインド左から右へ vague=4 time=1000]
[Face storage="f_a129"]
[Voice storage="a0401" buf=2]
【Natsuki】[CR]
「[v]Please—[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b132"]
[Voice storage="b0324" buf=2]
【Mifuyu】[CR]
「[v]Lend us your power.[/v]」[KeyWait]
[FaceOff]
; ――ドット絵演出――
[BgSet storage="_black"]
[image page=back layer=0 storage="_black" visible=true]
[UpDate]
[loadstage storage='stage03_00.ssd']
[runstage]
[waitstage]
[freeimage page=back layer=0]
[Update]
[text]Holding our chests, we wished.[KeyWait]
[text]And with that—[KeyWait]
[fadeoutbgm time=500]
;変身ムービー
[if exp="sf.effectAnime && !tf.disableSound"]
[WindowOff]
[iscript]
p0.layer.trigger('start');
p1.layer.trigger('start');
[endscript]
[faceOpt num=2]
[Face storage="f_a903"]
[Voice storage="z0004" buf=2]
【Natsuki & Mifuyu】[CR]
「[v]エクセルチェンジッ!![/v]」
[eval exp="tf.currentLabelName = void"]
[r][ct][r][ct]
[FaceOff]
[Sound storage="se001" buf=0]
[cancelskip]
[wait time=700 canskipo=false]
[BgSet storage="_white"]
[image page=back layer=2 storage="_white" visible=true]
[Update]
[PlayMovie storage="metamorphose" layer=0]
[freeimage page=back layer=2]
[UpDate time=0]
[wait time=1000 canskip=false]
[wv canskip=true]
[StopMovie]
[image page=back layer=2 storage="_white" visible=true]
[Update time=50]
[iscript]
p0.layer.trigger('end');
p1.layer.trigger('end');
[endscript]
[freeimage page=back layer=0]
[freeimage page=back layer=2]
[Update]
;BGM:戦闘
[playbgm storage="bgm013"]
[wait time=700]
[else]
[Sound storage="se014" buf=0]
; [WindowOff]
; [image page=back layer=2 storage="_white" visible=true]
; [Update]
[iscript]
p0.layer.trigger('start2');
p1.layer.trigger('start2');
[endscript]
;BGM:戦闘
[playbgm storage="bgm013"]
[faceOpt num=2]
[Face storage="f_a903"]
[Voice storage="z0004" buf=2]
【Natsuki & Mifuyu】[CR]
「[v]Excel Change!![/v]」[KeyWait]
; [ChrReset2]
; [Update]
[endif]
[CgOpenFlagSet storage="ev001a"][CgOpenFlagSet storage="ev001a_"]
[CgOpenFlagSet storage="ev001b"][CgOpenFlagSet storage="ev001b_"]
[CgOpenFlagSet storage="ev001c"][CgOpenFlagSet storage="ev001c_"]
[CgOpenFlagSet storage="ev002a"][CgOpenFlagSet storage="ev002a_"]
[CgOpenFlagSet storage="ev002b"][CgOpenFlagSet storage="ev002b_"]
[CgOpenFlagSet storage="ev002c"][CgOpenFlagSet storage="ev002c_"]
[CgOpenFlagSet storage="ev003"]
[ChrSet0 storage="bg110"]
[ChrSet2 storage="b_a203"]
[ChrSet1 storage="b_b202"]
[Update]
[eval exp="sf.kaisouOpenFlag['902']=1"]
[current layer="message1"]
[WindowOn]
[Face storage="f_a229"]
[Voice storage="a0403" buf=2]
【Excel Chiffon】[CR]
「[v]A lovely star shining brilliantly in the night! Excel[r]Chiffon!![/v]」[KeyWait]
[FaceOff]
[Face storage="f_b206"]
[Voice storage="b0326" buf=2]
【Excel Chocolat】[CR]
「[v]A dazzling light that cuts through the night with[r]dignity—Excel Chocolat!![/v]」[KeyWait]
[FaceOff]
[text]We completed our transformation.[KeyWait]
[Sound storage="se868" buf=0]
[Face storage="f_t001"]
【???】[CR]
「[i]Kiki![/i]」[KeyWait]
[FaceOff]
[text]At that moment, we heard something like a strange cry.[KeyWait]
[Face storage="f_b236"]
[Voice storage="b0327" buf=2]
【Excel Chocolat】[CR]
「[v]Huh!? What is that?[/v]」[KeyWait]
[FaceOff]
[text]I turned my gaze in that direction.[KeyWait]
[iscript]
p0.turnToRight();
bao.setEnemy(%['kind'=>'魔影蝶', 'rootx'=>420, 'rooty'=>200, 'inverse'=>true, 'enablemove'=>false, 'return'=>'tf.butterfly']);
tf.butterfly.mode = 2;
[endscript]
[ChrReset0]
[ChrReset1]
[ChrReset2]
[Update]
[Sound storage="se868" buf=0]
[Face storage="f_t001"]
【???】[CR]
「[i]Kikikiki[/i]」[KeyWait]
[FaceOff]
[text]There was a butterfly.[KeyWait]
[text]At first glance, it looked like a normal, beautiful[r]butterfly—but it was clearly not normal. After all,[r]butterflies don't make sounds![KeyWait]
; 立ち絵シーン
[ChrSet0 storage="bg110"]
[ChrSet2 storage="b_a208"]
[ChrSet1 storage="b_b208"]
[Update]
[eval exp="bao.resetStage()"]
[eval exp="bao.hide()"]
[Face storage="f_b204"]
[Voice storage="b0328" buf=2]
【Excel Chocolat】[CR]
「[v]Could it be... something like a familiar of the enemy?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a230"]
[Voice storage="a0404" buf=2]
【Excel Chiffon】[CR]
「[v]Maybe...[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b229"]
[Voice storage="b0329" buf=2]
【Excel Chocolat】[CR]
「[v]If that's the case, it's bad... It saw us transform—!?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a229"]
[Voice storage="a0405" buf=2]
【Excel Chiffon】[CR]
「[v]Right. We have to catch it!! Let's chase it![/v]」[KeyWait]
[FaceOff]
[Face storage="f_b229"]
[Voice storage="b0330" buf=2]
【Excel Chocolat】[CR]
「[v]Yeah.[/v]」[KeyWait]
[FaceOff]
;立ち絵シーンここまで
[WindowOff]
[Sound storage="se312" buf=0]
[BgSet storage="_black"]
[Update]
;使い魔の蝶を追っていたらなぜかレジャープール内に
[BgSet storage="bg090"]
[ChrSet2 storage="b_a209"]
[ChrSet1 storage="b_b209"]
[Update]
[WindowOn]
[Face storage="f_a204"]
[Voice storage="a0406" buf=2]
【Excel Chiffon】[CR]
「[v]Huh? Where is this!?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b236"]
[Voice storage="b0331" buf=2]
【Excel Chocolat】[CR]
「[v]In a place with so many people...[/v]」[KeyWait]
[FaceOff]
[fadeoutbgm time=500]
[BgSet storage="_black"]
[image page=back layer=0 storage="_black" visible=true]
[Update]
*from_stageselect
*stage3_init
[call target=*init]
;ステージスクリプトのロード
[loadstage storage='stage03.ssd']
[image page=back layer=0 storage="_black" visible=true]
[UpDate time=1]
*stage3|ステージ3『レジャープール』
[eval exp="f.chaptertitle=''"]
[record]
[runstage]
[waitstage]
[playbgm storage="stage03"]
[freeimage page=back layer=0]
[UpDate canskip=false]
;[waittrig name="bao_trig"]
*stage3-01
[playerstate enablemove=false]
[enemystate enablemove=false]
[setSkipTarget target='*stage3-01Start']
[WindowOn cond="f.fromStageSelect"]
[Face storage="f_f001"]
【Combatant】[CR]
「[i]Eeeeeeeek![/i]」[KeyWait]
[FaceOff]
[Face storage="f_a229"]
[Voice storage="a0407" buf=2]
【Excel Chiffon】[CR]
「[v]A combatant from the Ergonia Empire—![/v]」[KeyWait]
[FaceOff]
[Face storage="f_p201"]
【Audience Member 1】[CR]
「[i]Oh, what's that?[/i]」[KeyWait]
[FaceOff]
[Face storage="f_p202"]
【Audience Member 2】[CR]
「[i]Could it be a surprise hero show!?[/i]」[KeyWait]
[FaceOff]
[Face storage="f_p203"]
【Audience Member 3】[CR]
「[i]Hey, that sounds fun![/i]」[KeyWait]
[FaceOff]
[Face storage="f_b231"]
[Voice storage="b0332" buf=2]
【Excel Chocolat】[CR]
「[v]N-No, it's not fun. It's dangerous, so please run away![/v]」[KeyWait]
[FaceOff]
[Face storage="f_a229"]
[Voice storage="a0408" buf=2]
【Excel Chiffon】[CR]
「[v]Everyone, get away from here![/v]」[KeyWait]
[FaceOff]
[Face storage="f_p205"]
【Audience Members】[CR]
「[i]Ooooooooh!![/i]」[KeyWait]
[FaceOff]
[Face storage="f_a208"]
[Voice storage="a0409" buf=2]
【Excel Chiffon】[CR]
「[v]No... They're not listening at all.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b229"]
[Voice storage="b0333" buf=2]
【Excel Chocolat】[CR]
「[v]They don't seem to think this situation is abnormal.[r]Maybe they're being mentally influenced again—[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a230"]
[Voice storage="a0410" buf=2]
【Excel Chiffon】[CR]
「[v]If that's the case... we have no choice but to deal[r]with it in this situation. Let's defeat them while[r]making sure no one gets hurt and catch that butterfly.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b205"]
[Voice storage="b0334" buf=2]
【Excel Chocolat】[CR]
「[v]Yeah![/v]」[KeyWait]
[FaceOff]
*stage3-01Start
[setSkipEnableFlag]
[call target=*init cond="tf.skipNextFlag"]
[SetSsdAtSkipNext storage=stage03.ssd target=*skipped bgm=stage03 cond="kag.bgm.currentStorage!='stage03'"]
[eval exp="kag.skipMode=0"]
[WindowOff]
[ClearHistory]
[iscript]
f.defeatedCountInThisStage = 0;
f.useSpecial1 = false;
f.defeatStage3Familiar = false;
[endscript]
[image page=back layer=0 left=0 top=0 visible=true storage=emergencyMission02]
[update time=250 canskip=false]
[wait time=500 canskip=false]
;[wait time=2500 canskip=true cond="sf.stage<3.5"]
[cancelskip][l]
[freeimage page=back layer=0]
[update time=250 canskip=false]
[ClearHistory]
[eval exp="bao.informLayer.show()"]
[playerstate enablemove=true]
[enemystate enablemove=true]
[runstage]
*stage3-01b
[waitstage]
[playbgm storage="boss1"]
[if exp="f.defeatStage3Familiar"]
[jump target=*stage3-02a]
[else]
[jump target=*stage3-02b]
[endif]
*stage3-02a
[playerstate enablemove=false]
[enemystate enablemove=false]
[eval exp="sf.stage=3.5" cond="sf.stage<3.5"]
[setSkipTarget target='*stage3-02aStart']
[if exp="f.useSpecial1==false && !sf.mission['ステージ3']"]
[eval exp="sf.mission['ステージ3']=1"]
[eval exp="toast(getMissionClearText('ステージ3'))"]
[eval exp="checkMissionAllClear()"]
[endif]
[wait time=1000 canskip=false]
[eval exp="bao.informLayer.hide()"]
[WindowOn]
[Face storage="f_n001"]
【Giant Squid】[CR]
「[i]Fshuuuuuuuuuuuuuu!![/i]」[KeyWait]
[FaceOff]
[Face storage="f_a243"]
[Voice storage="a0420" buf=2]
【Excel Chiffon】[CR]
「[v]What!? This huge thing![/v]」[KeyWait]
[FaceOff]
[Face storage="f_b236"]
[Voice storage="b0344" buf=2]
【Excel Chocolat】[CR]
「[v]A giant squid!? It's huge...[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a229"]
[Voice storage="a0421" buf=2]
【Excel Chiffon】[CR]
「[v]Yeah... but we won't lose.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b206"]
[Voice storage="b0345" buf=2]
【Excel Chocolat】[CR]
「[v]Right... Let's take it down together![/v]」[KeyWait]
[FaceOff]
*stage3-02aStart
[setSkipEnableFlag]
;[eval exp="tf.nextSkipFlag"]
[WindowOff]
[ClearHistory]
[eval exp="bao.informLayer.show()"]
[playerstate enablemove=true]
[enemystate enablemove=true]
; ボス戦開始
[runstage]
*stage3-02b5
[waitstage]
*stage3-02b
[playerstate enablemove=false]
[enemystate enablemove=false]
[setSkipTarget target='*stage3-02bStart']
[if exp="f.useSpecial1==false && !sf.mission['ステージ3']"]
[eval exp="sf.mission['ステージ3']=1"]
[eval exp="toast(getMissionClearText('ステージ3'))"]
[eval exp="checkMissionAllClear()"]
[endif]
[wait time=1000 canskip=false]
[eval exp="bao.informLayer.hide()"]
[eval exp="bao.players[0].turnToRight()"]
[eval exp="bao.players[1].turnToRight()"]
[WindowOn]
[Face storage="f_t001"]
【Phantom Butterfly】[CR]
「[i]Kiki![/i]」[KeyWait]
[FaceOff]
[Face storage="f_d001"]
【Bezel】[CR]
「[i]Haha, it seems you've successfully gathered[r]information. Well done.[/i]」[KeyWait]
[FaceOff]
[Face storage="f_b237"]
[Voice storage="b0346" buf=2]
【Excel Chocolat】[CR]
「[v]Oh no![/v]」[KeyWait]
[FaceOff]
[Face storage="f_a229"]
[Voice storage="a0422" buf=2]
【Excel Chiffon】[CR]
「[v]But... it's not over yet! If we defeat that one![/v]」[KeyWait]
[FaceOff]
[eval exp="tf.beizel.layer.trigger('look')"]
[Face storage="f_d001"]
【Bezel】[CR]
「[i]Defeat? Me? That's impossible. Giant Squid—take them[r]down.[/i]」[KeyWait]
[FaceOff]
;ジャイアントスクイッド出現
;[runstage]
;*stage3-02b2
;[waitstage]
[Sound storage=se826 buf=7]
[Sound storage=se806 buf=1]
[iscript]
// ジャイアントスクイッド生成
bao.setEnemy(%['kind'=>'e13', 'x'=>(int(bao.stageLayer.wallLayer.imageWidth / (bao.cZoomRate/bao.sZoomRate)) - bao.stageLayer.dispLeft - 134), 'y'=>216, 'return'=>'tf.squid']);
// ジャイアントスクイッドフェードイン
tf.squid.layer.opacity2 = 0;
tf.squid.layer.dOpacity2 = 2;
// ヒロインたちが一時的に画面左外へ出ることを許可
bao.players[0].movableRect.left = -100;
bao.players[1].movableRect.left = -100;
// スクロール制限
bao.stageLayer.setScrollLimit(7060);
// scrollLineR値をマイナスにすることで画面を右へスクロール
bao.stageLayer.scrollLineL = -80;
bao.stageLayer.scrollLineR = -50;
[endscript]
[Face storage="f_n001"]
【Giant Squid】[CR]
「[i]Shooooooo[/i]」[KeyWait]
[FaceOff]
[Face storage="f_a243"]
[Voice storage="a0423" buf=2]
【Excel Chiffon】[CR]
「[v]What!? A giant... squid!?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_d001"]
【Bezel】[CR]
「[i]Well then... I'll leave the rest to you.[/i]」[KeyWait]
[FaceOff]
[Sound storage=se025 buf=0]
;ベイゼル消える
;[runstage]
;*stage3-02b3
;[waitstage]
; ベイゼルを消去
[eval exp="tf.beizel.layer.dOpacity2 = -10"]
[wait time=500]
[eval exp="tf.beizel.deleteFlag=true,tf.beizel.rootX=-100"]
[Face storage="f_a244"]
[Voice storage="a0424" buf=2]
【Excel Chiffon】[CR]
「[v]Ah... disappeared!?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b204"]
[Voice storage="b0347" buf=2]
【Excel Chocolat】[CR]
「[v]No way...[/v]」[KeyWait]
[FaceOff]
[Face storage="f_n001"]
【Giant Squid】[CR]
「[i]Fshuuuu![/i]」[KeyWait]
[FaceOff]
;[runstage]
;*stage3-02b4
;[waitstage]
[iscript]
// 二人を右へ歩かせる
if(bao.players[0].rootX < 48) bao.players[0].addQueue("[waitaction][move path=(100,0,0)[load id=stStanding]");
if(bao.players[1].rootX < 48) bao.players[1].addQueue("[waitaction][move path=(100,0,0)[load id=stStanding]");
[endscript]
[Face storage="f_a230"]
[Voice storage="a0425" buf=2]
【Excel Chiffon】[CR]
「[v]...There's no time to be down...[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b229"]
[Voice storage="b0348" buf=2]
【Excel Chocolat】[CR]
「[v]Right. Let's take that one down first.[/v]」[KeyWait]
[FaceOff]
*stage3-02bStart
[setSkipEnableFlag]
[iscript]
// tf.nextSkipFlag;
// まだベイゼルが消去されていないとき
if(tf.beizel !== void && isvalid tf.beizel){
tf.beizel.layer.opacity = 0;
tf.beizel.deleteFlag = true;
}
// まだジャイアントスクイッドが出現していないとき
if(tf.squid === void || !isvalid.tf.squid){
bao.setEnemy(%['kind'=>'e13', 'x'=>(int(bao.stageLayer.wallLayer.imageWidth / (bao.cZoomRate/bao.sZoomRate)) - bao.stageLayer.dispLeft - 134), 'y'=>216, 'return'=>'tf.squid']);
bao.setObject(%['storage'=>'e130_etc1', 'x'=>tf.squid.rootX+13, 'y'=>256, 'return'=>'tf.squid_arm1']);
bao.setObject(%['storage'=>'e130_etc2', 'x'=>tf.squid.rootX-103, 'y'=>159, 'return'=>'tf.squid_arm2']);
}
// 当たり判定を奥と手前の方向に拡大させるためのダミー
bao.setObject(%['storage'=>'e130_dummy', 'x'=>tf.squid.rootX-70, 'y'=>tf.squid.rootY+23, 'return'=>'tf.dummy1']);
bao.setObject(%['storage'=>'e130_dummy', 'x'=>tf.squid.rootX-90, 'y'=>tf.squid.rootY-23, 'return'=>'tf.dummy2']);
tf.dummy1.parentSprite = tf.squid;
tf.dummy2.parentSprite = tf.squid;
[endscript]
[WindowOff]
[ClearHistory]
[eval exp="bao.informLayer.show()"]
[playerstate enablemove=true]
[enemystate enablemove=true]
; ボス戦開始
[runstage]
*stage3-02b5
[waitstage]
;[Sound storage=se826 buf=7]
*missed
[playerstate enablemove=false]
[enemystate enablemove=false]
[ClearHistory]
[eval exp="sf.gamePoint+=3"]
[call storage="defeatedHScene.ks"]
[jump target=*clear cond="tf.doubleKO"]
[if exp="tf.toRescueMode"]
[call storage="rescueMode.ks"]
[eval exp="tf.toRescueMode = false"]
[jump target=*missed cond="bao.returnState=='miss'"]
[jump target=&f.nowLabel]
[endif]
[eval exp="f.defeatedCountInThisStage++"]
[eval exp="sf.gamePoint+=7"]
;残機0ならゲームオーバー
[jump target=*gameover cond="f.playerNum[chrChiffon] == 0 || f.playerNum[chrChocolat]==0"]
[if exp="sf.HSceneMode==2 || !sf.R18"]
[call storage=defeatedHScene.ks target=*hsceneless2]
[jump target=&f.nowLabel]
[endif]
[call storage=defeatedHScene.ks target=*revive]
[jump target=&f.nowLabel]
*clear
[eval exp="bao.players[0].turnToRight()"]
[eval exp="bao.players[1].turnToRight()"]
[iscript]
{
bao.iconLayers[0].visible = false;
bao.iconLayers[1].visible = false;
bao.fukidashi.clear();
if(sf.adjSinglePlayMode){
var x0 = bao.players[0].rootX;
var x1 = bao.players[1].rootX;
if(Math.abs(x0 - x1) < 50){
if(bao.nowSelectingPlayerId == 0){
if(x0 < bao.internalWidth / 4){
bao.players[1].rootX = bao.players[0].rootX + 60;
}else{
bao.players[1].rootX = bao.players[0].rootX - 60;
}
}else{
if(x1 < bao.internalWidth / 4){
bao.players[0].rootX = bao.players[1].rootX + 60;
}else{
bao.players[0].rootX = bao.players[1].rootX - 60;
}
}
}
}
}
[endscript]
[enemystate exp="sprite.damage.strength=1000;sprite.damage.kind=atkBrowOut|atkInvalidGuard;sprite.damageFrom=bao.players[0];sprite.setHitMark(sprite.rootX,sprite.rootY,sprite.layer.asdHeight/2)"]
[playerstate enablemove=false]
[enemystate enablemove=false]
[Sound storage=se826 buf=8]
[iscript]
if(isvalid tf.dummy1) tf.dummy1.deleteFlag = true;
if(isvalid tf.dummy2) tf.dummy2.deleteFlag = true;
bao.noWaitMode = false; bao.resetTimerInterval();
sf.gamePoint += 12;
// result計算用
tf.HP = 0;
tf.MP = 0;
tf.maxHP = 0;
tf.maxMP = 0;
for(var i=0; i<bao.players.count; i++){
tf.HP += bao.players[i].HP;
tf.MP += bao.players[i].MP;
tf.maxHP += bao.players[i].maxHP;
tf.maxMP += bao.players[i].maxMP;
}
tf.doubleKO = false;
[endscript]
[fadeoutbgm time=300]
[eval exp="bao.informLayer.hide()"]
[wait time=300]
[iscript]
// キメポーズ
for(var i=0; i<bao.players.count; i++){
var p = bao.players[i];
if(p.rootX<bao.enemies[0].rootX){
if(!p.inverse) p.inverse = true;
}else{
if(p.inverse) p.inverse = false;
}
if(f.defeatedCountInThisStage == 0 && f.defeatStage3Familiar){
p.addQueue('[wait frame=15][load id=stWinning]');
}
}
[endscript]
[call storage=resultScreen.ks]
[iscript]
// キメポーズから直る
for(var i=0; i<bao.players.count; i++){
bao.players[i].layer.trigger('end');
}
[endscript]
*stage3-03
[if exp="f.defeatStage3Familiar"]
; 魔影蝶を倒している
[jump target=*stage3-03a]
[else]
; 魔影蝶を倒していない
[jump target=*stage3-03b]
[endif]
*stage3-03a
[setSkipTarget storage='e-02.ks' target='*stageE-01Start']
;BGM:勝利
[playbgm storage="bgm010"]
[WindowOn]
[Face storage="f_n001"]
【Giant Squid】[CR]
「[i]Fshoooooooooooooooooooo!![/i]」[KeyWait]
[FaceOff]
;ジャイアントスクイッド爆発
[Sound storage="se739" buf=0]
[Face storage="f_p205"]
【Audience Members】[CR]
「[i]Oooooh! They did it![/i]」[KeyWait]
[FaceOff]
[Face storage="f_p201"]
【Audience Member 1】[CR]
「[i]Way to go, girls![/i]」[KeyWait]
[FaceOff]
; ステージ3で敗北していない場合
[if exp="f.defeatedCountInThisStage == 0"]
[Face storage="f_p202"]
【Audience Member 2】[CR]
「[i]Cute and cool~![/i]」[KeyWait]
[FaceOff]
[Face storage="f_b233"]
[Voice storage="b0349" buf=2]
【Excel Chocolat】[CR]
「[v]Ugh... this is... pretty embarrassing.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a234"]
[Voice storage="a0426" buf=2]
【Excel Chiffon】[CR]
「[v]Yeah... we've defeated the enemies here... let's get[r]out of here quickly.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b231"]
[Voice storage="b0350" buf=2]
【Excel Chocolat】[CR]
「[v]Agreed...![/v]」[KeyWait]
[FaceOff]
[text]Well, we managed somehow. Sorry about the rest![KeyWait]
; ステージ3で敗北した場合
[else]
[Face storage="f_p202"]
【Audience Member 2】[CR]
「[i]It was sexy and awesome~! Thanks for the treasure[r]photos![/i]」[KeyWait]
[FaceOff]
[Face storage="f_a237"]
[Voice storage="a0427" buf=2]
【Excel Chiffon】[CR]
「[v]Eek... n-no...[/v]」[KeyWait]
[FaceOff]
[text]We got photographed a lot, in embarrassing moments...[KeyWait]
[Face storage="f_b233"]
[Voice storage="b0351" buf=2]
【Excel Chocolat】[CR]
「[v]P-please don't say that...![/v]」[KeyWait]
[FaceOff]
[text]In the midst of battle, I tried not to be conscious of[r]the stares piercing us.[KeyWait]
[text]But even now, so many smartphones are pointed at us...![KeyWait]
[Face storage="f_a237"]
[Voice storage="a0428" buf=2]
【Excel Chiffon】[CR]
「[v]A-anyway, let's hurry and escape.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b233"]
[Voice storage="b0352" buf=2]
【Excel Chocolat】[CR]
「[v]Y-yeah...[/v]」[KeyWait]
[FaceOff]
[endif]
[iscript]
bao.stageLayer.scrollLineL = -1000;
tf.tmp='[load id=stForwardJump][wait frame=3][state nogravity=true shadow=false][move path=(-300,100,400) haccel=-1 frame=10 spritestay=true]';
for(var i=0; i<bao.players.count; i++){
bao.players[i].layer.conductor.mp.noVoice = true;
bao.players[i].turnToLeft();
bao.players[i].addQueue(tf.tmp);
}
[endscript]
*stage3-end
;暗転
[ChrSet0 storage="_black"]
[UpDate]
[eval exp="bao.resetStage()"]
[eval exp="bao.hide()"]
;
[fadeoutbgm time=2000]
[SoundAllOut]
[text]………………………………………………[KeyWait]
[text]……………………[KeyWait]
[text]………[KeyWait]
[WindowOff]
[wait time=500]
;[if exp="sf.effectAnime && !tf.disableSound"]
; [ChrReset0]
; [PlayMovie storage="intermission" layer=0]
; [UpDate time=0]
;[endif]
;
;[WindowOn]
;
;[text]それから数ヶ月――わたし達は戦い続けた。[KeyWait]
;[text]この世界を守るために……。[KeyWait]
;[text]そして――[KeyWait]
;
;[WindowOff]
;[wv canskip=true]
;[BgSet storage="_black"]
;[UpDate]
;[StopMovie]
;
;[ljump storage="4-01.ks"]
[ljump storage="e-01.ks"]
*stage3-03b
[setSkipTarget storage='b-05.ks' target='*stageB-01Start']
;BGM:重苦しさ・敵の胎動
[playbgm storage="bgm005"]
[WindowOn]
[Face storage="f_n001"]
【Giant Squid】[CR]
「[i]Fshoooooooooooooooooooo[/i]」[KeyWait]
[FaceOff]
;ジャイアントスクイッド爆発
[Sound storage="se739" buf=0]
[Face storage="f_p205"]
【Audience Members】[CR]
「[i]Oooooh! They did it![/i]」[KeyWait]
[FaceOff]
[Face storage="f_p201"]
【Audience Member 1】[CR]
「[i]Way to go, girls![/i]」[KeyWait]
[FaceOff]
[Face storage="f_p202"]
【Audience Member 2】[CR]
「[i]Cute and cool~![/i]」[KeyWait]
[FaceOff]
[Face storage="f_a244"]
[Voice storage="a0429" buf=2]
【Excel Chiffon】[CR]
「[v]Somehow... we defeated it...[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b203"]
[Voice storage="b0353" buf=2]
【Excel Chocolat】[CR]
「[v]Yeah... but...[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a208"]
[Voice storage="a0430" buf=2]
【Excel Chiffon】[CR]
「[v]Our true identities have been revealed... What will[r]happen to us now?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b203"]
[Voice storage="b0354" buf=2]
【Excel Chocolat】[CR]
「[v]I don't know... I really don't know... For now, let's[r]just get out of here.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a208"]
[Voice storage="a0431" buf=2]
【Excel Chiffon】[CR]
「[v]Yeah... you're right...[/v]」[KeyWait]
[FaceOff]
[ChrSet0 storage="_black"]
[UpDate]
; ステージ3で敗北した場合
[if exp="f.defeatedCountInThisStage > 0"]
[text]And we were seen in so many embarrassing moments by the[r]audience...[KeyWait]
[text]If it weren't for the two of us, we might have been[r]crushed by the heavy feeling, but we left the place.[KeyWait]
[endif]
[eval exp="bao.resetStage()"]
[eval exp="bao.hide()"]
;
[fadeoutbgm time=2000]
[SoundAllOut]
[text]………………………………………………[KeyWait]
[text]……………………[KeyWait]
[text]………[KeyWait]
[WindowOff]
[wait time=500]
[ljump storage="b-01.ks"]
*gameover
[BgmFadeOut time=1000]
[if exp="sf.HSceneMode==2 || !sf.R18"]
[wait time=1000]
[eval exp="bao.informLayer.hide()"]
[image page=back layer=0 storage="_black" visible=true]
[Update time=2000]
[image page=fore layer=0 storage="_black" visible=true]
[else]
[WindowOff]
[wait time=1000]
[endif]
;ステージの非表示
[eval exp="bao.resetStage()"]
[eval exp="bao.hide()"]
[eval exp="sf.gamePoint+=15"]
[ClearHistory]
[setSkipTarget storage=3-04.ks target='*scene3-04end']
[lcall storage="3-04.ks" cond="sf.R18"]
[setSkipEnableFlag label='*scene3-04end']
[SoundAllOut]
;コンティニューするかどうか
[eval exp="tf.result=askYesNo('コンティニューしますか?')"]
[jump target=*continue cond="tf.result==true"]
[scenarioend]
[cancelskip]
[if exp="!sf.R18"]
[BgmFadeOut time=2000]
[image page=back layer=0 storage="gameover" left=0 opacity=255 visible=true]
[update]
[wait time=2000 cond="kag.skipMode!=4"]
[else]
[wait time=1000 cond="kag.skipMode!=4"]
[endif]
[SoundAllStop]
[eval exp="kag.skipMode=0"]
[jump storage="0-01.ks"]
*continue
[BgSet storage="_black"]
[image page=back layer=0 storage="_black" visible=true]
[UpDate canskip=false]
[SoundAllStop]
[call target=*init]
[loadstage storage='stage03.ssd' target=*prepareContinue]
[runstage]
[waitstage]
[iscript]
switch(f.stageProgress){
case 0:
tf.target = '*stage3-01b';
bao.stageLayer.dispLeft = 0;
bao.conductor.goToLabel('*point0');
break;
case 1:
tf.target = '*stage3-01b';
bao.stageLayer.dispLeft = 2500-456;
bao.conductor.goToLabel('*point1');
break;
case 2:
tf.target = '*stage3-01b';
bao.stageLayer.dispLeft = 3700-456;
bao.conductor.goToLabel('*point2');
break;
case 3:
tf.target = '*stage3-01b';
bao.stageLayer.dispLeft = 5200-456;
bao.conductor.goToLabel('*point3');
break;
case 4:
tf.target = '*stage3-01b';
bao.stageLayer.dispLeft = 6100;
bao.conductor.goToLabel('*point4');
break;
}
bao.addHighScore(f.score);
f.continue++;
f.playerNum = [sf.adjPlayerNum, sf.adjPlayerNum];
f.score= 0 ;
tf.defeated = false;
bao.informLayer.resetFace();
[endscript]
[playbgm storage="stage03"]
[freeimage page=back layer=0]
[UpDate canskip=false]
[ClearHistory]
[eval exp="bao.informLayer.show()"]
[runstage]
[playerstate enablemove=true]
[enemystate enablemove=true]
[jump target=&tf.target]
*init|ステージ3『レジャープール』
[iscript]
kag.se[8].stop();
f.chaptertitle='';
f.stage = 3;
if(sf.stage<f.stage) sf.stage=f.stage;
f.HP = [f.maxHP, f.maxHP];
f.MP = [f.maxMP, f.maxMP];
f.cosState = [(sf.adjEvilCosMode)?4:0, (sf.adjEvilCosMode)?4:0];
f.downCount = [0, 0];
tf.killCount = [0, 0];
[endscript]
[return]