sTPO2
0
-1
0
0
oEnemy
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
action_inherited();
canbeX = 0;
myhealth = 8;
damage = 16;
if (oControl.mod_randomgamebool == 1 && (global.wbeam == 0 || global.sbeam == 0 || global.pbeam == 0)){
freezehp = floor(myhealth * .15);
if (freezehp < 1) freezehp = 1;
} //nerfed frozen enemies in random games
hitsound = sndRobotHit3;
deathsound = sndRobotHit2;
canfreeze = 1;
platyoffset = -6;
frozenspr = sTPO2Frozen;
flipx = 0;
state = 1;
active = 1;
hitemp = 1;
empspr = sTPO2Disabled;
1
603
7
0
0
-1
2
self
0
0
1
action_inherited();
if (active == 1 && stun == 0 && frozen == 0) {
if (state == 1) {
if (distance_to_object(oCharacter) < 200) state = 2;
}
if (state == 2) {
if (oCharacter.x >= x) hspeed += 0.07;
if (oCharacter.x < x) hspeed -= 0.07;
if (oCharacter.y - 24 >= y) vspeed += 0.1;
if (oCharacter.y - 24 < y) vspeed -= 0.1;
if (speed > 3) speed = 3;
}
image_speed = 0.5;
} else speed = 0;
if (state == 100) {
enemy_death();
repeat (5) instance_create(x, y, oDebris);
}
1
603
7
0
0
-1
2
self
0
0
1
move_bounce_all(0);
speed *= 0.5;
1
603
7
0
0
-1
2
self
0
0
1
action_inherited();
direction += 180;
speed *= 0.5;
1
603
7
0
0
-1
2
self
0
0
1
event_inherited();
emp.collisionBoundsOffsetLeftX = 3;
emp.collisionBoundsOffsetTopY = 3;
emp.collisionBoundsOffsetRightX = 3;
emp.collisionBoundsOffsetBottomY = 3;
1
603
7
0
0
-1
2
self
0
0
1
instance_destroy();
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
-1