You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
426 B
22 lines
426 B
action_inherited()
|
|
makeActive()
|
|
setCollisionBounds(-4, -8, 4, 0)
|
|
image_speed = 0.3
|
|
image_index = choose(0, 1)
|
|
myhealth = 5
|
|
damage = 7
|
|
hitsound = 61
|
|
deathsound = 60
|
|
platyoffset = -1
|
|
frozenspr = 1501
|
|
target = 0
|
|
canattack = 1
|
|
state = 0
|
|
yVelStart = random_range(-1.5, -1)
|
|
xVelStart = random_range(-1, 1)
|
|
targetx = oCharacter.x
|
|
targety = (oCharacter.y - 20)
|
|
parent = -1
|
|
randomx = irandom(room_width)
|
|
randomy = irandom(room_height)
|