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

56 lines
2.3 KiB
Common Lisp
Raw 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
[playse storage=se204]
[jump target=*start2 cond="sprite.cosState>=2"]
;[eval exp="dm('e030_holding2 1')"]
[image id="stHolding" num=1]
[dispsize width=66 height=100 centerpos=33 baseline=0]
[state enablemove=false enableAttack=false]
[ontrigger name=landing target=*landing]
[move path=(0,0,-40) hAccel=1 frame=2]
[disp left=2 top=0 opacity=255][hit rect="(4,15,97,87)"]
[wait frame=1]
[disp left=2 top=0 opacity=255][hit rect="(4,15,97,87)"]
;[s]
*loop
[eval exp="sprite.rootX += (sprite.targetPlayer.rootX - sprite.rootX) / 2"]
[wait frame=1]
[if exp="sprite.altitude>0"]
[jump target=*loop]
[endif]
*landing
[disp left=2 top=0 opacity=255][hit rect="(4,15,97,87)"]
[eval exp="sprite.rootX = sprite.targetPlayer.rootX"]
[eval exp="sprite.clinch()"]
[load id="stStanding"]
*start2
;[eval exp="dm('e030_holding2 2')"]
[image id=stHolding]
[dispsize width=94 height=112 centerpos=47 baseline=0]
[state enablemove=false enableAttack=false]
[disp left=3 top=0 opacity=255][hit rect="(26,9,86,104)"][wait frame=3]
[eval exp="sprite.clinch()"]
[load id="stStanding"]