1 |
event_inherited(); |
2 |
hp = 3; |
3 |
offset = 200; |
4 |
subindex = 0; |
5 |
animtimer = 0; |
6 |
drawcolor = c_white; |
7 |
flash = 0; |
8 |
image_yscale = 10; |
9 |
image_xscale = 2; |
10 |
difficulty = 1; |
11 |
slidedir = randomsign() * random_range(2, 6); |
12 |
destroying = 0; |
13 |
new_movement = obj_spamton_neo_enemy.newcrushermovement; |
14 |
if (new_movement == 0) |
15 |
{ |
16 |
direction = 180; |
17 |
speed = 0.4; |
18 |
friction = 0; |
19 |
} |
20 |
else |
21 |
{ |
22 |
hspeed = obj_spamton_neo_enemy.crusher_start_hspeed; |
23 |
vspeed = random_range(2, -2); |
24 |
haccel = obj_spamton_neo_enemy.crusher_start_hacceleration; |
25 |
topy = obj_growtangle.y - 60; |
26 |
bottomy = obj_growtangle.y + 60; |
27 |
vbounce = 1; |
28 |
} |
29 |
updown = 1; |
30 |
crushedObj = 0; |
31 |
maxspeed = 8; |
32 |
destroyonhit = 0; |
33 |
offsetCap = 0; |
34 |
crushtimer = 0; |
35 |
init = 0; |
36 |
siner = 0; |
37 |
creatednewalls = 0; |
38 |
pushback = 0; |
39 |
createdguns = 0; |
40 |
startdepth = depth; |
41 |
flashsiner = 0; |