27 lines
1.4 KiB
Common Lisp
27 lines
1.4 KiB
Common Lisp
*start
|
||
|
||
[eval exp="mp.guardCount++"]
|
||
[eval exp="sprite.guardCount++"]
|
||
[if exp="mp.guardCount>sprite.damageCountLimit && getDistance(sprite, sprite.targetPlayer) < 10000"]
|
||
[eval exp="sprite.invincibleCount=20"]
|
||
[eval exp="mp.noMove=true"]
|
||
[load id=stHolding]
|
||
[endif]
|
||
|
||
[dispsize width=100 height=132 centerpos=50 baseline=0]
|
||
[state enablemove=false enableAttack=false]
|
||
|
||
;[playse storage=se284]
|
||
[playse storage="se204"]
|
||
[move path=(-8,0,0) xaccel=-1 frame=14]
|
||
|
||
[disp left=0 top=0 opacity=255][hit rect="(15,5,80,125)"][wait frame=10]
|
||
|
||
|
||
[if exp="sprite.targetPlayer.attackRect.isEmpty()"]
|
||
[disp left=1 top=0 opacity=255][hit rect="(15,5,80,125)"][wait frame=5]
|
||
[load id=stStanding]
|
||
[endif]
|
||
|
||
[load id="stGuard"]
|
||
|