;-----------------
;RUN SKILL SCRIPT 
;-----------------
;check if class is of the monster type

COMPARE #<num.hostclass>, 35
IF= @notrun
IF< @notrun

;check if player has the skill

COMPARE #<skillrun>, 1
If< @notrun
If> @notrun

;create the actor for the run command

ACTOR 10, "Run", Run, 1, 70, 30
GOTO @notrun

;if the player attacks the run command:

@eventactorclick10
SELECT 10
POSE 2
WAIT 0.5
MOVE	10, 120, 120, 1
IF R25 @failrun
GOTO EXIT
@failrun
H: I cant run!
@notrun