shiny-cuty-excel-chiffon/data/p00_thrown4.asd
2024-10-27 10:14:41 -05:00

223 lines
12 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.

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.

*start
; 触手に捕まってエロ攻撃
[fukidashireset]
[iscript]
sprite.state = stateDamage;
if(!sprite.inverse){
sprite.inverse = true;
layer.inverse = true;
}
[endscript]
[image id=stClinched]
[voice storage="a9058"]
;[eval exp="kag.se[4].stop()"]
;[eval exp="kag.bgVoice[0]='aex167'"]
[dispsize width=46 height=120]
[state enablemove=false enableAttack=false nogravity=true]
[iscript]
mp.attackedFlag = false;
mp.t = (sprite.damageFrom.tentacles[0].holding)? sprite.damageFrom.tentacles[0]: sprite.damageFrom.tentacles[1];
mp.x = ((mp.t.rootX - 113) - sprite.rootX) * xDirection(sprite.inverse);
mp.y = mp.t.rootY - sprite.rootY + 24;
mp.path = "(" + mp.x + "," + mp.y + ",0)";
mp.frame = 14 - (bao.tickCount - mp.t.holdTick) - 2;
//dm(mp.t);
//dm(mp.path);
//dm(mp.frame);
[endscript]
[eval exp="sprite.altitude=0"]
[move path=&mp.path frame=&mp.frame xaccel=-2 yaccel=-2 haccel=1]
[disp left=0 top=0 opacity=255]
[wait frame=&mp.frame]
[wait frame=3]
[effect storage="p00_thrown4b" xoffset=0 yoffset=0 hoffset=0 aoffset=25 type=ltAlpha return='mp.e1']
[eval exp="tf.e=mp.e1"]
[image id=stThrown4 num=1]
[dispsize width=50 height=124 centerpos=21 baseline=0]
[state enablemove=false enableAttack=false nogravity=true]
[ontrigger name=kosukosu target=*kosukosu]
[ontrigger name=end target=*end]
*waiting
[disp left=0 top=0 opacity=255]
[jump target=*end cond="!mp.t.holding"]
[wait frame=1]
[jump target=*waiting]
*kosukosu
[eval exp="mp.e1.layer.trigger('kosukosu')"]
[disp left=1 top=0 opacity=255][wait frame=4]
[disp left=2 top=0 opacity=255][wait frame=3]
;[disp left=3 top=0 opacity=255][wait frame=2]
;[disp left=4 top=0 opacity=255][wait frame=2]
[ontrigger name=fall target=*fall]
[voice storage="a9059"]
;[eval exp="kag.bgVoice[0]='aex02'"]
[setface num=2]
*loop
[eval exp="mp.attackedFlag = true"]
[eval exp="sprite.HP-=1"]
[jump target=*end cond="!mp.t.holding || mp.t.isDead"]
[disp left=3 top=0 opacity=255][wait frame=1]
[jump target=*end cond="!mp.t.holding || mp.t.isDead"]
[disp left=4 top=0 opacity=255][wait frame=1]
[jump target=*loop]
;[s]
*end
[eval exp="mp.e1.layer.trigger('delete')" cond="mp.e1 !== void && isvalid mp.e1"]
[eval exp="layer.clearTrigger('end')"]
*fall
[if exp="!mp.attackedFlag"]
[if exp="sprite.altitude == 0"]
[load id=stStanding]
[else]
[eval exp="mp.noEffectAtRecovery = true"]
[load id=stRecovery]
[endif]
[endif]
; 落下開始
[state enablemove=false enableAttack=false nogravity=false]
[ontrigger name=landing target=*landing1]
[move path=(-20,0,20) haccel=-1 frame=5]
[move path=(-40,0,-50) haccel=1 xaccel=-0.2 frame=10]
[image num=2]
[dispsize width=96 height=112 centerpos=54 baseline=-5]
[disp left=0 top=0 opacity=255][wait frame=7]
[disp left=1 top=0 opacity=255][wait frame=4]
[image id=stDamage2 num=2]
[dispsize width=120 height=46 baseline=0]
[disp left=0 top=0 opacity=255][hit rect="(6,10,108,40)"]
[s]
*landing1
;[state enablemove=false enableattack=false enablecounter=false]
[playse storage=se211]
[eval exp="kag.bgVoice[0] = '', kag.se[4].stop(), kag.se[2].stop()"]
[voice storage="a9007"]
[quake frame=10 vmax=5]
[ontrigger name=landing target=*landing2]
[move path=(-4,0,17) haccel=-1 frame=5]
[move path=(-4,0,-17) haccel=1 frame=5]
[image id=stDamage2 num=3]
[dispsize width=124 height=42 baseline=4]
[disp left=0 top=1 opacity=255][wait frame=5]
[disp left=0 top=0 opacity=255]
[s]
*landing2
;[if exp="!sf.adjSinglePlayMode && bao.players.count > 1 && bao.players[1].HP > 0"]
; [if exp="sprite.HP/sprite.maxHP > 0.7"]
; [fukidashi chara=chrChocolat storage="dummy2" text="Are you okay!?"]
; [fukidashi chara=chrChiffon storage="dummy2" text="Y-Yeah... this is nothing!"]
; [elsif exp="sprite.HP/sprite.maxHP > 0.3"]
; [fukidashi chara=chrChocolat storage="dummy2" text="Chiffon!? Hang in there!"]
; [fukidashi chara=chrChiffon storage="dummy2" text="Th-This much... I'm fine...!"]
; [elsif exp="sprite.HP/sprite.maxHP > 0"]
; [fukidashi chara=chrChocolat storage="dummy2" text="Chiffon, keep going!!"]
; ; [fukidashi chara=chrChiffon storage="dummy2" text="Yeah... we won't... lose...!!"]
; [fukidashi chara=chrChiffon storage="dummy2" text="Ugh... ugh...!!"]
; [endif]
;[endif]
[state enablemove=false enableattack=false enablecounter=false]
[ontrigger name=landing target=*landing3]
[move path=(0,0,5) haccel=-1 frame=5]
[move path=(0,0,-5) haccel=1 frame=5]
[disp left=0 top=1 opacity=255][wait frame=5]
[disp left=0 top=2 opacity=255][wait frame=5]
[disp left=0 top=3 opacity=255]
[s]
*landing3
[disp left=0 top=3 opacity=255]
[eval exp="sprite.comboDamageCount=0"]
[if exp="sprite.HP > 0"]
[eval exp="sprite.extasyGauge.value=50"]
[eval exp="sprite.extasyGauge.value-=2"]
[wait frame=3]
[eval exp="sprite.extasyGauge.value-=2"]
[wait frame=3]
[eval exp="sprite.extasyGauge.value-=2"]
[wait frame=3]
[eval exp="sprite.extasyGauge.value-=2"]
[wait frame=3]
[eval exp="sprite.extasyGauge.value-=2"]
[wait frame=3]
[jump target=*standup]
[endif]
[load id="stDown"]
*standup
;[setface num=&sprite.defaultFaceNum]
[setface num=5]
[eval exp="kag.se[2].stop()"]
; ※はぁはぁ息を整える感じ。a0219とかが使える
;[voice storage="a9135"]
;[eval exp="sprite.extasyGauge.value=0"]
[eval exp="sprite.inExtasy = 0"]
[image id=stStandUp2 num=1]
[dispsize width=98 height=70 centerpos=49 baseline=0]
[eval exp="sprite.extasyGauge.value-=3"]
[disp left=2 top=0 opacity=255][wait frame=5]
[image id=stStandUp2 num=2]
[dispsize width=68 height=106 centerpos=34 baseline=0]
[eval exp="sprite.extasyGauge.value-=3"]
[disp left=0 top=0 opacity=255][wait frame=5]
[dispsize width=68 height=106 centerpos=39 baseline=0]
[eval exp="sprite.extasyGauge.value-=3"]
[disp left=1 top=0 opacity=255][wait frame=4]
[load id=stStanding3]