88 lines
4.8 KiB
Common Lisp
88 lines
4.8 KiB
Common Lisp
*start
|
||
|
||
[eval exp="dm('■ e210_thrown1 ■')"]
|
||
|
||
[image storage="p04_thrown6"]
|
||
[dispsize width=90 height=96]
|
||
[state enablemove=false enableattack=false]
|
||
|
||
[ontrigger name=landing target=*landing1]
|
||
|
||
[move path="(85,0, 51)" xaccel=1 haccel=-1 frame=6]
|
||
[move path="(102,0,-51)" xaccel=-1 haccel=1 frame=6]
|
||
|
||
[disp left=0 top=0 opacity=255][wait frame=4]
|
||
[disp left=1 top=0 opacity=255][wait frame=4]
|
||
[disp left=1 top=0 opacity=255][wait frame=2]
|
||
[disp left=2 top=0 opacity=255]
|
||
|
||
; 落下する敵に、敵に対する攻撃力を付加
|
||
[effect storage='e020_thrown1_e' return='mp.e' kind='chiffon']
|
||
|
||
[s]
|
||
|
||
*landing1
|
||
[eval exp="mp.e.layer.trigger('end')" cond="mp.e!==void && isvalid mp.e"]
|
||
|
||
[playse storage=se211]
|
||
[quake frame=10 vmax=5]
|
||
[ontrigger name=landing target=*landing2]
|
||
|
||
[eval exp="sprite.HP-=getAttackStrength(60),sprite.damage.tick=bao.tickCount"]
|
||
;[if exp="sprite.HP>0"]
|
||
; [playse storage="c9103"]
|
||
;[else]
|
||
; [playse storage="c9104"]
|
||
;[endif]
|
||
|
||
[image storage="p04_damage2_3"]
|
||
[dispsize width=124 height=42 baseline=4]
|
||
|
||
[move path=(17,0,17) haccel=-1 frame=5]
|
||
[move path=(17,0,-17) haccel=1 frame=5]
|
||
[disp left=0 top=1 opacity=255][hit rect="(2,37,120,38)"][wait frame=5]
|
||
[disp left=0 top=3 opacity=255][hit rect="(2,37,120,38)"]
|
||
[s]
|
||
|
||
*landing2
|
||
[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][hit rect="(10,41,114,42)"][wait frame=5]
|
||
[disp left=0 top=2 opacity=255][hit rect="(10,41,114,42)"][wait frame=5]
|
||
[disp left=0 top=3 opacity=255][hit rect="(10,41,114,42)"]
|
||
[s]
|
||
|
||
*landing3
|
||
|
||
[if exp="sprite.HP > 0"]
|
||
[wait frame=15]
|
||
[load id="stStandUp"]
|
||
[endif]
|
||
|
||
[wait frame=20]
|
||
[del]
|
||
[eval exp="sf.enemyKillCount++"]
|
||
[jump target=*erase cond="f.inBattleMode"]
|
||
[s]
|
||
|
||
*erase
|
||
[eval exp="sprite.isBoss = false"]
|
||
|
||
[disp left=0 top=3 opacity=235][wait frame=3]
|
||
[disp left=0 top=3 opacity=215][wait frame=3]
|
||
[disp left=0 top=3 opacity=195][wait frame=3]
|
||
[disp left=0 top=3 opacity=175][wait frame=3]
|
||
[disp left=0 top=3 opacity=155][wait frame=3]
|
||
[disp left=0 top=3 opacity=135][wait frame=3]
|
||
[disp left=0 top=3 opacity=115][wait frame=3]
|
||
[disp left=0 top=3 opacity= 95][wait frame=3]
|
||
[disp left=0 top=3 opacity= 75][wait frame=3]
|
||
[disp left=0 top=3 opacity= 55][wait frame=3]
|
||
[disp left=0 top=3 opacity= 35][wait frame=3]
|
||
[disp left=0 top=3 opacity= 15][wait frame=3]
|
||
[disp left=0 top=3 opacity= 0][wait frame=3]
|
||
|
||
[s]
|
||
|