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

58 lines
2.8 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
; 触手を消去
[if exp="!f.inBattleMode"]
[eval exp="tf.ctrl.layer.trigger('disappear')"]
[else]
[eval exp="mp.ctrl.layer.trigger('disappear')"]
[endif]
[image id=stStanding]
[dispsize width=62 height=110 centerpos=31 baseline=0]
[state enablemove=false enableAttack=false]
[disp left=0 top=0 opacity=255]
[playse storage="se008"]
[eval exp = "layer.dOpacity2=-20"]
[wait frame=20]
;[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]
[iscript]
{
do{
mp.x = intrandom(80, bao.internalWidth-80);
mp.y = intrandom(sprite.movableRect.top+5, sprite.movableRect.bottom-5);
}while(sprite.getAltitude(mp.x, mp.y) > 0);
sprite.rootX = mp.x;
sprite.rootY = mp.y;
sprite.altitude = 40;
}
[endscript]
[wait frame=15]
; 触手を表示
[if exp="!f.inBattleMode"]
[eval exp="tf.ctrl.layer.trigger('appear')"]
[else]
[eval exp="mp.ctrl.layer.trigger('appear')"]
[endif]
;[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]