shiny-cuty-excel-chiffon/data/5-01.ks
2024-10-22 14:54:09 -05:00

1616 lines
78 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.


[call target=*init]
;ステージスクリプトのロード
[loadstage storage='stage05_01.ssd']
[image page=back layer=0 storage="_black" visible=true]
[UpDate time=1]
*stage5_start|ステージ5『洞窟』
[eval exp="f.chaptertitle=''"]
[record]
[runstage]
[waitstage]
[playbgm storage="stage05"]
[freeimage page=back layer=0]
[UpDate canskip=false]
*stage5-01
[playerstate enablemove=false]
[enemystate enablemove=false]
[setSkipTarget target='*stage5-01Start']
[WindowOn]
[Face storage="f_a210"]
[Voice storage="a0543" buf=2]
【Excel Chiffon】[CR]
「[v]...Ugh... What happened――?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a208"]
[Voice storage="a0544" buf=2]
【Excel Chiffon】[CR]
「[v]Where am I?[/v]」[KeyWait]
[FaceOff]
;周囲を見回すシフォン
[Face storage="f_a208"]
[Voice storage="a0545" buf=2]
【Excel Chiffon】[CR]
「[v]Chocolat isn't here...[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a208"]
[Voice storage="a0546" buf=2]
【Excel Chiffon】[CR]
[v]I can't sense Chocolat. But... I can tell there are a lot of[r]enemies. Being here all alone... it's a little scary.[/v][KeyWait]
[FaceOff]
[Face storage="f_a230"]
[Voice storage="a0547" buf=2]
【Excel Chiffon】[CR]
[v]But I can't just be scared. I have to find Chocolat and[r]regroup.[/v][KeyWait]
[FaceOff]
[Face storage="f_a294"]
[Voice storage="a0548" buf=2]
【Excel Chiffon】[CR]
[v]And then defeat the enemies... and protect this world![/v][KeyWait]
[FaceOff]
[Face storage="f_a229"]
[Voice storage="a0549" buf=2]
【Excel Chiffon】[CR]
「[v]I'm sure Chocolat feels the same way! Even if we're apart,[r]we're together! So――I won't lose!![/v]」[KeyWait]
[FaceOff]
*stage5-01Start
[setSkipEnableFlag]
[call target=*init cond="tf.skipNextFlag"]
[SetSsdAtSkipNext storage=stage05_01.ssd target=*skipped bgm=stage05 cond="bao.conductor.curStorage!='stage05_01.ssd'"]
[iscript]
f.defeatedCountInThisStage = 0;
[endscript]
[WindowOff]
[ClearHistory]
[eval exp="bao.informLayer.show()"]
[playerstate enablemove=true]
[enemystate enablemove=true]
[runstage]
*stage5-01ActionStage
[waitstage]
*stage5-02
[playerstate enablemove=false]
[enemystate enablemove=false]
;[ClearHistory]
[setSkipTarget target='*stage5-03Start']
[WindowOn]
[Face storage="f_a208"]
[Voice storage="a0550" buf=2]
【Excel Chiffon】[CR]
「[v]Haa... haa... haa...[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a208"]
[Voice storage="a0551" buf=2]
【Excel Chiffon】[CR]
「[v]I think I've come quite far... But, I'm feeling really[r]exhausted――[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a208"]
[Voice storage="a0552" buf=2]
【Excel Chiffon】[CR]
[v]This is definitely because I'm alone... If it were the two[r]of us...[/v][KeyWait]
[FaceOff]
[Face storage="f_a208"]
[Voice storage="a0553" buf=2]
【Excel Chiffon】[CR]
「[v]Chocolat... I hope she's okay.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a208"]
[Voice storage="a0554" buf=2]
【Excel Chiffon】[CR]
[v]I want to see Chocolat soon... We really need to be[r]together――[/v][KeyWait]
[FaceOff]
[Sound storage="se326" buf=1]
[ws buf=1]
[runstage]
;*stage5-01a
;[waitstage]
[wait time=500]
[Face storage="f_a229"]
[Voice storage="a0555" buf=2]
【Excel Chiffon】[CR]
「[v]――!! Who's there!?[/v]」[KeyWait]
[FaceOff]
[WindowOff]
[image page=back layer=0 storage="_black" visible=true]
[UpDate canskip=false]
*stage5-03
[loadstage storage='stage05_02.ssd']
[runstage]
[waitstage]
[WindowOn]
[text]A little earlier――[KeyWait]
;ドットステージ
[freeimage page=back layer=0]
[UpDate canskip=false]
[Face storage="f_b210"]
[Voice storage="b0441" buf=5]
【Excel Chocolat】[CR]
「[v]Ugh... What on earth?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b244"]
[Voice storage="b0442" buf=5]
【Excel Chocolat】[CR]
「[v]Where is this... a cave?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b298"]
[Voice storage="b0443" buf=5]
【Excel Chocolat】[CR]
[v]But why am I in a place like this...? No, I don't even need[r]to think about it. I was forcibly teleported back then.[/v][KeyWait]
[FaceOff]
;周囲を見回すショコラ
[Face storage="f_b298"]
[Voice storage="b0444" buf=5]
【Excel Chocolat】[CR]
「[v]Chiffon is... not here... Were we teleported to different[r]places?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b203"]
[Voice storage="b0445" buf=5]
【Excel Chocolat】[CR]
[v]I can sense a lot of enemies. Yet I'm all alone... No... I'm[r]really scared...[/v][KeyWait]
[FaceOff]
[Face storage="f_b205"]
[Voice storage="b0446" buf=5]
【Excel Chocolat】[CR]
[v]No, I can't! I can't be weak! I'm sure Chiffon... and[r]Nacchan are fighting somewhere. Nacchan would definitely...[r]and I'm sure they're looking for me.[/v][KeyWait]
[FaceOff]
[Face storage="f_b229"]
[Voice storage="b0447" buf=5]
【Excel Chocolat】[CR]
[v]So I have to fight too! I want to be able to help Nacchan.[r]For that![/v][KeyWait]
[FaceOff]
*stage5-03Start
[setSkipEnableFlag]
[SetSsdAtSkipNext storage=stage05_02.ssd target=*skipped cond="bao.conductor.curStorage!='stage05_02.ssd'"]
[WindowOff]
[ClearHistory]
[eval exp="f.downCount = [0, 0]"]
[eval exp="bao.informLayer.show()"]
[playerstate enablemove=true]
[enemystate enablemove=true]
[runstage]
*stage5-03ActionStage
[waitstage]
*stage5-04
[playerstate enablemove=false]
[enemystate enablemove=false]
;[waitstable]
;[eval exp="bao.informLayer.hide()"]
;[ClearHistory]
[eval exp="sf.stage=5.5" cond="sf.stage<5.5"]
[setSkipTarget target='*Stage5BossStart']
[WindowOn]
[Face storage="f_b246"]
[Voice storage="b0448" buf=5]
【Excel Chocolat】[CR]
「[v]Haa, haa... I think I've come quite far inside...[/v]」[KeyWait]
[FaceOff]
[Face storage="f_c101"]
[Voice storage="c0033" buf=5]
【???】[CR]
「[v][???]: Hehehe... You've come.[/v]」[KeyWait]
[FaceOff]
[if exp="bao.stageLayer.dispLeft>610"]
[eval exp="bao.stageLayer.scrollSpeed *= 2.5"]
[WindowOff]
[endif]
; BGMフェードアウトタイミング調整
[runstage]
*stage5-04a
[waitstage]
[fadeoutbgm time=250]
; フェイクレヴィエラ出現
[runstage]
*stage5-04b
[waitstage]
[playbgm storage="boss1"]
[if exp="bao.stageLayer.dispLeft>500"]
[wait time=500 canskip=false]
[endif]
[WindowOn]
[Face storage="f_b206"]
[Voice storage="b0449" buf=5]
【Excel Chocolat】[CR]
「[v]Huh? Ah... You are... Reviella![/v]」[KeyWait]
[FaceOff]
[Face storage="f_c001"]
[Voice storage="c0034" buf=2]
【Reviella】[CR]
「[v]It's been a while... Umm, Excel... what was it again?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b229"]
[Voice storage="b0450" buf=5]
【Excel Chocolat】[CR]
「[v]It's Excel Chocolat.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_c001"]
[Voice storage="c0035" buf=2]
【Reviella】[CR]
「[v]Oh yes... such a delicious-sounding name.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_c001"]
[Voice storage="c0036" buf=2]
【Reviella】[CR]
「[v]But still... weren't you a little late in arriving?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b229"]
[Voice storage="b0451" buf=5]
【Excel Chocolat】[CR]
「[v]Late in arriving? What do you mean by that?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_c007"]
[Voice storage="c0037" buf=2]
【Reviella】[CR]
「[v]Hehehe... No matter how powerful you are, you can't defeat[r]Reviella-sama, the general of the Ergonia Empire, all by[r]yourself.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b245"]
[Voice storage="b0452" buf=5]
【Excel Chocolat】[CR]
「[v]――!?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b245"]
[Voice storage="b0453" buf=5]
【Excel Chocolat】[CR]
「[v]Don't tell me... did you do something to Chiffon!?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_c001"]
[Voice storage="c0038" buf=2]
【Reviella】[CR]
「[v]Hehehe... Do you want to know?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_c001"]
[Voice storage="c0039" buf=2]
【Reviella】[CR]
「[v]Then I'll tell you. I'll do the same thing to you that I did[r]to her.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b206"]
[Voice storage="b0454" buf=5]
【Excel Chocolat】[CR]
「[v]...I will never forgive you. I'll defeat you and save[r]Chiffon! I will save her![/v]」[KeyWait]
[FaceOff]
[Face storage="f_c008"]
[Voice storage="c0040" buf=2]
【Reviella】[CR]
「[v]Do you really think you can do that all by yourself?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b207"]
[Voice storage="b0455" buf=5]
【Excel Chocolat】[CR]
「[v]It's true I'm alone now. But Chiffon and I share the same[r]feelings! So... I'm alone but not alone! I will win!![/v]」[KeyWait]
[FaceOff]
*Stage5BossStart
[setSkipEnableFlag]
[playbgm storage="boss1"]
[iscript]
tf.stage5Clear = false;
// まだレヴィエラが出現していないとき
if(tf.reviella === void || !isvalid.tf.reviella){
bao.players[0].rootX = 376;
bao.stageLayer.dispLeft = 484;
bao.setEnemy(%['kind'=>'e15f', 'x'=>bao.players[0].rootX-292, 'y'=>200, 'inverse'=>true, 'enablemove'=>false,'return'=>'tf.reviella']);
bao.conductor.goToLabel('*stage05-04_boss');
}
tf.reviella.loadSprite(stEtc1);
bao.setObject(%['storage'=>'stage05-02_o', 'x'=>(710-bao.stageLayer.dispLeft), 'y'=>169, 'return'=>'tf.orb1']);
bao.setObject(%['storage'=>'stage05-02_o', 'x'=>(430-bao.stageLayer.dispLeft), 'y'=>169, 'return'=>'tf.orb2']);
bao.setObject(%['storage'=>'stage05-02_o', 'x'=>(990-bao.stageLayer.dispLeft), 'y'=>169, 'return'=>'tf.orb3']);
bao.setObject(%['storage'=>'stage05-02_ctrl', 'return'=>'tf.ctrl']);
f.clearState = "";
f.attackToBoss = false;
[endscript]
[WindowOff]
[ClearHistory]
[eval exp="bao.informLayer.show()"]
[playerstate enablemove=true]
[enemystate enablemove=true]
[runstage]
*stage5-04c
[waitstage]
[jump target=*clear]
*missed
[playerstate enablemove=false]
[enemystate enablemove=false]
[ClearHistory]
[eval exp="sf.gamePoint+=3"]
[jump target=*5-06a cond="f.stageProgress==4"]
[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
;[iscript]
;{
; 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]
[iscript]
{
bao.iconLayers[0].visible = false;
bao.iconLayers[1].visible = false;
bao.fukidashi.clear();
// レヴィエラの方を向く
var p = bao.players[0];
if((tf.reviella.rootX < p.rootX && p.inverse) || (p.rootX < tf.reviella.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=1000]
[eval exp="bao.informLayer.hide()"]
*stage5-05
[ClearHistory]
[iscript]
bao.setPlayer(%['rootx'=>tf.reviella.rootX, 'rooty'=>tf.reviella.rootY, 'inverse'=>tf.reviella.inverse, 'spriteid'=>'stEtc7', 'enablemove'=>false, 'kind'=>'chiffon', 'cosstate'=>((sf.adjEvilCosMode)?4:0)]);
bao.players[1].movableRect.left = -50;
bao.players[1].movableRect.right = 506;
[endscript]
[if exp="f.clearState!='装置破壊'"]
; 装置を破壊しなかった場合5-06bへ
[jump target=*5-06b]
[endif]
[eval exp="tf.l = bao.stageLayer.dispLeft"]
*stage5-05wait
[jump target=*stage5-05waitend cond="tf.l==bao.stageLayer.dispLeft"]
[wait time=100]
[eval exp="tf.l = bao.stageLayer.dispLeft"]
[jump target=*stage5-05wait]
*stage5-05waitend
[if exp="bao.players[1].rootX < 50 || bao.players[1].rootX > 406"]
[image page=back layer=0 storage="_black" visible=true]
[UpDate time=500 canskip=false]
[iscript]
bao.players[1].rootX = (bao.players[1].rootX < 228)? 50: 406;
[endscript]
[wait time=500]
[freeimage page=back layer=0]
[UpDate time=500 canskip=false]
[endif]
[iscript]
tf.reviella.addQueue("[waitaction][load id=stEtc2]");
if(!f.attackToBoss){
bao.checkMission('ステージ5');
}
[endscript]
;[ClearHistory]
[setSkipTarget storage='6-01.ks' target='*stage6-01Start']
[WindowOn]
[playbgm storage="bgm005"]
[Face storage="f_c003"]
[Voice storage="c0041" buf=2]
【Reviella】[CR]
「[v]Ugh... Guhhh...[/v]」[KeyWait]
[FaceOff]
;レヴィエラの身体が薄れる
;シフォンに変化
[Sound storage="se026" buf=0]
[iscript]
bao.players[1].layer.trigger('appear');
tf.reviella.loadSprite(stEtc2,, '*delete');
bao.stageLayer.addFloorObject(%['storage'=>'stage05-03', 'baseleft'=>bao.stageLayer.dispLeft, 'basetop'=>0]);
[endscript]
[wait time=1000 canskip=false]
[Face storage="f_a210"]
[Voice storage="a0556" buf=2]
【Excel Chiffon】[CR]
「[v]Ah... Ugh... Is this...[/v]」[KeyWait]
[FaceOff]
[iscript]
bao.players[0].loadSprite(stEtc1);
[endscript]
[Face storage="f_b245"]
[Voice storage="b0456" buf=2]
【Excel Chocolat】[CR]
「[v]Chiffon!![/v]」[KeyWait]
[FaceOff]
[text]I knew it... I thought something was strange. Reviella's[r]techniques were all the same as Chiffon's... That device was[r]showing us illusions.[KeyWait]
[text]But... I never imagined that not only Reviella but even the[r]cave was an illusion...[KeyWait]
[Face storage="f_b229"]
[Voice storage="b0457" buf=2]
【Excel Chocolat】[CR]
[v]--Wait, more importantly!![/v][KeyWait]
[FaceOff]
[iscript]
{
bao.stageLayer.scrollLineL = -400;
bao.stageLayer.scrollLineR = 856;
// シフォンの元へ駆け寄る
var chiffon = bao.players[1];
var chocolat = bao.players[0];
tf.x = (chiffon.rootX < chocolat.rootX)? (chiffon.rootX + 30): (chiffon.rootX - 30);
tf.y = (chiffon.rootY < chocolat.rootY)? (chiffon.rootY + 10): (chiffon.rootY - 10);
var tag;
if(Math.abs(chocolat.rootX - tf.x) > 50){
var f = int(Math.sqrt(getDistance(chiffon, chocolat)) / 8);
tag = "[move path=(" + tf.x + "," + tf.y + ",0) mode=absolute id=stDash frame=" + f + "]";
}else{
tag = "[move path=(" + tf.x + "," + tf.y + ",0) mode=absolute]";
}
if(chiffon.rootX < chocolat.rootX){
tag = tag + "[move path=(-1,0,0)]";
}else{
tag = tag + "[move path=(1,0,0)]";
}
if(chiffon.rootY < chocolat.rootY){
tag = tag + "[load id=stSitDown2]";
}else{
tag = tag + "[load id=stSitDown]";
}
chocolat.addQueue(tag);
}
[endscript]
;シフォンを支えるショコラ
;暗転
[image page=back layer=0 storage="_black" visible=true]
[UpDate time=500 canskip=false]
[iscript]
bao.players[0].loadSprite(stStanding);
bao.players[0].scriptQueue = [];
bao.players[0].movingTable = [];
bao.players[0].rootX = tf.x;
bao.players[0].rootY = tf.y;
[endscript]
;再開
;視点変更シフォン
;シフォンを支えるショコラ
;立ちキャラ演出
[ChrSet0 storage="bg150"]
[UpDate]
[Face storage="f_b246"]
[Voice storage="b0458" buf=2]
【Excel Chocolat】[CR]
「[v]Chiffon... are you okay?[/v]」[KeyWait]
[FaceOff]
[ChrSet1 storage="b_a209l" pos=c]
[Update]
[Face storage="f_a210"]
[Voice storage="a0557" buf=2]
【Excel Chiffon】[CR]
「[v]Chocolat? What... is this? How did Reviella turn into[r]Chocolat...[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b231"]
[Voice storage="b0459" buf=2]
【Excel Chocolat】[CR]
「[v]I see... Chiffon, you were shown the same illusion.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a203"]
[Voice storage="a0558" buf=2]
【Excel Chiffon】[CR]
「[v]Illusion... so that's what it was. I didn't notice at all...[r]I'm sorry, Chocolat.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b247"]
[Voice storage="b0460" buf=2]
【Excel Chocolat】[CR]
「[v]No... it's fine. We were able to reunite like this.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b229"]
[Voice storage="b0461" buf=2]
【Excel Chocolat】[CR]
「[v]But... I can't forgive making me attack Chiffon...[/v]」[KeyWait]
[FaceOff]
[ChrSet1 storage="b_a203l" pos=c]
[Update time=200]
[Face storage="f_a230"]
[Voice storage="a0559" buf=2]
【Excel Chiffon】[CR]
「[v]I feel the same way.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_a205"]
[Voice storage="a0560" buf=2]
【Excel Chiffon】[CR]
「[v]So... we need to repay Reviella for this...![/v]」[KeyWait]
[FaceOff]
[Face storage="f_b205"]
[Voice storage="b0462" buf=2]
【Excel Chocolat】[CR]
「[v]Yeah![/v]」[KeyWait]
[FaceOff]
[ChrSet1 storage="_black" pos=c]
[Update]
[Face storage="f_c202"]
[Voice storage="c0042" buf=2]
【???】[CR]
『[v][???]: Oh my, I never expected you to destroy the device. It[r]would have been better if you had just crushed each other.[/v]』[KeyWait]
[FaceOff]
[iscript]
{
if(bao.players[1].rootX < 228 && !bao.players[1].inverse) bao.players[1].inverse = true;
if(bao.players[1].rootX > 228 && bao.players[1].inverse) bao.players[1].inverse = false;
bao.players[0].inverse = bao.players[1].inverse;
for(var i=0; i<bao.players.count; i++){
bao.players[i].loadSprite(stStanding);
}
}
[endscript]
;ドット絵演出
[freeimage page=back layer=0]
[freeimage page=back layer=1]
[UpDate canskip=false]
[Face storage="f_a207"]
[Voice storage="a0561" buf=2]
【Excel Chiffon】[CR]
「[v]That voice... Reviella!![/v]」[KeyWait]
[FaceOff]
[Face storage="f_b206"]
[Voice storage="b0463" buf=2]
【Excel Chocolat】[CR]
「[v]Crush each other? Sorry, but that's not going to happen! We[r]have a bond![/v]」[KeyWait]
[FaceOff]
[Face storage="f_c208"]
[Voice storage="c0043" buf=2]
【Reviella】[CR]
『[v]A bond... huh. Hehe... it makes me sick.[/v]』[KeyWait]
[FaceOff]
[Face storage="f_c208"]
[Voice storage="c0044" buf=2]
【Reviella】[CR]
『[v]But it also gives me chills.[/v]』[KeyWait]
[FaceOff]
[Face storage="f_c208"]
[Voice storage="c0045" buf=2]
【Reviella】[CR]
『[v]The energy I can drain from kids talking about bonds and[r]friendship... it must be so delicious. Let me taste it.[/v]』[KeyWait]
[FaceOff]
;扉が出現する
[iscript]
// bao.stageLayer.addFloorObject(%['storage'=>'stage05-03_gate', 'baseleft'=>125, 'basetop'=>0]);
bao.setObject(%['storage'=>'stage05-03_gate', 'x'=>125, 'y'=>0, 'shadow'=>false, 'return'=>'tf.gate']);
[endscript]
[Face storage="f_c208"]
[Voice storage="c0046" buf=2]
【Reviella】[CR]
『[v]So come. Let's settle this.[/v]』[KeyWait]
[FaceOff]
[Face storage="f_b229"]
[Voice storage="b0464" buf=2]
【Excel Chocolat】[CR]
「[v]That's what I want![/v]」[KeyWait]
[FaceOff]
[Face storage="f_a229"]
[Voice storage="a0562" buf=2]
【Excel Chiffon】[CR]
「[v]Reviella... I'll definitely defeat you! And I'll protect[r]this world!![/v]」[KeyWait]
[FaceOff]
[iscript]
{
var chiffon = bao.players[1];
var chocolat = bao.players[0];
var tag_chiffon;
var tag_chocolat;
chiffon.movableRect.top=0;
chocolat.movableRect.top = 0;
chiffon.dOpacity2Auto = false;
chocolat.dOpacity2Auto = false;
var f = int(Math.sqrt(Math.pow((228-chiffon.rootX),2) + Math.pow(150-chiffon.rootY,2)) / 3);
if(chiffon.rootX < chocolat.rootX){
tag_chiffon = "[eval exp='dm(bao.tickCount)'][move path=(" + (228-20) + ",150,0) mode=absolute frame=" + f + "]";
tag_chocolat = "[eval exp='dm(bao.tickCount)'][move path=(" + (228+20) + ",150,0) mode=absolute frame=" + f + "]";
}else{
tag_chiffon = "[eval exp='dm(bao.tickCount)'][move path=(" + (228+20) + ",150,0) mode=absolute frame=" + f + "]";
tag_chocolat = "[eval exp='dm(bao.tickCount)'][move path=(" + (228-20) + ",150,0) mode=absolute frame=" + f + "]";
}
tag_chiffon += "[eval exp='dm(bao.tickCount)'][eval exp='layer.dOpacity2=-3'][move path=(0,-50,0) frame=40]";
tag_chocolat += "[eval exp='dm(bao.tickCount)'][eval exp='layer.dOpacity2=-3'][move path=(0,-50,0) frame=40]";
chiffon.addQueue(tag_chiffon);
chocolat.addQueue(tag_chocolat);
}
[endscript]
[WindowOff]
[fadeoutbgm time=300]
[eval exp="tf.gamePoint = sf.gamePoint"]
[call storage=resultScreen.ks]
[eval exp="sf.gamePoint = tf.gamePoint" cond="!tf.stage5Clear"]
[eval exp="tf.stage5Clear = true"]
[if exp="bao.players[0].layer.dOpacity2 ==0"]
[eval exp="tf.gate.layer.trigger('close')" cond="bao.players[0].rootY < 150"]
[wait time=500]
[endif]
[image page=back layer=0 storage="_black" visible=true]
[UpDate time=1000 canskip=false]
[eval exp="bao.resetStage()"]
[eval exp="bao.hide()"]
[ClearHistory]
[wait time=500]
[ljump storage="6-01.ks"]
*5-06a
[ClearHistory]
[iscript]
bao.timer.interval *= 1.8;
bao.informLayer.hide();
[endscript]
[wait time=1000 canskip=false]
[fadeoutbgm time=1000]
*stage5-06wait
[jump target=*stage5-06waitend cond="tf.reviella.nowSpriteId==stStanding"]
[wait time=100]
[eval exp="tf.l = bao.stageLayer.dispLeft"]
[jump target=*stage5-06wait]
*stage5-06waitend
[if exp="f.clearState=='装置破壊'"]
; 破壊した直後にやられてしまうことがあるが、クリア判定にする
[eval exp="bao.players[0].HP = 10"]
[eval exp="bao.players[0].loadSprite(stStandUp)"]
[jump target="*stage5-05waitend"]
[endif]
[iscript]
bao.setPlayer(%['rootx'=>tf.reviella.rootX, 'rooty'=>tf.reviella.rootY, 'inverse'=>tf.reviella.inverse, 'spriteid'=>'stEtc7', 'enablemove'=>false, 'kind'=>'chiffon', 'cosstate'=>((sf.adjEvilCosMode)?4:0)]);
bao.timer.interval = sf.adjTimerInterval;
[endscript]
[setSkipTarget storage='c-01.ks' target='*stageC-01Start']
[WindowOn]
[playbgm storage="bgm005"]
[Face storage="f_b210"]
[Voice storage="b0465" buf=2]
【Excel Chocolat】[CR]
「[v]Ah... Aghhh...[/v]」[KeyWait]
[FaceOff]
[Face storage="f_c001"]
[Voice storage="a0563" buf=2]
【Reviella】[CR]
「[v]It's my... my... victory![/v]」[KeyWait]
[FaceOff]
[Face storage="f_b210"]
[Voice storage="b0466" buf=2]
【Excel Chocolat】[CR]
[v]Huh...!?[/v][KeyWait]
[FaceOff]
[iscript]
bao.setObject(%['storage'=>'fadeblack', 'exp'=>'mp.frame=30', 'return'=>'tf.b']);
[endscript]
[text]Victory--is mine?[KeyWait]
[text]That way of speaking...[KeyWait]
[eval exp="bao.players[1].lookTo(bao.players[0])"]
;幻覚が消える演出
;レヴィエラ、シフォンに変化
;暗転
[image page=back layer=0 storage="_black" visible=true]
[UpDate time=500 canskip=false]
[iscript]
tf.reviella.layer.trigger('delete');
tf.ctrl.layer.trigger('delete');
tf.b.layer.trigger('delete');
bao.players[1].loadSprite(stStanding);
[endscript]
[freeimage page=back layer=0]
[UpDate canskip=false]
;再開
;視点変更シフォン
[Face storage="f_a244"]
[Voice storage="a0564" buf=2]
【Excel Chiffon】[CR]
「[v]Huh? Ah... what!?[/v]」[KeyWait]
[FaceOff]
;倒れているショコラ
[Face storage="f_b227"]
[Voice storage="b0467" buf=2]
【Excel Chocolat】[CR]
「[v]................[/v]」[KeyWait]
[FaceOff]
[Sound storage="se026" buf=0]
[iscript]
bao.players[1].loadSprite(stEtc1);
bao.stageLayer.addFloorObject(%['storage'=>'stage05-03', 'baseleft'=>bao.stageLayer.dispLeft, 'basetop'=>0]);
[endscript]
[Face storage="f_a244"]
[Voice storage="a0565" buf=2]
【Excel Chiffon】[CR]
「[v]Chocolat? Why!? How come? I was supposed to be fighting[r]Reviella...[/v]」[KeyWait]
[FaceOff]
[text]I was fighting Reviella all along, so why did she turn into[r]Chiffon!?[KeyWait]
[Face storage="f_c202"]
[Voice storage="c0047" buf=2]
【???】[CR]
『[v][???]: Hehehe... this turned out to be more entertaining[r]than expected.[/v]』[KeyWait]
[FaceOff]
[Face storage="f_a229"]
[Voice storage="a0566" buf=2]
【Excel Chiffon】[CR]
「[v]That voice... Reviella!?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_c201"]
[Voice storage="c0048" buf=2]
【Reviella】[CR]
『[v]Yes, that's right. Hehehe.[/v]』[KeyWait]
[FaceOff]
[Face storage="f_a206"]
[Voice storage="a0567" buf=2]
【Excel Chiffon】[CR]
「[v]What... what is this!? Why is Chocolat here!?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_c208"]
[Voice storage="c0049" buf=2]
【Reviella】[CR]
『[v]It's simple. I showed both of you illusions. So you would[r]see each other's appearances as mine.[/v]』[KeyWait]
[FaceOff]
[Face storage="f_c208"]
[Voice storage="c0050" buf=2]
【Reviella】[CR]
『[v]Just a little trick, but it was quite enjoyable to watch.[/v]』[KeyWait]
[FaceOff]
[Face storage="f_a206"]
[Voice storage="a0568" buf=2]
【Excel Chiffon】[CR]
「[v]What!? How could you...[/v]」[KeyWait]
[FaceOff]
[text]I-I didn't notice... I'm sorry, Chocolat... I...[KeyWait]
[Face storage="f_c208"]
[Voice storage="c0051" buf=2]
【Reviella】[CR]
『[v]It was absolutely ridiculous[hearts][/v]』[KeyWait]
[FaceOff]
*c0-01
[Face storage="f_a249"]
[Voice storage="a0569" buf=2]
【Excel Chiffon】[CR]
「[v]Ugh! Cho... Chocolat!![/v]」[KeyWait]
[FaceOff]
[iscript]
{
bao.stageLayer.scrollLineL = -400;
bao.stageLayer.scrollLineR = 856;
// ショコラの元へ駆け寄る
var chiffon = bao.players[1];
var chocolat = bao.players[0];
var x = chocolat.rootX;
var y = (chiffon.rootY < chocolat.rootY)? (chocolat.rootY - 10): (chocolat.rootY + 10);
var tag;
if(Math.abs(chiffon.rootX - x) > 20){
var f = int(Math.sqrt(getDistance(chiffon, chocolat)) / 8);
tag = "[move path=(" + x + "," + y + ",0) mode=absolute id=stDash ignoremovetag=true frame=" + f + "]";
}else{
tag = "[move path=(" + x + "," + y + ",0) mode=absolute ignoremovetag=true]";
}
if(chiffon.rootX < chocolat.rootX){
tag = tag + "[move path=(1,0,0) ignoremovetag=true frame=1]";
}else{
tag = tag + "[move path=(-1,0,0) ignoremovetag=true frame=1]";
}
if(chiffon.rootY < chocolat.rootY){
tag = tag + "[load id=stSitDown]";
}else{
tag = tag + "[load id=stSitDown2]";
}
chiffon.addQueue(tag);
}
[endscript]
[Sound storage=se025 buf=7]
; ショコラ消える
[eval exp="bao.players[0].layer.trigger('fadeout')"]
[wait time=500 canskip=false]
; シフォン立ち止まる
[iscript]
{
bao.players[1].scriptQueue = [];
bao.players[1].movingTable = [];
if(bao.players[1].nowSpriteId!=stSitDown && bao.players[1].nowSpriteId!=stSitDown2){
bao.players[1].loadSprite(stEtc1,, '*start2');
}
}
[endscript]
;ショコラに駆け寄ろうとするシフォン
;ショコラ消えてしまう
[Face storage="f_a244"]
[Voice storage="a0570" buf=2]
【Excel Chiffon】[CR]
「[v]What!? Chocolat!?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_c208"]
[Voice storage="c0052" buf=2]
【Reviella】[CR]
『[v]Hehehe♪ I've taken her. If you want her back... come and get[r]her.[/v]』[KeyWait]
[FaceOff]
;扉が開く
[iscript]
{
var chiffon = bao.players[1];
bao.setObject(%['storage'=>'stage05-03_gate', 'x'=>125, 'y'=>0, 'shadow'=>false, 'return'=>'tf.gate']);
if(chiffon.rootX < 228 && !chiffon.inverse) chiffon.inverse = true;
if(chiffon.rootX > 228 && chiffon.inverse) chiffon.inverse = false;
if(chiffon.inverse != chiffon.layer.inverse){
chiffon.layer.setInverse();
}
if(chiffon.nowSpriteId == stSitDown || chiffon.nowSpriteId == stSitDown2){
chiffon.layer.trigger('standup');
}else{
chiffon.layer.trigger('stand');
}
}
[endscript]
[Face storage="f_a207"]
[Voice storage="a0571" buf=2]
【Excel Chiffon】[CR]
「[v]Chocolat... I will definitely save you![/v]」[KeyWait]
[FaceOff]
[iscript]
{
var chiffon = bao.players[1];
var tag_chiffon;
chiffon.movableRect.top = 0;
chiffon.dOpacity2Auto = false;
var f = int(Math.sqrt(Math.pow((228-chiffon.rootX),2) + Math.pow(150-chiffon.rootY,2)) / 3);
tag_chiffon = "[eval exp='dm(bao.tickCount)'][move path=(228,150,0) mode=absolute frame=" + f + "]";
tag_chiffon += "[eval exp='dm(bao.tickCount)'][eval exp='layer.dOpacity2=-3'][move path=(0,-50,0) frame=40]";
chiffon.addQueue(tag_chiffon);
}
[endscript]
[fadeoutbgm time=1000]
[SoundAllOut time=1000]
[image page=back layer=0 storage="_black" visible=true]
[UpDate]
;[text]………………………………………………[KeyWait]
;[text]……………………[KeyWait]
;[text]………[KeyWait]
[WindowOff]
[eval exp="bao.resetStage()"]
[eval exp="bao.hide()"]
[scenarioend]
[ljump storage="c-01.ks"]
*5-06b
[wait time=500]
[eval exp="tf.l = bao.stageLayer.dispLeft"]
*stage5-06bwait
[jump target=*stage5-06bwaitend cond="tf.l==bao.stageLayer.dispLeft"]
[wait time=100]
[eval exp="tf.l = bao.stageLayer.dispLeft"]
[jump target=*stage5-06bwait]
*stage5-06bwaitend
;[ClearHistory]
[setSkipTarget storage='d-01.ks' target='*stageD-01Start']
[WindowOn]
[playbgm storage="bgm005"]
[Face storage="f_c003"]
[Voice storage="a0572" buf=2]
【Reviella】[CR]
「[v]Aghhhhh![/v]」[KeyWait]
[FaceOff]
[Face storage="f_b229"]
[Voice storage="b0468" buf=2]
【Excel Chocolat】[CR]
「[v]I... I won![/v]」[KeyWait]
[FaceOff]
[text]I did it! I defeated her! I was able to win all by myself![KeyWait]
;幻覚解除演出
[Sound storage="se026" buf=0]
[iscript]
if(tf.ctrl !== void && isvalid tf.ctrl) tf.ctrl.layer.trigger('delete');
bao.stageLayer.addFloorObject(%['storage'=>'stage05-03', 'baseleft'=>bao.stageLayer.dispLeft, 'basetop'=>0]);
[endscript]
[Face storage="f_b204"]
[Voice storage="b0469" buf=2]
【Excel Chocolat】[CR]
「[v]--!?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_b204"]
[Voice storage="b0470" buf=2]
【Excel Chocolat】[CR]
「[v]Huh? Wha... what? What happened...[/v]」[KeyWait]
[FaceOff]
;レヴィエラ、シフォンに変化
[iscript]
tf.reviella.loadSprite(stEtc3);
[endscript]
[Face storage="f_a227"]
[Voice storage="a0573" buf=2]
【Excel Chiffon】[CR]
「[v]................[/v]」[KeyWait]
[FaceOff]
[iscript]
bao.players[0].loadSprite(stEtc1);
[endscript]
[Face storage="f_b204"]
[Voice storage="b0471" buf=2]
【Excel Chocolat】[CR]
「[v]What does this mean? Why is Reviella with Chiffon!?[/v]」[KeyWait]
[FaceOff]
[iscript]
{
bao.stageLayer.scrollLineL = -400;
bao.stageLayer.scrollLineR = 856;
// シフォンの元へ駆け寄る
var chiffon = bao.players[1];
var chocolat = bao.players[0];
var x = int((chiffon.inverse)? (chiffon.rootX - 30): (chiffon.rootX + 30));
var y = int((chocolat.rootY < chiffon.rootY)? (chiffon.rootY - 10): (chiffon.rootY + 10));
var tag;
var fr;
if(Math.abs(chocolat.rootX - x) > 20){
fr = int(Math.sqrt(getDistance(chiffon, chocolat)) / 7);
tag = "[move path=(" + x + "," + y + ",0) mode=absolute id=stDash ignoremovetag=true frame=" + fr + "]";
}else{
tag = "[move path=(" + x + "," + y + ",0) mode=absolute ignoremovetag=true]";
}
// if(chiffon.inverse){
// tag = tag + "[move path=(1,0,0) ignoremovetag=true frame=1]";
// }else{
// tag = tag + "[move path=(-1,0,0) ignoremovetag=true frame=1]";
// }
tag = tag + "[move path=(0,1,0) ignoremovetag=true frame=1]";
if(chocolat.rootY < chiffon.rootY){
tag = tag + "[load id=stSitDown]";
}else{
tag = tag + "[load id=stSitDown2]";
}
chocolat.addQueue(tag);
if(fr !== void){
tf.wait = int((fr / 30) * 1000) - 400;
}else{
tf.wait = 500;
}
}
[endscript]
[wait time=&(tf.wait) canskip=false]
[image page=back layer=0 storage="_black" visible=true]
[UpDate time=500 canskip=false]
[iscript]
{
var chocolat = bao.players[0];
var chiffon = bao.players[1];
// chocolat.scriptQueue = [];
// chocolat.movingTable = [];
chocolat.inverse = chiffon.inverse;
// if(chocolat.inverse != chocola.layer.inverse) chocolat.layer.setInverse();
if(chocolat.inverse){
chocolat.rootX = chiffon.rootX - 13;
}else{
chocolat.rootX = chiffon.rootX + 13;
}
if(chiffon.rootY < 184) chiffon.rootY = 184;
if(chocolat.rootY < chiffon.rootY){
chocolat.rootY = chiffon.rootY - 3;
}else{
}
chocolat.loadSprite(stEtc7);
chiffon.loadSprite(stEtc5);
tf.reviella.layer.trigger('erase');
}
[endscript]
[wait time=200 canskip=false]
[freeimage page=back layer=0]
[UpDate canskip=false]
[Face storage="f_c202"]
[Voice storage="c0053" buf=2]
【???】[CR]
『[v][???]: It's simple. I cast an illusion on you. So you would[r]see each other's appearances as mine.[/v]』[KeyWait]
[FaceOff]
[eval exp="bao.players[0].layer.trigger('furimuku')"]
[Face storage="f_b245"]
[Voice storage="b0472" buf=2]
【Excel Chocolat】[CR]
「[v]That voice... Reviella!?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_c208"]
[Voice storage="c0054" buf=2]
【Reviella】[CR]
『[v]Correct[hearts][/v]』[KeyWait]
[FaceOff]
[Face storage="f_c208"]
[Voice storage="c0055" buf=2]
【Reviella】[CR]
『[v]Hehe, how was it? Did you enjoy my heartfelt hospitality♪[/v]』[KeyWait]
[FaceOff]
[Face storage="f_b206"]
[Voice storage="b0473" buf=2]
【Excel Chocolat】[CR]
「[v]Don't say such ridiculous things! This wasn't fun at all![r]This... this horrible thing!![/v]」[KeyWait]
[FaceOff]
[text]I can't believe it... I didn't notice at all... I was[r]attacking Nacchan...![KeyWait]
[text]And on top of that, I was happy about winning... I should[r]have been the one hurt... I'm so sorry...[KeyWait]
[Face storage="f_c208"]
[Voice storage="c0056" buf=2]
【Reviella】[CR]
『[v]Hehehe... that reaction. It's the best... the best[hearts][r]That's what I wanted to see. That reaction.[/v]』[KeyWait]
[FaceOff]
[Face storage="f_b206"]
[Voice storage="b0474" buf=2]
【Excel Chocolat】[CR]
「[v]I will never... forgive you.[/v]」[KeyWait]
[FaceOff]
[Face storage="f_c208"]
[Voice storage="c0057" buf=2]
【Reviella】[CR]
『[v]Not forgive me? Then what will you do?[/v]』[KeyWait]
[FaceOff]
*d-01
[Face storage="f_b207"]
[Voice storage="b0475" buf=2]
【Excel Chocolat】[CR]
「[v]Come out! I'll defeat you![/v]」[KeyWait]
[FaceOff]
[Face storage="f_c208"]
[Voice storage="c0058" buf=2]
【Reviella】[CR]
『[v]Hehehe... I see. Defeat me... huh. Hehe, that's interesting.[r]Let's see if you can.[/v]』[KeyWait]
[FaceOff]
[Face storage="f_c208"]
[Voice storage="c0059" buf=2]
【Reviella】[CR]
『[v]But I won't bother to come out myself. You come to me. Until[r]you do--[/v]』[KeyWait]
[FaceOff]
;力が発動する様な演出
;シフォンが消える
[Sound storage=se025 buf=7]
[eval exp="bao.players[0].layer.trigger('modoru')"]
[eval exp="bao.players[1].layer.trigger('fadeout')"]
[Face storage="f_b204"]
[Voice storage="b0476" buf=2]
【Excel Chocolat】[CR]
「[v]What!? Chiffon!?[/v]」[KeyWait]
[FaceOff]
[Face storage="f_c201"]
[Voice storage="c0060" buf=2]
【Reviella】[CR]
『[v]I'll be taking this girl with me.[/v]』[KeyWait]
[FaceOff]
[eval exp="bao.players[0].layer.trigger('tatehiza')"]
[Face storage="f_b206"]
[Voice storage="b0477" buf=2]
【Excel Chocolat】[CR]
「[v]How cowardly![/v]」[KeyWait]
[FaceOff]
;扉が開く
[iscript]
bao.setObject(%['storage'=>'stage05-03_gate', 'x'=>125, 'y'=>0, 'shadow'=>false, 'return'=>'tf.gate']);
[endscript]
[Face storage="f_c208"]
[Voice storage="c0061" buf=2]
【Reviella】[CR]
『[v]Cowardly, fine... Hehehe, do your best.[/v]』[KeyWait]
[FaceOff]
;扉が開く
[iscript]
{
var chocolat = bao.players[0];
if(chocolat.rootX < 228 && !chocolat.inverse) chocolat.inverse = true;
if(chocolat.rootX > 228 && chocolat.inverse) chocolat.inverse = false;
if(chocolat.inverse != chocolat.layer.inverse){
chocolat.layer.setInverse();
}
chocolat.layer.trigger('standup');
}
[endscript]
[Face storage="f_b229"]
[Voice storage="b0478" buf=2]
【Excel Chocolat】[CR]
「[v]How could this... wait for me, Chiffon! I will definitely[r]save you![/v]」[KeyWait]
[FaceOff]
[iscript]
{
var chocolat = bao.players[0];
var tag_chocolat;
chocolat.movableRect.top = 0;
chocolat.dOpacity2Auto = false;
var f = int(Math.sqrt(Math.pow((228-chocolat.rootX),2) + Math.pow(150-chocolat.rootY,2)) / 3);
tag_chocolat = "[eval exp='dm(bao.tickCount)'][move path=(" + (228) + ",150,0) mode=absolute frame=" + f + "]";
tag_chocolat += "[eval exp='dm(bao.tickCount)'][eval exp='layer.dOpacity2=-3'][move path=(0,-50,0) frame=40]";
chocolat.addQueue(tag_chocolat);
}
[endscript]
[fadeoutbgm time=1000]
[SoundAllOut time=1000]
[image page=back layer=0 storage="_black" visible=true]
[UpDate]
;[text]………………………………………………[KeyWait]
;[text]……………………[KeyWait]
;[text]………[KeyWait]
[WindowOff]
[eval exp="bao.resetStage()"]
[eval exp="bao.hide()"]
[scenarioend]
[ljump storage="d-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=5-07.ks target='*scene5-07end']
[lcall storage="5-07.ks" cond="sf.R18"]
[setSkipEnableFlag label='*scene5-07end']
[else]
[setSkipTarget storage=5-08.ks target='*scene5-08end']
[lcall storage="5-08.ks" cond="sf.R18"]
[setSkipEnableFlag label='*scene5-08end']
[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 = 'stage05_01.ssd';
tf.target = '*stage5-01ActionStage';
break;
case 1:
tf.storage = 'stage05_01.ssd';
tf.target = '*stage5-01ActionStage';
break;
case 2:
tf.storage = 'stage05_02.ssd';
tf.target = '*stage5-03ActionStage';
break;
case 3:
tf.storage = 'stage05_02.ssd';
tf.target = '*stage5-03ActionStage';
break;
case 4:
tf.storage = 'stage05_02.ssd';
tf.target = '*stage5-03ActionStage';
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]
switch(f.stageProgress){
case 0:
bao.stageLayer.dispLeft = 0;
bao.conductor.goToLabel('*point0');
break;
case 1:
bao.stageLayer.dispLeft = 2000-456;
bao.conductor.goToLabel('*point1');
break;
case 2:
bao.stageLayer.dispLeft = 5080-456;
bao.conductor.goToLabel('*point2');
break;
case 3:
bao.stageLayer.dispLeft = 5080-2050+100;
bao.conductor.goToLabel('*point3');
break;
case 4:
bao.stageLayer.dispLeft = 1000;
bao.conductor.goToLabel('*point4');
break;
}
[endscript]
[playbgm storage="stage05"]
[freeimage page=back layer=0]
[UpDate canskip=false]
[ClearHistory]
[eval exp="bao.informLayer.show()"]
[runstage]
[playerstate enablemove=true]
[jump target=&tf.target]
*init|ステージ5『洞窟』
[iscript]
f.downCount = [0, 0];
f.stage = 5;
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];
tf.stage5Clear = false;
[endscript]
[return]