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

47 lines
2.5 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
;[dispsize width=72 height=63 centerpos=36 baseline=0]
[dispsize width=36 height=62 centerpos=18 baseline=0]
[state enablemove=false enableAttack=false nogravity=true inversemode=false]
[disp left=0 top=0 opacity=0]
[wait frame=1]
[eval exp="sprite.onGround=false"]
[if exp="sprite.scrollLock"]
[eval exp="bao.stageLayer.scrollLockCount++"]
[endif]
[eval exp="mp.tmp=intrandom(0,30)"]
[wait frame=&mp.tmp]
[disp left=0 top=0 opacity= 15][wait frame=2]
[disp left=0 top=0 opacity= 55][wait frame=2]
[disp left=0 top=0 opacity= 95][wait frame=2]
[disp left=0 top=0 opacity=135][wait frame=2]
[disp left=0 top=0 opacity=175][wait frame=2]
[disp left=0 top=0 opacity=215][wait frame=2]
[if exp="sprite.scrollLock"]
[eval exp="bao.stageLayer.scrollLockCount--"]
[endif]
[playse storage=se218 buf=1]
[state enablemove=false enableAttack=false nogravity=false]
[ontrigger name=landing target=*landing]
*loop
[disp left=0 top=0 opacity=255][attack rect="(3,6,33,60)" strength=80 kind=atkHold depth=(12,12)]
[if exp="sf.difficulty>=4"]
[hit rect="(3,6,33,60)" damagerate=3]
[elsif exp="sf.difficulty==3"]
[hit rect="(3,6,33,60)" damagerate=2]
[else]
[hit rect="(3,6,33,60)"]
[endif]
[s]
*landing
[load id="stLanding"]