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

49 lines
1.1 KiB
Common Lisp

*start
[image id=stStanding]
[dispsize width=72 height=136 centerpos=36 baseline=0]
[state enablemove=false enableAttack=false]
[playse storage="se008"]
[eval exp = "layer.dOpacity2=-20"]
[wait frame=10]
;[disp left=0 top=0 opacity=200][wait frame=2]
;[disp left=0 top=0 opacity=150][wait frame=2]
;[disp left=0 top=0 opacity=100][wait frame=2]
;[disp left=0 top=0 opacity=50 ][wait frame=2]
;[disp left=0 top=0 opacity=0 ][wait frame=2]
[jump *resume cond="tf.nowRevive"]
[iscript]
{
do{
mp.x = intrandom(0, bao.internalWidth);
mp.y = intrandom(sprite.movableRect.top, sprite.movableRect.bottom);
}while(sprite.getAltitude(mp.x, mp.y) > 0);
sprite.rootX = mp.x;
sprite.rootY = mp.y;
}
[endscript]
[jump *resume cond="tf.nowRevive"]
[wait frame=10]
;[disp left=0 top=0 opacity=0 ][wait frame=2]
;[disp left=0 top=0 opacity=50 ][wait frame=2]
;[disp left=0 top=0 opacity=100][wait frame=2]
;[disp left=0 top=0 opacity=150][wait frame=2]
;[disp left=0 top=0 opacity=200][wait frame=2]
[eval exp = "layer.dOpacity2=20"]
[wait frame=10]
[load id=stStanding]
*resume
[eval exp = "layer.dOpacity2=30"]
[load id=stStanding]