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

242 lines
15 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
[setface num=2]
[playdamagese]
[eval exp="dm('シフォン ダメージ!!')"]
[eval exp="sprite.storeMovingTable=false"]
[if exp="sprite.lastSpriteId!=stDamage2"]
;連続で喰らっているatkEnablePursue属性の攻撃のではない場合
[eval exp="mp.firstDamage=true"]
[eval exp="f.downCount[sprite.chara]++"]
[else]
[eval exp="mp.firstDamage=false"]
[endif]
[iscript]
if(mp.damage2Tick === void){
mp.damage2tick = -999;
}
if(bao.tickCount - mp.damage2Tick > 900){
mp.damage2Count = 1;
}else{
mp.damage2Count++;
}
sprite.comboDamageCount++;
mp.cosBroken = false;
[endscript]
;コス破損
[if exp="f.downCount[sprite.chara]>sf.adjCosBreakCount && sprite.cosState<3"]
[if exp="bao.nowSelectingPlayer === sprite"]
[eval exp="f.cosBroken = true"]
[endif]
[eval exp="sprite.cosState++"]
[if exp="sf.adjCosBreakCount==0"]
[eval exp="mp.cosBroken = true"]
[eval exp="sprite.cosState=3"]
[endif]
[eval exp="mp.cosBroken = true" cond="sprite.cosState==2"]
[eval exp="f.downCount[sprite.chara]=0"]
[image id=stDamage2 num=1]
[if exp="sprite.cosState >= 2"]
[eval exp="sprite.defaultFaceNum = 5"]
[endif]
[if exp='sprite.cosState==2&&sf.actionSceneCutin']
[eval exp='bao.cutinLayer[0].loadImages(%["storage"=>"cutin02","inverse"=>sprite.inverse,"caller"=>sprite])']
[elsif exp='sprite.cosState==3&&sf.actionSceneCutin']
[eval exp='bao.cutinLayer[0].loadImages(%["storage"=>"cutin03","inverse"=>sprite.inverse,"caller"=>sprite])']
[else]
[eval exp="setObject(%['storage'=>'cosbreak','rootx'=>sprite.rootX,'rooty'=>sprite.rootY,'altitude'=>sprite.altitude+80,'shadow'=>false,'absolute'=>100000])"]
[endif]
[elsif exp="sprite.HP<=0"]
[if exp="sprite.cosState<4 && sf.adjCosBreakCount < 99999 && !sf.adjDisableCosBreakSoonAtDead"]
[eval exp="sprite.cosState=3"]
[else]
; [eval exp="sprite.cosState=5"]
[endif]
[eval exp="f.downCount[sprite.chara]=0"]
[image id=stDamage2 num=1]
[endif]
[image id=stDamage2 num=1]
[dispsize width=112 height=108]
[state enablemove=false enableattack=false enablecounter=true]
[ontrigger name=landing target=*landing1]
[if exp="mp.firstDamage"]
[if exp="bao.fukidashi.showing"]
[if exp="tf.damageFukidashi!=0"]
[fukidashireset]
[eval exp="mp.fukidashiFlag = true"]
[if exp="sprite.HP>0"]
[if exp="intrandom(0,1)"]
[fukidashi chara=chrChiffon storage="a9010" text="Uwaaaah!"]
[else]
[fukidashi chara=chrChiffon storage="a9011" text="Kyaaaah!"]
[endif]
[if exp="!sf.adjSinglePlayMode && bao.players.count > 1 && (bao.players[1].state == stateNormal || bao.players[1].state == stateAttack)"]
[fukidashi chara=chrChocolat storage="b9004" text="Are you okay!?"]
[fukidashi chara=chrChiffon storage="a9013" text="Th-this much... I'm fine...!"]
[endif]
[endif]
[else]
[if exp="sprite.HP>0"]
[fukidashireset]
[if exp="intrandom(0,1)"]
[fukidashi chara=chrChiffon storage="a9010" text="Uwaaaah!"]
[else]
[fukidashi chara=chrChiffon storage="a9011" text="Kyaaaah!"]
[endif]
[endif]
[endif]
[else]
[if exp="intrandom(0,1)"]
[voice storage="a9010" forced=true]
[else]
[voice storage="a9011" forced=true]
[endif]
[endif]
[move path=(-51,0,34) haccel=-1 frame=10]
[else]
[move path=(-51,0,17) haccel=-1 frame=10]
[endif]
[if exp="sprite.HP<=0"]
[fukidashireset]
[voice storage="a9016" forced=true]
[endif]
[move path=(-25,0,-34) haccel=1 xaccel=-0.2 frame=5]
[disp left=0 top=0 opacity=255][wait frame=1]
[if exp="sprite.comboDamageCount>=4"]
[eval exp="sprite.invincibleCount=30"]
[disp left=0 top=0 opacity=255][wait frame=9]
[else]
[disp left=0 top=0 opacity=255][hit rect="(6,40,106,80)"][wait frame=9]
[endif]
[image id=stDamage2 num=2]
[dispsize width=120 height=46 baseline=0]
;[state enablemove=false enableattack=false enablecounter=false]
[disp left=0 top=0 opacity=255][hit rect="(6,10,108,40)"]
[s cond="sprite.altitude>0"]
*landing1
;[state enablemove=false enableattack=false enablecounter=false]
[playse storage=se211]
[quake frame=10 vmax=5]
[ontrigger name=landing target=*landing2]
[move path=(-17,0,17) haccel=-1 frame=5]
[move path=(-17,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="!mp.fukidashiFlag && sprite.HP > 0 && !sf.adjSinglePlayMode && bao.players.count > 1 && (sprite.cosState!=4 || sf.adjCosVariation!=4) && (bao.players[1].state == stateNormal || bao.players[1].state == stateAttack)"]
[fukidashireset]
[eval exp="tf.damageFukidashi = 1"]
[if exp="mp.cosBroken"]
[fukidashi chara=chrChocolat storage="b9004" text="Are you okay!?"]
[fukidashi chara=chrChiffon storage="a9015" text="Ugh... uuugh...!!"]
[elsif exp="sprite.HP/sprite.maxHP > 0.7 && mp.damage2Count == 1"]
[fukidashi chara=chrChocolat storage="b9004" text="Are you okay!?"]
[fukidashi chara=chrChiffon storage="a9012" text="Y-yeah... this is nothing!"]
[elsif exp="sprite.HP/sprite.maxHP > 0.3 && mp.damage2Count <= 2"]
[fukidashi chara=chrChocolat storage="b9005" text="Chiffon!? Hang in there!"]
[fukidashi chara=chrChiffon storage="a9013" text="Th-this much... I'm fine...!"]
[else]
[fukidashi chara=chrChocolat storage="b9006" text="Chiffon, keep going!!"]
[if exp="intrandom(0,1)"]
[fukidashi chara=chrChiffon storage="a9014" text="Yeah... we won't... lose...!!"]
[else]
[fukidashi chara=chrChiffon storage="a9015" text="Ugh... uuugh...!!"]
[endif]
[endif]
[endif]
[eval exp="mp.fukidashiFlag = false"]
[state enablemove=false enableattack=false enablecounter=false]
[ontrigger name=landing target=*landing3]
[move path=(-4,0,5) haccel=-1 frame=5]
[move path=(-4,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"]
; [if exp="sprite.extasyGauge.value>=sprite.extasyGauge.maxValue"]
; [jump target=*extasy]
; [endif]
[wait frame=15]
[setface num=&sprite.defaultFaceNum]
[load id="stStandUp"]
[endif]
[if exp="bao.returnState == ''"]
[eval exp="sprite.miss(,true)"]
[endif]
[load id="stDown"]
;*extasy
;[eval exp="f.noExtacy=false"]
;
;[voice storage=a9129]
;[eval exp="mp.cnt=0"]
;
;[if exp="sprite.inverse"]
; [eval exp="mp.circle=bao.setObject(%['storage'=>'omorashi01','rootx'=>sprite.rootX+12,'rooty'=>sprite.rootY-4,'shadow'=>false,'absolute'=>50])"]
;[else]
; [eval exp="mp.circle=bao.setObject(%['storage'=>'omorashi01','rootx'=>sprite.rootX-12,'rooty'=>sprite.rootY-4,'shadow'=>false,'absolute'=>50])"]
;[endif]
;
;*loop
;[eval exp="mp.cnt++"]
;[disp left=3 top=1 opacity=255][hit rect="(10,7,104,34)" damagerate=2.5][wait frame=1]
;[disp left=2 top=1 opacity=255][hit rect="(10,7,104,34)" damagerate=2.5][wait frame=1]
;[jump target=*loop cond="mp.cnt<64"]
;
;[disp left=3 top=1 opacity=255][hit rect="(10,7,104,34)" damagerate=2.5][wait frame=6]
;[disp left=2 top=1 opacity=255][hit rect="(10,7,104,34)" damagerate=2.5][wait frame=6]
;[disp left=3 top=1 opacity=255][hit rect="(10,7,104,34)" damagerate=2.5][wait frame=6]
;[disp left=2 top=1 opacity=255][hit rect="(10,7,104,34)" damagerate=2.5][wait frame=6]
;
;*standup
;[eval exp="sprite.inExtasy=0"]
;[load id="stStandUp"]