29 lines
1.8 KiB
Common Lisp
29 lines
1.8 KiB
Common Lisp
*start
|
||
|
||
[eval exp = "layer.dOpacity2=20" cond="layer.opacity2<100"]
|
||
[eval exp="mp.damage2=0"]
|
||
|
||
[dispsize width=62 height=110 centerpos=31 baseline=0]
|
||
[state enablemove=true enableattack=true]
|
||
|
||
|
||
|
||
*loop
|
||
|
||
[disp left=0 top=0 opacity=255][hit rect="(7,2,55,108)"][wait frame=5][call target=*check]
|
||
[disp left=1 top=0 opacity=255][hit rect="(7,2,55,108)"][wait frame=5]
|
||
[disp left=2 top=0 opacity=255][hit rect="(7,2,55,108)"][wait frame=5][call target=*check]
|
||
[disp left=3 top=0 opacity=255][hit rect="(7,2,55,108)"][wait frame=5]
|
||
[disp left=2 top=0 opacity=255][hit rect="(7,2,55,108)"][wait frame=5][call target=*check]
|
||
[disp left=1 top=0 opacity=255][hit rect="(7,2,55,108)"][wait frame=5]
|
||
|
||
[jump target=*loop]
|
||
|
||
*check
|
||
|
||
[if exp="bao.stageLayer.dispLeft + bao.internalWidth == bao.stageLayer.scrollLimit && sprite.rootX > bao.internalWidth + 50"]
|
||
[load id=stEscape]
|
||
[endif]
|
||
[return]
|
||
|
||
|