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

297 lines
20 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
[state enablemove=false enableattack=false]
[eval exp="sprite.attackToPlayer=false"]
[eval exp="sprite.deleteExp='sprite.parentSprite.nowSpriteId!=stSpecial2'"]
[eval exp="sprite.floorObjectCollision = true"]
;[eval exp="mp.storage=bao.player.sprites[stSpecial2][bao.player.cosState]+'_1'"][call target=*getStorage]
[wait frame=1]
[eval exp="mp.parent=sprite.parentSprite"]
[eval exp="sprite.movableRect = new Rect2(mp.parent.movableRect)"]
[eval exp="sprite.followParent=false"]
[eval exp="sprite.ignoreFollowX=true"]
[eval exp="sprite.ignoreFollowY=true"]
[eval exp="sprite.ignoreFollowH=true"]
[eval exp="sprite.ignoreScroll=false"]
;小パンチ2発
[eval exp="mp.storage=mp.parent.sprites[stAttack1][mp.parent.cosState]"][call target=*getStorage]
[image storage=&mp.storage]
[disp left=0 top=0 opacity=0]
[wait frame=&(mp.wait-1)]
[eval exp="layer.opacity2=mp.opacity"]
[dispsize width=92 height=114 centerpos=71 shadowoffset=12]
[state enablemove=false enableattack=false]
[move path=(50,0,0) xaccel=-1 frame=12]
[disp left= 0 top=0][wait frame=2]
;[eval exp="mp.tag='[eval exp=\'tag_move(%[\'path\'=>\'(-20,0,0)\',\'xaccel\'=>-1,\'add\'=>true,\'dmode\'=>false,\'frame\'=>4])\']'"]
[eval exp="mp.exp='sprite.movingTable=[],layer.tag_move(%[\'path\'=>\'(-50,0,0)\',\'xaccel\'=>-1,\'add\'=>true,\'dmode\'=>false,\'frame\'=>3])'"]
[eval exp="mp.cond='sprite.nowSpriteId!==stDamage2 && getDistance(sprite,sprite.targetPlayer)<256'"]
;[eval exp="mp.elm=%['exp'=>mp.exp,'expcond'=>mp.cond]"]
;[eval exp="dm('■■ ' + mp.elm.exp + ' / ' + mp.elm.expcond)"]
;[effect storage="p00_special2_e1" xoffset=71 hoffset=71 aoffset=-1 soon=true]
[disp left=0 top=0 opacity=255][wait frame=2]
[disp left=1 top=0 opacity=255][wait frame=1]
[disp left=2 top=0 opacity=255][wait frame=3]
;[effect storage="p00_special2_e1" xoffset=71 hoffset=71 aoffset=-1 soon=true]
[disp left=0 top=0 opacity=255][wait frame=2]
[disp left=1 top=0 opacity=255][wait frame=1]
[disp left=2 top=0 opacity=255][wait frame=3]
[move path=(30,0,0) xaccel=-1 frame=8]
;大パンチ
[eval exp="mp.storage=mp.parent.sprites[stAttack2][mp.parent.cosState]+'_2'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=98 height=112 centerpos=75 baseline=0 shadowoffset=13]
[eval exp="sprite.shadowStorage='shadow102'"]
;[effect storage="p00_special2_e2" xoffset=60 hoffset=60]
[disp left=0 top=0 opacity=255][wait frame=2]
[disp left=1 top=0 opacity=255][wait frame=4]
[disp left=3 top=0 opacity=255][wait frame=2]
;小パンチ
[eval exp="mp.storage=mp.parent.sprites[stAttack1][mp.parent.cosState]"][call target=*getStorage]
[image storage=&mp.storage]
;[effect storage="p00_special2_e1" xoffset=71 hoffset=71 aoffset=-1 soon=true]
[dispsize width=92 height=114 centerpos=71 shadowoffset=12]
[disp left=0 top=0 opacity=255][wait frame=2]
[disp left=1 top=0 opacity=255][wait frame=1]
[disp left=2 top=0 opacity=255][wait frame=3]
[move path=(40,0,0) xaccel=-1 frame=20]
;ハイキック
;[effect storage="p00_special2_e3" xoffset=64 hoffset=50]
[eval exp="mp.storage=mp.parent.sprites[stAttack3][mp.parent.cosState]+'_1'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=80 height=116 centerpos=47 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=2]
[eval exp="mp.storage=mp.parent.sprites[stAttack3][mp.parent.cosState]+'_2'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=116 height=114 centerpos=87 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=3]
[disp left=1 top=0 opacity=255][wait frame=2]
[eval exp="mp.storage=mp.parent.sprites[stAttack3][mp.parent.cosState]+'_1'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=80 height=116 centerpos=47 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=2]
[disp left=1 top=0 opacity=255][wait frame=1]
[eval exp="mp.exp='sprite.movingTable=[],layer.tag_move(%[\'path\'=>\'(-30,0,0)\',\'xaccel\'=>-1,\'add\'=>true,\'dmode\'=>false,\'frame\'=>3])'"]
;ローキック
;[effect storage='p00_special2_e4' xoffset=50 yoffset=-10 hoffset=0]
[eval exp="mp.storage=mp.parent.sprites[stAttack7][mp.parent.cosState]+'_2'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=106 height=88 centerpos=82 baseline=5]
[disp left=0 top=0 opacity=255][wait frame=1]
[disp left=1 top=0 opacity=255][wait frame=2]
[disp left=2 top=0 opacity=255][wait frame=1]
;ソバット
;[effect storage='whirlwind01b' altitude=0 xoffset=10 aoffset=-1 type=ltPsColorDodge5]
;[move path="(35,0,20)" hAccel=-1 frame=5]
;[move path="(0,0,-40)" hAccel=1 frame=2]
[eval exp="mp.storage=mp.parent.sprites[stAttack4][mp.parent.cosState]+'_1'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=58 height=118 centerpos=42 baseline=0]
[disp left=2 top=0 opacity=255][wait frame=2]
;[effect storage="p00_special2_e5" xoffset=50 hoffset=50]
[state enablemove=false enableattack=false nogravity=true]
[eval exp="sprite.altitude+=5"]
[eval exp="mp.storage=mp.parent.sprites[stAttack4][mp.parent.cosState]+'_2'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=104 height=124 centerpos=87 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=3]
[eval exp="sprite.altitude+=20"]
[adjustX d=-10]
[eval exp="mp.storage=mp.parent.sprites[stLanding2][mp.parent.cosState]+'_1'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=66 height=110 centerpos=40 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=2]
[move path="(40,0,-10)" xAccel=-1 hAccel=1 frame=7]
;ダッシュ技
;[effect storage='whirlwind01b' altitude=0 xoffset=10 aoffset=-1 type=ltPsColorDodge5]
[eval exp="mp.storage=mp.parent.sprites[stDashAttack][mp.parent.cosState]+'_1'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=84 height=112 centerpos=39 baseline=0]
[disp left=1 top=0 opacity=255][wait frame=2]
;[effect storage="p00_special2_e6" xoffset=50 hoffset=40]
[eval exp="mp.storage=mp.parent.sprites[stDashAttack][mp.parent.cosState]+'_2'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=114 height=98 centerpos=64 baseline=-2]
[disp left=0 top=0 opacity=255][wait frame=3]
[disp left=1 top=0 opacity=255][wait frame=2]
;サマソ
;[effect storage='whirlwind01b' altitude=0 xoffset=10 aoffset=-1 type=ltPsColorDodge5]
[eval exp="mp.storage=mp.parent.sprites[stSpecial1][mp.parent.cosState]+'_1'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=58 height=114 centerpos=34 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=3]
;[effect storage="p00_special2_e7" xoffset=30 hoffset=65]
[move path=(20,0,0) xaccel=-1 haccel=0 frame=4]
;[move path=(0,0,10) haccel=-1 frame=3]
[eval exp="sprite.altitude+=3"]
[eval exp="mp.storage=mp.parent.sprites[stSpecial1][mp.parent.cosState]+'_2'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=104 height=104 centerpos=44 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=2]
[eval exp="sprite.altitude+=17"]
[dispsize width=104 height=104 centerpos=48 baseline=0]
[disp left=1 top=0 opacity=255][wait frame=2]
[move path=(-20,0,-10) xaccel=-1 haccel=1 frame=3]
[state enablemove=false enableAttack=false nogravity=false]
[eval exp="sprite.altitude+=2"]
[eval exp="mp.storage=mp.parent.sprites[stSpecial1][mp.parent.cosState]+'_4'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=82 height=84 centerpos=24 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=1]
[eval exp="sprite.altitude+=8"]
[eval exp="mp.storage=mp.parent.sprites[stSpecial1][mp.parent.cosState]+'_5'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=70 height=70 centerpos=35 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=1]
[eval exp="mp.storage=mp.parent.sprites[stLanding2][mp.parent.cosState]+'_1'"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=60 height=110 centerpos=40 baseline=0]
[disp left=0 top=0 opacity=255]
[eval exp="mp.storage=mp.parent.sprites[stSpecial3][mp.parent.cosState]"][call target=*getStorage]
[image storage=&mp.storage]
[dispsize width=96 height=110 centerpos=48 baseline=0]
[move path='(20,0,0)' frame=7]
;[effect storage="p00_special2_e8" xoffset=0 hoffset=50]
[disp left=0 top=0 opacity=255][wait frame=3]
[disp left=1 top=0 opacity=255][wait frame=4]
[adjustX d=-52]
[move path='(120,0,0)' xaccel=0 frame=8]
;[effect storage="p00_special2_e9" xoffset=50 hoffset=68]
;
[disp left=2 top=0 opacity=255][wait frame=1]
[disp left=2 top=0 opacity=255][wait frame=1]
[disp left=2 top=0 opacity=255][wait frame=1]
[disp left=2 top=0 opacity=255][wait frame=1]
[disp left=2 top=0 opacity=255][wait frame=1]
[disp left=2 top=0 opacity=255][wait frame=1]
[disp left=2 top=0 opacity=255][wait frame=1]
;[state enablemove=false enableAttack=false enablecommand=true]
[move path='(80,0,0)' xaccel=-1 frame=10]
[disp left=3 top=0 opacity=255][wait frame=1]
[disp left=3 top=0 opacity=255][wait frame=1]
[disp left=3 top=0 opacity=255][wait frame=1]
[disp left=3 top=0 opacity=255][wait frame=1]
[disp left=4 top=0 opacity=255][wait frame=1][call target=*pos]
[disp left=4 top=0 opacity=128][wait frame=1][call target=*pos]
[disp left=4 top=0 opacity=64 ][wait frame=1][call target=*pos]
[disp left=4 top=0 opacity=255][wait frame=1][call target=*pos]
[disp left=4 top=0 opacity=128][wait frame=1][call target=*pos]
[disp left=4 top=0 opacity=64 ][wait frame=1][call target=*pos]
[del]
[s]
*pos
[eval exp="sprite.rootX+=(mp.parent.rootX-sprite.rootX)/2"]
[eval exp="sprite.rootY+=(mp.parent.rootY-sprite.rootY)/2"]
[eval exp="sprite.altitude+=(mp.parent.altitude-sprite.altitude)/2"]
[return]
*getStorage
[iscript]
{
if(mp.parent.cosState == 4){
var s1 = mp.storage.substring(0, 2);
var s2 = mp.storage.substring(3);
mp.storage = s1 + string(sf.adjCosVariation) + s2;
}
}
[endscript]
[return]