108 lines
4.9 KiB
Common Lisp
108 lines
4.9 KiB
Common Lisp
*start
|
||
|
||
;[eval exp="dm(bao.tickCount + ' base' + mp.num + ' -base-')"]
|
||
|
||
*appear
|
||
[state enablemove=false enableAttack=false ignoremovablerect=true]
|
||
[dispsize width=48 height=24 centerpos=24 baseline=7]
|
||
|
||
;[ontrigger name=disappear target=*disappear]
|
||
;[ontrigger name=delete target=*delete]
|
||
|
||
[eval exp="mp.alive = true"]
|
||
[eval exp="mp.inAttack = false"]
|
||
[eval exp="sprite.followParent = true"]
|
||
|
||
[disp left=0 top=0 opacity=255][wait frame=2]
|
||
[disp left=1 top=0 opacity=255][wait frame=2]
|
||
[disp left=2 top=0 opacity=255][wait frame=2]
|
||
[disp left=3 top=0 opacity=255][wait frame=2]
|
||
[disp left=4 top=0 opacity=255][wait frame=2]
|
||
[disp left=5 top=0 opacity=255][wait frame=2]
|
||
[disp left=6 top=0 opacity=255][wait frame=2]
|
||
|
||
|
||
*start2
|
||
|
||
[state enablemove=false enableAttack=false ignoremovablerect=true]
|
||
[dispsize width=48 height=24 centerpos=24 baseline=7]
|
||
[eval exp="mp.alive = true"]
|
||
[eval exp="mp.inAttack = false"]
|
||
[eval exp="sprite.followParent = true"]
|
||
|
||
|
||
*loop
|
||
|
||
[if exp="sprite.tentacle.isDead"]
|
||
[load id=stEscape]
|
||
[endif]
|
||
|
||
[wait frame=&'intrandom(20,90)']
|
||
[disp left=5 top=0 opacity=255][wait frame=2]
|
||
[disp left=4 top=0 opacity=255][wait frame=3]
|
||
[disp left=5 top=0 opacity=255][wait frame=2]
|
||
[disp left=6 top=0 opacity=255]
|
||
|
||
[jump target=*loop]
|
||
|
||
|
||
|
||
*wait
|
||
[ontrigger name=appear target=*appear]
|
||
;[s]
|
||
*wait_loop
|
||
[wait frame=1]
|
||
[if exp="sprite.beizel.HP<=0"]
|
||
;[eval exp="dm(bao.tickCount + ' base' + mp.num + ' -delete-')"]
|
||
[del]
|
||
[s]
|
||
[endif]
|
||
[jump target=*wait_loop]
|
||
|
||
|
||
|
||
;*disappear
|
||
;
|
||
;[eval exp="dm('-disappear-')"]
|
||
;[ontrigger name=appear target=*appear]
|
||
;[eval exp="mp.alive = false"]
|
||
;[eval exp="sprite.stop = false"]
|
||
;
|
||
;[disp left=5 top=0 opacity=255][wait frame=2]
|
||
;[disp left=4 top=0 opacity=255][wait frame=2]
|
||
;[disp left=3 top=0 opacity=255][wait frame=2]
|
||
;[disp left=2 top=0 opacity=255][wait frame=2]
|
||
;[disp left=1 top=0 opacity=255][wait frame=2]
|
||
;[disp left=0 top=0 opacity=255][wait frame=2]
|
||
;[disp left=0 top=0 opacity=0]
|
||
;
|
||
;
|
||
;[s]
|
||
;
|
||
;
|
||
;
|
||
;
|
||
;*delete
|
||
;
|
||
;[eval exp="mp.alive = false"]
|
||
;[disp left=5 top=0 opacity=255][wait frame=2]
|
||
;[disp left=4 top=0 opacity=255][wait frame=2]
|
||
;[disp left=3 top=0 opacity=255][wait frame=2]
|
||
;[disp left=2 top=0 opacity=255][wait frame=2]
|
||
;[disp left=1 top=0 opacity=255][wait frame=2]
|
||
;[disp left=0 top=0 opacity=255][wait frame=2]
|
||
;[disp left=0 top=0 opacity=0]
|
||
;
|
||
;[del]
|
||
;[s]
|
||
;
|
||
;
|
||
;
|
||
;*attack1
|
||
;
|
||
;[eval exp="mp.inAttack = true"]
|
||
;
|
||
;
|
||
;
|
||
;
|
||
;
|