931 lines
42 KiB
Text
931 lines
42 KiB
Text
|
|
[call target=*init]
|
|
|
|
;ステージスクリプトのロード
|
|
[loadstage storage='stage06_01.ssd']
|
|
|
|
|
|
[image page=back layer=0 storage="_black" visible=true]
|
|
[UpDate time=1]
|
|
|
|
|
|
*stage5_start|ステージ6『敵本拠地』
|
|
[eval exp="f.chaptertitle=''"]
|
|
[record]
|
|
|
|
[runstage]
|
|
[waitstage]
|
|
|
|
[playbgm storage="stage06"]
|
|
[freeimage page=back layer=0]
|
|
[UpDate canskip=false]
|
|
|
|
*stage6-01
|
|
|
|
[playerstate enablemove=false]
|
|
[enemystate enablemove=false]
|
|
[setSkipTarget target='*stage6-01Start']
|
|
|
|
[WindowOn]
|
|
|
|
[Face storage="f_a230"]
|
|
[Voice storage="a0635" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]This is... the stronghold of the Ergonia Empire...?[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_b229"]
|
|
[Voice storage="b0565" buf=2]
|
|
【Excel Chocolat】[CR]
|
|
「[v]Judging by this passage, it might be a long way[r]ahead... Let's be cautious, okay?[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_c208"]
|
|
[Voice storage="c0062" buf=2]
|
|
【Reviella】[CR]
|
|
『[v]Hehehe... Well, can you make it? To where I am.[/v]』[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_a207"]
|
|
[Voice storage="a0636" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]We're coming. Absolutely![/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_b207"]
|
|
[Voice storage="b0566" buf=2]
|
|
【Excel Chocolat】[CR]
|
|
「[v]And we will definitely protect this world!![/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_c208"]
|
|
[Voice storage="c0063" buf=2]
|
|
【Reviella】[CR]
|
|
『[v]I'm looking forward to it♪ Now... come.[/v]』[KeyWait]
|
|
[FaceOff]
|
|
|
|
|
|
|
|
*stage6-01Start
|
|
[setSkipEnableFlag]
|
|
[call target=*init cond="tf.skipNextFlag"]
|
|
[SetSsdAtSkipNext storage=stage06_01.ssd target=*skipped bgm=stage06 cond="bao.conductor.curStorage!='stage06_01.ssd'"]
|
|
[iscript]
|
|
f.defeatedCountInThisStage = 0;
|
|
|
|
// 残機の調整
|
|
var tmp = Math.round((f.playerNum[0] + f.playerNum[1]) / 2);
|
|
f.playerNum[0] = tmp;
|
|
f.playerNum[1] = tmp;
|
|
|
|
f.goblinCount = 0;
|
|
[endscript]
|
|
|
|
[WindowOff]
|
|
[ClearHistory]
|
|
|
|
[eval exp="bao.informLayer.show()"]
|
|
[playerstate enablemove=true]
|
|
[enemystate enablemove=true]
|
|
|
|
[runstage]
|
|
*stage6-01ActionStage
|
|
[waitstage]
|
|
|
|
[wait time=1500]
|
|
|
|
[image page=back layer=0 storage="_black" visible=true]
|
|
[UpDate canskip=false]
|
|
|
|
[iscript]
|
|
f.selectCharacter = bao.nowSelectingPlayerId;
|
|
storePlayerState();
|
|
bao.resetStage();
|
|
[endscript]
|
|
|
|
|
|
*stage6-02Start
|
|
; 第二階層
|
|
|
|
[loadstage storage='stage06_02.ssd']
|
|
[runstage]
|
|
[waitstage]
|
|
|
|
[eval exp="sf.stage=6.2" cond="sf.stage<6.2"]
|
|
[if exp="bao.nowSelectingPlayerId != f.selectCharacter"]
|
|
[eval exp="bao.exchangePlayer()"]
|
|
[endif]
|
|
|
|
[freeimage page=back layer=0]
|
|
[UpDate canskip=false]
|
|
[eval exp="bao.informLayer.show()"]
|
|
|
|
[playerstate enablemove=true]
|
|
[enemystate enablemove=true]
|
|
|
|
[runstage]
|
|
*stage6-02ActionStage
|
|
[waitstage]
|
|
|
|
[wait time=1500]
|
|
|
|
[image page=back layer=0 storage="_black" visible=true]
|
|
[UpDate canskip=false]
|
|
|
|
[iscript]
|
|
f.selectCharacter = bao.nowSelectingPlayerId;
|
|
storePlayerState();
|
|
bao.resetStage();
|
|
[endscript]
|
|
|
|
[loadstage storage='stage06_03.ssd']
|
|
[runstage]
|
|
[waitstage]
|
|
|
|
|
|
*stage6-03
|
|
; 第三階層
|
|
|
|
[if exp="bao.nowSelectingPlayerId != f.selectCharacter"]
|
|
[eval exp="bao.exchangePlayer()"]
|
|
[endif]
|
|
|
|
[playerstate enablemove=false]
|
|
[enemystate enablemove=false]
|
|
;[waitstable]
|
|
|
|
[eval exp="bao.informLayer.hideSoon()"]
|
|
;[fadeoutbgm time=500]
|
|
|
|
[freeimage page=back layer=0]
|
|
[UpDate canskip=false]
|
|
|
|
;[ClearHistory]
|
|
[eval exp="sf.stage=6.5" cond="sf.stage<6.5"]
|
|
[setSkipTarget target='*Stage6Boss1Start']
|
|
|
|
[eval exp="f.stageProgress=2"]
|
|
|
|
;;6-02
|
|
;;ボス戦
|
|
[ChrSet0 storage="b_c001"]
|
|
[Update]
|
|
[WindowOn]
|
|
|
|
[Face storage="f_c008"]
|
|
[Voice storage="c0064" buf=3]
|
|
【Reviella】[CR]
|
|
「[v]Oh... I didn't expect you to actually make it this far.[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_b229"]
|
|
[Voice storage="b0567" buf=2]
|
|
【Excel Chocolat】[CR]
|
|
「[v]I told you. We would definitely make it here![/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_a229"]
|
|
[Voice storage="a0637" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]Reviella... we're going to defeat you.[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_c008"]
|
|
[Voice storage="c0065" buf=3]
|
|
【Reviella】[CR]
|
|
「[v]Little girls like you... very well. I'll play with you[r]plenty. And I'll teach you. That you can never defeat[r]me.[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
;;レヴィエラから力が溢れ出すような演出
|
|
[ChrReset0]
|
|
[Update]
|
|
|
|
[Face storage="f_b229"]
|
|
[Voice storage="b0568" buf=2]
|
|
【Excel Chocolat】[CR]
|
|
「[v]I feel an incredible power. But... Chiffon.[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_a229"]
|
|
[Voice storage="a0638" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]Yeah![/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[FaceOpt num=2]
|
|
[Face storage="f_a902"]
|
|
[Voice storage="z0005" buf=2]
|
|
【Chiffon & Chocolat】[CR]
|
|
「[v]We will never lose!![/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
|
|
|
|
*Stage6Boss1Start
|
|
[setSkipEnableFlag]
|
|
;[SetSsdAtSkipNext storage=stage06_03.ssd target=*skipped bgm=boss2 cond="tf.skipNextFlag"]
|
|
[if exp="tf.skipNextFlag"]
|
|
[layopt layer=0 page=back visible=false]
|
|
[Update time=200 canskip=false]
|
|
[endif]
|
|
|
|
[playbgm storage="boss2"]
|
|
|
|
[WindowOff]
|
|
[ClearHistory]
|
|
[eval exp="bao.informLayer.show()"]
|
|
|
|
[playerstate enablemove=true]
|
|
[enemystate enablemove=true]
|
|
[runstage]
|
|
|
|
*Stage6Boss1Battle
|
|
;[eval exp="tf.jump=false"][if exp="bao.clearFlag"][eval exp="tf.jump=true"][eval exp="dm('■■ Double KO ■■')"][jump target=*stage6-04][endif]
|
|
[waitstage cond="tf.reviella.HP>0"]
|
|
|
|
|
|
|
|
|
|
*stage6-04
|
|
[playerstate enablemove=false]
|
|
[enemystate enablemove=false]
|
|
|
|
[image page=back layer=0 storage="_black" visible=true]
|
|
[UpDate canskip=false]
|
|
|
|
[eval exp="sf.stage=6.8" cond="sf.stage<6.8"]
|
|
[jump target=*scene6-04a2 cond="tf.jump"]
|
|
[runstage]
|
|
*scene6-04a
|
|
[waitstage]
|
|
|
|
*scene6-04a2
|
|
;[ClearHistory]
|
|
[setSkipTarget target='*Stage6Boss2Start']
|
|
[eval exp="bao.informLayer.hideSoon()"][call target=*checkAfterReviella]
|
|
[freeimage page=back layer=0]
|
|
[UpDate canskip=false]
|
|
[WindowOn]
|
|
|
|
[Face storage="f_c003"]
|
|
[Voice storage="c0066" buf=2]
|
|
【Reviella】[CR]
|
|
「[v]Guh... this can't be... Me, defeated by these little[r]girls...[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_a229"]
|
|
[Voice storage="a0640" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]This is the end for you, Reviella.[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_c002"]
|
|
[Voice storage="c0067" buf=2]
|
|
【Reviella】[CR]
|
|
「[v]................[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_c002"]
|
|
[Voice storage="c0068" buf=2]
|
|
【Reviella】[CR]
|
|
「[v]Indeed... it seems this is the end for me. But... the[r]Ergonia Empire hasn't lost. We will win! The Empire[r]will... definitely... win.[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_b229"]
|
|
[Voice storage="b0570" buf=2]
|
|
【Excel Chocolat】[CR]
|
|
「[v]In this situation, what are you saying...?[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_c006"]
|
|
[Voice storage="c0069" buf=2]
|
|
【Reviella】[CR]
|
|
「[v]Hehe... hehehe...[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_c006"]
|
|
[Voice storage="c0070" buf=2]
|
|
【Reviella】[CR]
|
|
「[v]I'll tell you why we were gathering energy... kuh...[r]I'll tell you.[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_b229"]
|
|
[Voice storage="b0571" buf=2]
|
|
【Excel Chocolat】[CR]
|
|
「[v]Huh? What do you mean? Wasn't energy absorption like a[r]meal?[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_c006"]
|
|
[Voice storage="c0071" buf=2]
|
|
【Reviella】[CR]
|
|
「[v]That's true. But... hehehe, that's not all. The[r]ultimate goal is... to resurrect our god, Ergonia-sama.[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_a230"]
|
|
[Voice storage="a0641" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]Ergonia!?[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_c006"]
|
|
[Voice storage="c0072" buf=2]
|
|
【Reviella】[CR]
|
|
「[v]With that one's power... this world would easily end.[r]And the monsters you've defeated... even I could be[r]revived immediately... so...[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Sound storage=se026b buf=0]
|
|
[eval exp="tf.reviella.layer.trigger('pray')"]
|
|
|
|
[Face storage="f_c003"]
|
|
[Voice storage="c0073" buf=2]
|
|
【Reviella】[CR]
|
|
「[v]Ergonia-sama! Please accept the last of the energy left[r]in my body. And awaken from your long slumber! Bring[r]ruin to these little girls... and this world!![/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
;;レヴィエラから力が溢れ出す
|
|
|
|
[Face storage="f_a244"]
|
|
[Voice storage="a0642" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]This feels... really bad.[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_b206"]
|
|
[Voice storage="b0572" buf=2]
|
|
【Excel Chocolat】[CR]
|
|
「[v]P-Please stop!![/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_c006"]
|
|
[Voice storage="c0074" buf=2]
|
|
【Reviella】[CR]
|
|
「[v]Hehe... hehehe... Glory to the Ergonia Empire!![/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[WindowOff]
|
|
|
|
[eval exp="tf.reviella.layer.trigger('dead')"]
|
|
[wait time=200 canskip=false]
|
|
;;レヴィエラ爆発
|
|
;;ホワイトアウト
|
|
;;通常に戻る画面
|
|
[image page=back layer=0 storage="_white" visible=true]
|
|
[UpDate time=700 canskip=false]
|
|
[eval exp="bao.resetObjects()"]
|
|
[freeimage page=back layer=0]
|
|
[UpDate canskip=false]
|
|
|
|
[WindowOn]
|
|
|
|
[Face storage="f_a205"]
|
|
[Voice storage="a0643" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]Reviella disappeared...[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_a205"]
|
|
[Voice storage="a0644" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]...Nothing's happening? The resurrection... failed?[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[fadeoutbgm time=1000]
|
|
; 画面揺れ
|
|
[runstage]
|
|
*scene6-04b
|
|
[waitstage]
|
|
|
|
[FaceOpt num=2]
|
|
[Face storage="f_a904"]
|
|
[Voice storage="z0006" buf=2]
|
|
【Chiffon & Chocolat】[CR]
|
|
「[v]――!![/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[WindowOff]
|
|
|
|
;;色々なんかラスボスっぽい演出
|
|
;;エルゴネア出現
|
|
[Sound storage=se890 buf=1]
|
|
[runstage]
|
|
*scene6-04c
|
|
[waitstage]
|
|
[playbgm storage="boss3"]
|
|
|
|
[WindowOn]
|
|
|
|
[Face storage="f_o001"]
|
|
【Ergonia】[CR]
|
|
「[i]OOOOOOOOOOOO!![/i]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_a244"]
|
|
[Voice storage="a0646" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]Ah... ahhh...[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_b204"]
|
|
[Voice storage="b0574" buf=2]
|
|
【Excel Chocolat】[CR]
|
|
「[v]This is... Ergonia!?[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_a244"]
|
|
[Voice storage="a0647" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]I feel an incredible power...[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_b204"]
|
|
[Voice storage="b0575" buf=2]
|
|
【Excel Chocolat】[CR]
|
|
「[v]Just being in front of it... it's so... terrifying...[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_a249"]
|
|
[Voice storage="a0648" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]...Yeah.[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_a249"]
|
|
[Voice storage="a0649" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]But, still...[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_b229"]
|
|
[Voice storage="b0576" buf=2]
|
|
【Excel Chocolat】[CR]
|
|
「[v]I understand.[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_a229"]
|
|
[Voice storage="a0650" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]Yeah... it's scary, but let's fight.[/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_b207"]
|
|
[Voice storage="b0577" buf=2]
|
|
【Excel Chocolat】[CR]
|
|
「[v]I will definitely protect this world!![/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[Face storage="f_a207"]
|
|
[Voice storage="a0651" buf=2]
|
|
【Excel Chiffon】[CR]
|
|
「[v]Now... let's go!![/v]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
[playse storage="se015" buf=9]
|
|
[iscript]
|
|
f.downCount = [0, 0];
|
|
for(var i=0; i<bao.players.count; i++){
|
|
bao.players[i].HP = bao.players[i].maxHP;
|
|
bao.players[i].MP = bao.players[i].maxMP;
|
|
}
|
|
[endscript]
|
|
|
|
|
|
*Stage6Boss2Start
|
|
[setSkipEnableFlag]
|
|
;[SetSsdAtSkipNext storage=stage06_03.ssd target=*stage06-04c bgm=boss3 cond="tf.skipNextFlag"]
|
|
|
|
[if exp="tf.elgo === void || !isvalid tf.elgo"]
|
|
[playbgm storage="boss3"]
|
|
[playse storage="se015" buf=9]
|
|
|
|
[iscript]
|
|
bao.setEnemy(%['kind'=>'エルゴネア', 'x'=>320, 'y'=>215, 'inverse'=>false, 'enablemove'=>false, 'return' => 'tf.elgo']);
|
|
f.downCount = [0, 0];
|
|
for(var i=0; i<bao.players.count; i++){
|
|
bao.players[i].HP = bao.players[i].maxHP;
|
|
bao.players[i].MP = bao.players[i].maxMP;
|
|
}
|
|
|
|
bao.setObject(%['kind'=>'e160_halo', 'return' => 'tf.halo']);
|
|
tf.halo.parentSprite = tf.elgo;
|
|
|
|
if(isvalid tf.reviella) tf.reviella.deleteFlag = true;
|
|
bao.stageLayer.clearFloorObjects();
|
|
bao.stageLayer.loadImages(%["storage"=>"stage06-04"]);
|
|
bao.stageLayer.addFloorObject(%["storage"=>"stage06-04_w01","baseleft"=>0,"basetop"=>(256-85),"absolute"=>50]);
|
|
bao.stageLayer.addFloorObject(%["storage"=>"stage06-04_w02","baseleft"=>(900-166),"basetop"=>(256-85),"absolute"=>51]);
|
|
bao.stageLayer.dispLeft = (900-456) / 2;
|
|
[endscript]
|
|
[eval exp="bao.conductor.goToLabel('*Stage6Boss2Battle')"]
|
|
[endif]
|
|
|
|
[WindowOff]
|
|
[ClearHistory]
|
|
[eval exp="bao.informLayer.show()"]
|
|
|
|
[playerstate enablemove=true]
|
|
[enemystate enablemove=true]
|
|
[runstage]
|
|
|
|
*Stage6Boss2Battle
|
|
|
|
[waitstage cond="tf.elgo.HP>0"]
|
|
|
|
[jump target=*clear]
|
|
|
|
|
|
*missed
|
|
[playerstate enablemove=false]
|
|
[enemystate enablemove=false]
|
|
[ClearHistory]
|
|
|
|
[eval exp="sf.gamePoint+=3"]
|
|
|
|
[call storage="defeatedHScene.ks"]
|
|
[if exp="tf.doubleKO"][eval exp="dm('■ double KO : ' + tf.killedByKind[0])"]
|
|
[if exp="bao.players[bao.killedPlayerId].killedBy.kind=='レヴィエラ'"]
|
|
; 中ボスとダブルKOの場合の処理
|
|
[eval exp="bao.trigger('killall')"][runstage]
|
|
[jump target=*stage6-04]
|
|
[else]
|
|
[jump target=*clear]
|
|
[endif]
|
|
[endif]
|
|
|
|
[if exp="tf.toRescueMode"]
|
|
[call storage="rescueMode.ks"]
|
|
[eval exp="tf.toRescueMode = false"]
|
|
[jump target=*missed cond="bao.returnState=='miss'"][call target=*checkAfterReviella2]
|
|
[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.informLayer.hide()"]
|
|
[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]
|
|
|
|
[playerstate enablemove=false]
|
|
[enemystate enablemove=false]
|
|
|
|
[eval exp="bao.players[0].invincibleCount=100"]
|
|
[eval exp="bao.players[1].invincibleCount=100"]
|
|
[eval exp="bao.timer.interval*=2"]
|
|
[fadeoutbgm time=2000]
|
|
[image page=back layer=0 storage="_white" visible=true opacity=255]
|
|
[UpDate canskip=false time=2000]
|
|
[eval exp="bao.timer.interval/=2"]
|
|
|
|
[iscript]
|
|
{
|
|
var p = bao.players[0];
|
|
if((tf.elgo.rootX < p.rootX && p.inverse) || (p.rootX < tf.elgo.rootX && !p.inverse)){
|
|
p.inverse = !p.inverse;
|
|
p.layer.setInverse();
|
|
}
|
|
|
|
sf.gamePoint += 12;
|
|
bao.noWaitMode = false; bao.resetTimerInterval();
|
|
// 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){
|
|
; p.addQueue('[wait frame=15][load id=stWinning]');
|
|
; }
|
|
; }
|
|
;
|
|
;[endscript]
|
|
|
|
[eval exp="sf.gamePoint+=300"]
|
|
|
|
[call storage=resultScreen.ks]
|
|
[eval exp="sf.stage=7" cond="sf.stage<7"]
|
|
|
|
;[iscript]
|
|
; // キメポーズから直る
|
|
; for(var i=0; i<bao.players.count; i++){
|
|
; bao.players[i].layer.trigger('end');
|
|
; }
|
|
;[endscript]
|
|
|
|
|
|
[iscript]
|
|
{
|
|
// エルゴネアが画面外の場合は再配置
|
|
if(tf.elgo.rootX < 30 || tf.elgo.rootX > bao.internalWidth - 30){
|
|
|
|
bao.stageLayer.dispLeft = (900-456) / 2;
|
|
bao.players[0].inverse = true;
|
|
bao.players[0].rootX = 120;
|
|
bao.players[0].rootY = 230;
|
|
|
|
bao.players[1].inverse = true;
|
|
bao.players[1].rootX = 80;
|
|
bao.players[1].rootY = 200;
|
|
|
|
tf.elgo.turnToLeft();
|
|
tf.elgo.rootX = 320;
|
|
tf.elgo.rootY = 190;
|
|
}
|
|
|
|
}
|
|
[endscript]
|
|
|
|
|
|
|
|
*stage6-05
|
|
[ClearHistory]
|
|
|
|
[setSkipTarget storage=7-02.ks target='*scene7-02end']
|
|
[freeimage page=back layer=0]
|
|
[UpDate canskip=false]
|
|
[WindowOn]
|
|
|
|
[Face storage="f_o001"]
|
|
【Ergonia】[CR]
|
|
「[i]OOOOOOOOOOOOOOOOOOOOOOO!![/i]」[KeyWait]
|
|
[FaceOff]
|
|
|
|
;エルゴネア消滅
|
|
[WindowOff]
|
|
[eval exp="tf.elgo.layer.trigger('erase')"]
|
|
[wait time=1000 canskip=false]
|
|
[image page=back layer=0 storage="_black" visible=true opacity=255]
|
|
[UpDate time=500 canskip=false]
|
|
[eval exp="bao.resetStage()"]
|
|
[eval exp="bao.hide()"]
|
|
[BgSet storage="bg040"]
|
|
[Update]
|
|
|
|
[ljump storage="7-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]
|
|
|
|
[if exp="f.stageProgress < 2"]
|
|
; レヴィエラのところまで到達していない
|
|
[setSkipTarget storage=6-04.ks target='*scene6-04end']
|
|
[lcall storage="6-04.ks" cond="sf.R18"]
|
|
[setSkipEnableFlag label='*scene6-04end']
|
|
[else]
|
|
; レヴィエラかエルゴネアに敗北
|
|
[if exp="f.stageProgress == 2"]
|
|
[setSkipTarget storage=6-06.ks target='*scene6-06end']
|
|
[else]
|
|
[setSkipTarget storage=6-07.ks target='*scene6-07end']
|
|
[endif]
|
|
|
|
[lcall storage="6-05.ks" cond="sf.R18"]
|
|
|
|
[SoundAllOut time=500]
|
|
[wait time=500]
|
|
|
|
[if exp="f.stageProgress == 2"]
|
|
; レヴィエラに敗北アフター
|
|
[lcall storage="6-06.ks" cond="sf.R18"]
|
|
[setSkipEnableFlag label='*scene6-06end']
|
|
[else]
|
|
; エルゴネアに敗北アフター
|
|
[lcall storage="6-07.ks" cond="sf.R18"]
|
|
[setSkipEnableFlag label='*scene6-07end']
|
|
[endif]
|
|
[endif]
|
|
|
|
[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]
|
|
[iscript]
|
|
switch(f.stageProgress){
|
|
case 0:
|
|
tf.storage = 'stage06_01.ssd';
|
|
tf.target = '*stage6-01ActionStage';
|
|
break;
|
|
case 1:
|
|
tf.storage = 'stage06_02.ssd';
|
|
tf.target = '*stage6-02ActionStage';
|
|
break;
|
|
case 2:
|
|
tf.storage = 'stage06_03.ssd';
|
|
tf.target = '*stage6-03';
|
|
break;
|
|
case 3:
|
|
tf.storage = 'stage06_03.ssd';
|
|
tf.target = '*scene6-04a2';
|
|
break;
|
|
}
|
|
|
|
bao.addHighScore(f.score);
|
|
|
|
f.continue++;
|
|
f.playerNum = [sf.adjPlayerNum, sf.adjPlayerNum];
|
|
f.score= 0 ;
|
|
tf.defeated = false;
|
|
|
|
bao.informLayer.resetFace();
|
|
[endscript]
|
|
|
|
[loadstage storage=&tf.storage target=*prepareContinue]
|
|
[runstage]
|
|
[waitstage]
|
|
|
|
[iscript]
|
|
tf.noFadeIn = false;
|
|
switch(f.stageProgress){
|
|
case 0:
|
|
bao.stageLayer.dispLeft = 0;
|
|
bao.conductor.goToLabel('*point0');
|
|
break;
|
|
case 1:
|
|
bao.stageLayer.dispLeft = 0;
|
|
bao.conductor.goToLabel('*point0');
|
|
break;
|
|
case 2:
|
|
bao.conductor.goToLabel('*stage06-03');
|
|
tf.noFadeIn = true;
|
|
break;
|
|
case 3:
|
|
bao.stageLayer.dispLeft = (900-456) / 2;
|
|
bao.conductor.goToLabel('*stage06-04a');
|
|
tf.noFadeIn = true;
|
|
break;
|
|
}
|
|
[endscript]
|
|
|
|
[playbgm storage="stage06"]
|
|
[if exp="!tf.noFadeIn"]
|
|
[freeimage page=back layer=0]
|
|
[UpDate canskip=false]
|
|
[endif]
|
|
|
|
[ClearHistory]
|
|
|
|
[eval exp="bao.informLayer.show()"]
|
|
[runstage]
|
|
[playerstate enablemove=true]
|
|
[jump target=&tf.target]
|
|
|
|
|
|
*init|ステージ6『敵本拠地』
|
|
|
|
[iscript]
|
|
f.chaptertitle='';
|
|
f.stage = 6;
|
|
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]
|
|
|
|
|
|
|
|
|
|
*checkAfterReviella
|
|
[if exp="tf.doubleKO && tf.defeated"]
|
|
[call storage=defeatedHscene.ks target=*doubleKO]
|
|
[endif]
|
|
|
|
[if exp="bao.conductor.curLabel == '*stage06-03c' || bao.conductor.curLabel == '*Stage6Boss1Battle'"]
|
|
[image page=back layer=0 storage="_black" visible=true]
|
|
[UpDate time=200 canskip=false]
|
|
[eval exp="bao.conductor.goToLabel('*stage06-04a')"]
|
|
[runstage]
|
|
[waitstage]
|
|
[endif]
|
|
[return]
|
|
|
|
*checkAfterReviella2
|
|
;[eval exp="dm('■■ ' + bao.conductor.curLabel)"]
|
|
[if exp="bao.conductor.curLabel == '*stage06-04a2'"]
|
|
[image page=back layer=0 storage="_black" visible=true]
|
|
[UpDate time=200 canskip=false]
|
|
[SoundOut buf=2 time=500]
|
|
[SoundOut buf=5 time=500]
|
|
[eval exp="sf.stage=6.8" cond="sf.stage<6.8"]
|
|
[playerstate enablemove=false]
|
|
[enemystate enablemove=false]
|
|
[eval exp="f.nowLabel='*scene6-04a2'"]
|
|
[endif]
|
|
[return]
|
|
|
|
|
|
|