shiny-cuty-excel-chiffon/data/p00_extasy.asd

139 lines
9 KiB
Common Lisp
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

*start
[eval exp="f.noExtacy=false"]
[setface num=2]
[iscript]
mp.extasy = true;
switch(intrandom(0,2)){
case 0:
mp.storage = "a9059";
break;
case 1:
mp.storage = "a9060";
break;
case 2:
mp.storage = "a0202";
break;
}
if(mp.extasyTick === void){
mp.extasyTick = -999;
}
if(sprite.HP > 0 && !sf.adjSinglePlayMode && bao.players.count > 1 && (bao.tickCount - mp.extasyTick > 240)){
bao.fukidashi.clear2();
switch(mp.storage) {
case "a9059":
bao.fukidashi.add(%["chara"=>chrChiffon, "storage"=>mp.storage, "text"=>"Eek! Hyaaaaaah!"]);
break;
case "a9060":
bao.fukidashi.add(%["chara"=>chrChiffon, "storage"=>mp.storage, "text"=>"I-Ihiiiiiin――!"]);
break;
case "a0202":
bao.fukidashi.add(%["chara"=>chrChiffon, "storage"=>mp.storage, "text"=>"Hya! Aaaaaah……!"]);
break;
}
}else{
layer.tag_voice(%['storage'=>mp.storage]);
}
[endscript]
[if exp="bao.nowSelectingPlayer === sprite"]
[eval exp="f.extasy++"]
[endif]
[if exp="sprite.cosState==4 && sf.adjCosVariation==4"]
[jump target="*cosState4"]
[endif]
[eval exp="bao.showIcon('icon_shake', 0)"]
[dispsize width=56 height=106]
[state enablemove=false enableAttack=false]
;[voice storage=&mp.storage]
[disp left=0 top=0 opacity=255][wait frame=4]
[eval exp="mp.cnt=0"]
[if exp="sprite.inverse"]
[eval exp="setObject(%['storage'=>'omorashi01','rootx'=>sprite.rootX,'rooty'=>sprite.rootY,'shadow'=>false,'absolute'=>50])"]
[else]
[eval exp="setObject(%['storage'=>'omorashi01','rootx'=>sprite.rootX,'rooty'=>sprite.rootY,'shadow'=>false,'absolute'=>50])"]
[endif]
[ontrigger name="recover" target=*standup]
[if exp="sprite.HP > 0 && !sf.adjSinglePlayMode && bao.players.count > 1 && !bao.players[1].inExtasy && (bao.players[1].state == stateNormal || bao.players[1].state == stateAttack) && (bao.tickCount - mp.extasyTick > 240)"]
[fukidashi chara=chrChocolat storage="b0154" text="C-Chiffon... hang in there...!"]
[endif]
*loop
[eval exp="mp.cnt++"]
[disp left=1 top=0 opacity=255][hit rect="(11,33,53,100)" damagerate=2.5][wait frame=6]
[disp left=2 top=0 opacity=255][hit rect="(11,33,53,100)" damagerate=2.5][wait frame=4]
[disp left=3 top=0 opacity=255][hit rect="(11,33,53,100)" damagerate=2.5][wait frame=4]
[disp left=2 top=0 opacity=255][hit rect="(11,33,53,100)" damagerate=2.5][wait frame=6]
[jump target=*loop cond="mp.cnt<6"]
[disp left=1 top=0 opacity=255][hit rect="(11,33,53,100)"][wait frame=9]
[disp left=2 top=0 opacity=255][hit rect="(11,33,53,100)"][wait frame=6]
[disp left=3 top=0 opacity=255][hit rect="(11,33,53,100)"][wait frame=9]
[disp left=2 top=0 opacity=255][hit rect="(11,33,53,100)"][wait frame=6]
*standup
[eval exp="mp.extasyTick = bao.tickCount"]
[setface num=&sprite.defaultFaceNum]
;[eval exp="kag.se[2].stop()"]
[eval exp="sprite.inExtasy = 0"]
[image id=stStandUp2 num=1]
[dispsize width=98 height=70 centerpos=49 baseline=0]
[disp left=2 top=0 opacity=255][wait frame=5]
[image id=stStandUp2 num=2]
[dispsize width=68 height=106 centerpos=34 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=5]
[dispsize width=68 height=106 centerpos=39 baseline=0]
[disp left=1 top=0 opacity=255][wait frame=4]
[load id=stStanding3]
*cosState4
[dispsize width=64 height=96 centerpos=28]
[state enablemove=false enableAttack=false]
[voice storage=&mp.storage]
[disp left=0 top=0 opacity=255][wait frame=4]
[eval exp="mp.cnt=0"]
[if exp="sprite.inverse"]
[eval exp="setObject(%['storage'=>'omorashi01','rootx'=>sprite.rootX-13,'rooty'=>sprite.rootY,'shadow'=>false,'absolute'=>50])"]
[else]
[eval exp="setObject(%['storage'=>'omorashi01','rootx'=>sprite.rootX+13,'rooty'=>sprite.rootY,'shadow'=>false,'absolute'=>50])"]
[endif]
[ontrigger name="recover" target=*standup]
*loop2
[eval exp="mp.cnt++"]
[disp left=1 top=0 opacity=255][hit rect="(11,33,58,100)" damagerate=2.5][wait frame=6]
[disp left=2 top=0 opacity=255][hit rect="(11,33,58,100)" damagerate=2.5][wait frame=4]
[disp left=3 top=0 opacity=255][hit rect="(11,33,58,100)" damagerate=2.5][wait frame=4]
[disp left=2 top=0 opacity=255][hit rect="(11,33,58,100)" damagerate=2.5][wait frame=6]
[jump target=*loop cond="mp.cnt<6"]
[disp left=1 top=0 opacity=255][hit rect="(11,33,58,100)"][wait frame=9]
[disp left=2 top=0 opacity=255][hit rect="(11,33,58,100)"][wait frame=6]
[disp left=3 top=0 opacity=255][hit rect="(11,33,58,100)"][wait frame=9]
[disp left=2 top=0 opacity=255][hit rect="(11,33,58,100)"][wait frame=6]
[jump target=*standup]