112 lines
6.6 KiB
Common Lisp
112 lines
6.6 KiB
Common Lisp
*start
|
||
|
||
|
||
[state enablemove=false enableAttack=false nogravity=true]
|
||
|
||
|
||
[adjustX d=12]
|
||
[image num=1]
|
||
[dispsize width=72 height=94 centerpos=36 baseline=0]
|
||
[disp left=0 top=0 opacity=255][wait frame=3]
|
||
|
||
[move path="(-18,0,5)" xaccel=-1 haccel=-1 frame=3]
|
||
|
||
[image num=2]
|
||
[dispsize width=104 height=44 centerpos=52 baseline=-32]
|
||
[disp left=0 top=0 opacity=255][wait frame=3]
|
||
|
||
[state enablemove=false enableAttack=false nogravity=false]
|
||
[move path="(-70,0,140)" xaccel=1 haccel=-1 frame=8]
|
||
[move path="(-70,0,-140)" xaccel=-1 haccel=1 frame=9]
|
||
|
||
[disp left=0 top=0 opacity=255][wait frame=3]
|
||
|
||
[ontrigger name=landing target=*landing]
|
||
|
||
[image num=1]
|
||
[dispsize width=72 height=94 centerpos=36 baseline=-7]
|
||
[disp left=1 top=0 opacity=255][wait frame=3]
|
||
[dispsize width=72 height=94 centerpos=36 baseline=0]
|
||
[disp left=2 top=0 opacity=255][wait frame=4]
|
||
|
||
; 落下する敵に、敵に対する攻撃力を付加
|
||
[effect storage='e010_thrown2_e' return='mp.e' kind='chiffon']
|
||
|
||
[image num=2]
|
||
[dispsize width=104 height=44 centerpos=52 baseline=-19]
|
||
[disp left=0 top=1 opacity=255][wait frame=5]
|
||
|
||
[s]
|
||
|
||
*landing
|
||
[eval exp="mp.e.layer.trigger('end')" cond="mp.e!==void && isvalid mp.e"]
|
||
|
||
[playse storage=se211]
|
||
[eval exp="sprite.HP-=getAttackStrength(70),sprite.damage.tick=bao.tickCount"]
|
||
|
||
|
||
[image num=3]
|
||
[dispsize width=112 height=32 centerpos=56 baseline=0]
|
||
|
||
[move path=(-8,0,17) haccel=-1 frame=5]
|
||
[move path=(-8,0,-17) haccel=1 frame=5]
|
||
|
||
[disp left=0 top=0 opacity=255][wait frame=4]
|
||
[disp left=0 top=1 opacity=255][wait frame=4]
|
||
[disp left=0 top=0 opacity=255][wait frame=2]
|
||
|
||
[move path=(-2,0,5) haccel=-1 frame=5]
|
||
[move path=(-2,0,-5) haccel=1 frame=5]
|
||
|
||
[disp left=0 top=0 opacity=255][hit rect="(10,31,102,32)"][wait frame=2]
|
||
[disp left=0 top=2 opacity=255][hit rect="(10,31,102,32)"][wait frame=4]
|
||
[disp left=0 top=0 opacity=255][hit rect="(10,31,102,32)"][wait frame=2]
|
||
|
||
[if exp="sprite.HP > 0"]
|
||
[wait frame=15]
|
||
[eval exp="sprite.inverse = layer.inverse = !sprite.inverse"]
|
||
; [load id="stStandUp" label=*start2]
|
||
|
||
[image id=stStandUp num=1]
|
||
[dispsize width=96 height=48 centerpos=48 baseline=2]
|
||
[disp left=0 top=1 opacity=255][wait frame=9]
|
||
[disp left=0 top=2 opacity=255][wait frame=7]
|
||
|
||
[image id=stStandUp num=2]
|
||
[dispsize width=64 height=76 centerpos=21 baseline=0]
|
||
[disp left=0 top=0 opacity=255][wait frame=7]
|
||
|
||
[eval exp="sprite.inverse = !sprite.inverse"]
|
||
[eval exp="layer.inverse = !layer.inverse"]
|
||
|
||
[image id=stStanding]
|
||
|
||
[dispsize width=54 height=90 centerpos=27 baseline=0]
|
||
[disp left=1 top=0 opacity=255][wait frame=4]
|
||
|
||
[adjustX d=8]
|
||
[eval exp="sprite.invincibleCount=10"]
|
||
[load id=stStanding]
|
||
[endif]
|
||
|
||
[wait frame=20]
|
||
[eval exp="sf.enemyKillCount++"]
|
||
[del]
|
||
|
||
[disp left=0 top=0 opacity=235][wait frame=3]
|
||
[disp left=0 top=0 opacity=215][wait frame=3]
|
||
[disp left=0 top=0 opacity=195][wait frame=3]
|
||
[disp left=0 top=0 opacity=175][wait frame=3]
|
||
[disp left=0 top=0 opacity=155][wait frame=3]
|
||
[disp left=0 top=0 opacity=135][wait frame=3]
|
||
[disp left=0 top=0 opacity=115][wait frame=3]
|
||
[disp left=0 top=0 opacity= 95][wait frame=3]
|
||
[disp left=0 top=0 opacity= 75][wait frame=3]
|
||
[disp left=0 top=0 opacity= 55][wait frame=3]
|
||
[disp left=0 top=0 opacity= 35][wait frame=3]
|
||
[disp left=0 top=0 opacity= 15][wait frame=3]
|
||
[disp left=0 top=0 opacity= 0][wait frame=3]
|
||
|
||
[s]
|
||
|
||
|