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

201 lines
11 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 nogravity=true]
[eval exp="sprite.altitude+=13"]
[dispsize width=96 height=128 centerpos=67 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=1]
[move path='(0,8,0)' frame=2]
[move path='(-20,0,0)' frame=3]
[move path='(0,-12,0)' frame=3]
[move path='(20,0,0)' frame=3]
;[dispsize width=96 height=128 centerpos=67 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=2]
[dispsize width=96 height=128 centerpos=41 baseline=0]
[disp left=1 top=0 opacity=255][wait frame=3]
[dispsize width=96 height=128 centerpos=15 baseline=0]
[disp left=2 top=0 opacity=255][wait frame=3]
[dispsize width=96 height=128 centerpos=41 baseline=0]
[disp left=3 top=0 opacity=255][wait frame=3]
[move path='(0,12,0)' frame=3]
[move path='(-20,0,0)' frame=3]
[move path='(0,-12,0)' frame=3]
[move path='(20,0,0)' frame=3]
[dispsize width=96 height=128 centerpos=67 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=3]
[dispsize width=96 height=128 centerpos=41 baseline=0]
[disp left=1 top=0 opacity=255][wait frame=3]
[dispsize width=96 height=128 centerpos=15 baseline=0]
[disp left=2 top=0 opacity=255][wait frame=3]
[dispsize width=96 height=128 centerpos=41 baseline=0]
[disp left=3 top=0 opacity=255][wait frame=3]
[move path='(0,12,0)' frame=2]
[move path='(-20,0,0)' frame=2]
[move path='(0,-12,0)' frame=2]
[move path='(20,0,0)' frame=2]
[dispsize width=96 height=128 centerpos=67 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=2]
[dispsize width=96 height=128 centerpos=41 baseline=0]
[disp left=1 top=0 opacity=255][wait frame=2]
[dispsize width=96 height=128 centerpos=15 baseline=0]
[disp left=2 top=0 opacity=255][wait frame=2]
[dispsize width=96 height=128 centerpos=41 baseline=0]
[disp left=3 top=0 opacity=255][wait frame=2]
[move path='(0,12,0)' frame=2]
[move path='(-20,0,0)' frame=2]
[move path='(0,-12,0)' frame=2]
[move path='(20,0,0)' frame=2]
[dispsize width=96 height=128 centerpos=67 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=2]
[dispsize width=96 height=128 centerpos=41 baseline=0]
[disp left=1 top=0 opacity=255][wait frame=2]
[dispsize width=96 height=128 centerpos=15 baseline=0]
[disp left=2 top=0 opacity=255][wait frame=2]
[dispsize width=96 height=128 centerpos=41 baseline=0]
[disp left=3 top=0 opacity=255][wait frame=2]
[move path='(0,12,0)' frame=2]
[move path='(-20,0,0)' frame=2]
[move path='(0,-12,0)' frame=2]
[move path='(20,0,0)' frame=2]
[dispsize width=96 height=128 centerpos=67 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=2]
[dispsize width=96 height=128 centerpos=41 baseline=0]
[disp left=1 top=0 opacity=255][wait frame=2]
[dispsize width=96 height=128 centerpos=15 baseline=0]
[disp left=2 top=0 opacity=255][wait frame=2]
[dispsize width=96 height=128 centerpos=41 baseline=0]
[disp left=3 top=0 opacity=255][wait frame=2]
[state enablemove=false enableAttack=false nogravity=true]
[move path="(-50,0,300)" xaccel=1 haccel=-1 frame=20]
[image id=stThrown2 num=1]
[dispsize width=100 height=126 centerpos=50 baseline=0]
[disp left=0 top=0 opacity=255][wait frame=2]
; くるくる廻りながら上昇
[image id=stThrown2 num=2]
[dispsize width=158 height=90 centerpos=79 baseline=-20]
[disp left=0 top=0 opacity=255]
;[wait frame=18]
[eval exp="mp.count=0"]
*loop_rise
[call target=*flip]
[eval exp="mp.count++"]
[jump target=*loop_rise cond="mp.count<18"]
; 下降
[ontrigger name=landing target=*landing1]
[image id=stThrown4]
[dispsize width=130 height=126]
[state enablemove=false enableAttack=false nogravity=false]
[move path="(-50,0,-300)" xaccel=-1 haccel=1 frame=20]
[disp left=2 top=0 opacity=255]
; 落下する敵に、敵に対する攻撃力を付加
[effect storage='e010_thrown6_e' return='mp.e' kind='chocolat']
[eval exp="mp.count=0"]
*loop_fall
[call target=*flip]
[eval exp="mp.count++"]
[jump target=*loop_fall]
*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(220),sprite.damage.tick=bao.tickCount"]
[image id=stDamage2 num=2]
[dispsize width=158 height=54]
[move path=(-17,0,17) haccel=-1 frame=5][wait frame=5]
[disp left=0 top=1 opacity=255][hit rect="(17,53,145,54)"]
[move path=(-17,0,-17) haccel=1 frame=5]
[disp left=0 top=0 opacity=255][hit rect="(17,53,145,54)"]
[s]
*landing2
[ontrigger name=landing target=*landing3]
[disp left=0 top=1 opacity=255][hit rect="(17,53,145,54)"]
[move path=(-4,0,5) haccel=-1 frame=5][wait frame=5]
[disp left=0 top=0 opacity=255][hit rect="(17,53,145,54)"]
[move path=(-4,0,-5) haccel=1 frame=5]
[s]
*landing3
[if exp="sprite.HP > 0"]
[wait frame=15]
[load id="stStandUp"]
[endif]
[wait frame=20]
[eval exp="sf.enemyKillCount++"]
[del]
[load id=stDown]
;[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]
*flip
[if exp="sprite.altitude<256"]
; [eval exp="sprite.inverse=!sprite.inverse"]
[eval exp="layer.execInverse()"]
[endif]
[wait frame=1]
[return]