126 lines
6.6 KiB
Common Lisp
126 lines
6.6 KiB
Common Lisp
*start
|
||
|
||
|
||
[if exp="sprite.inverse"]
|
||
[eval exp="sprite.rootX = sprite.targetPlayer.rootX + sprite.centerPos"]
|
||
[else]
|
||
[eval exp="sprite.rootX = sprite.targetPlayer.rootX - layer.asdWidth + sprite.centerPos"]
|
||
[endif]
|
||
|
||
|
||
|
||
[image storage="p04_clinched4"]
|
||
[dispsize width=50 height=112 centerpos=25]
|
||
[state enablemove=false enableattack=false]
|
||
|
||
[disp left= 0 top=0 opacity=255][wait frame=10]
|
||
|
||
|
||
[image storage="p04_thrown9"]
|
||
[dispsize width=96 height=102]
|
||
[state enablemove=false enableattack=false]
|
||
|
||
[ontrigger name=landing target=*landing1]
|
||
[disp left=0 top=0 opacity=255][wait frame=1]
|
||
|
||
[move path="(-10,0, 60)" xaccel=0 haccel=-1 frame=4]
|
||
|
||
[disp left=0 top=0 opacity=255][wait frame=4]
|
||
|
||
[move path="(-50,0,15)" xaccel=1 haccel=-1 frame=3]
|
||
[move path="(-5,0,-15)" xaccel=-1 haccel=1 frame=3]
|
||
[disp left=1 top=0 opacity=255][wait frame=5]
|
||
|
||
[if exp="sprite.inverse"]
|
||
[eval exp="sprite.rootX = sprite.targetPlayer.rootX - 11"]
|
||
[else]
|
||
[eval exp="sprite.rootX = sprite.targetPlayer.rootX + 11"]
|
||
[endif]
|
||
|
||
[eval exp="sprite.altitude-=10"]
|
||
[move path="(0,0,-60)" xaccel=0 haccel=1 frame=3]
|
||
[disp left=2 top=0 opacity=255]
|
||
|
||
[s]
|
||
|
||
*landing1
|
||
[playse storage=se211]
|
||
[quake frame=10 vmax=8]
|
||
[ontrigger name=landing target=*landing2]
|
||
|
||
[eval exp="sprite.HP-=getAttackStrength(85),sprite.damage.tick=bao.tickCount"]
|
||
[disp left=2 top=0 opacity=255]
|
||
[wait frame=9]
|
||
|
||
[move path=(-34,0,17) haccel=-1 frame=5]
|
||
[move path=(-34,0,-17) haccel=1 frame=5]
|
||
|
||
|
||
|
||
[adjustX d=40]
|
||
[image storage="p04_thrown7_3"]
|
||
[dispsize width=96 height=118 baseline=0]
|
||
[disp left=1 top=0 opacity=255][wait frame=2]
|
||
|
||
[image storage="p04_thrown7_2"]
|
||
[dispsize width=130 height=68 baseline=-34]
|
||
[disp left=0 top=1 opacity=255]
|
||
[wait frame=5]
|
||
|
||
[image storage="p04_thrown7_4"]
|
||
[dispsize width=140 height=40]
|
||
[disp left=0 top=0 opacity=255]
|
||
[s]
|
||
|
||
|
||
*landing2
|
||
|
||
|
||
[playse storage=se211]
|
||
[image storage="p04_thrown7_4"]
|
||
[dispsize width=140 height=40]
|
||
[move path=(-8,0,8) haccel=-1 frame=5]
|
||
[move path=(-8,0,-8) haccel=1 frame=5]
|
||
|
||
[disp left=0 top=0 opacity=255][wait frame=2]
|
||
[disp left=0 top=1 opacity=255][wait frame=4]
|
||
[disp left=0 top=0 opacity=255][wait frame=4]
|
||
|
||
[move path=(-2,0,3) haccel=-1 frame=5]
|
||
[move path=(-2,0,-3) haccel=1 frame=5]
|
||
[disp left=0 top=0 opacity=255][hit rect="(10,39,130,40)"][wait frame=2]
|
||
[disp left=0 top=2 opacity=255][hit rect="(10,39,130,40)"][wait frame=5]
|
||
[disp left=0 top=0 opacity=255][hit rect="(10,39,130,40)"][wait frame=3]
|
||
|
||
|
||
|
||
[if exp="sprite.HP > 0"]
|
||
[wait frame=15]
|
||
[load id="stStandUp3"]
|
||
[endif]
|
||
|
||
[wait frame=20]
|
||
[eval exp="sf.enemyKillCount++"]
|
||
[del]
|
||
[jump target=*erase cond="f.inBattleMode"]
|
||
[s]
|
||
|
||
*erase
|
||
[eval exp="sprite.isBoss = false"]
|
||
[del]
|
||
|
||
[disp left=0 top=0 opacity=235][wait frame=3]
|
||
[disp left=0 top=0 opacity=215][wait frame=3]
|
||
[disp left=0 top=0 opacity=195][wait frame=3]
|
||
[disp left=0 top=0 opacity=175][wait frame=3]
|
||
[disp left=0 top=0 opacity=155][wait frame=3]
|
||
[disp left=0 top=0 opacity=135][wait frame=3]
|
||
[disp left=0 top=0 opacity=115][wait frame=3]
|
||
[disp left=0 top=0 opacity= 95][wait frame=3]
|
||
[disp left=0 top=0 opacity= 75][wait frame=3]
|
||
[disp left=0 top=0 opacity= 55][wait frame=3]
|
||
[disp left=0 top=0 opacity= 35][wait frame=3]
|
||
[disp left=0 top=0 opacity= 15][wait frame=3]
|
||
[disp left=0 top=0 opacity= 0][wait frame=3]
|
||
|
||
[s]
|