sMumbo
0
-1
-3
0
oEnemy
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
action_inherited();
makeActive();
setCollisionBounds(-6, -6, 4, 3);
myhealth = 8;
damage = 5;
hitsound = sndEHit3;
deathsound = sndEDeath2;
platyoffset = -5;
frozenspr = sMumboFrozen;
target = 0;
canattack = 1;
flipx = 0;
state = 1;
alarm[0] = 60 + random(90);
image_speed = .5;
1
603
7
0
0
-1
2
self
0
0
1
alarm[0] = timer;
facing = -facing;
1
603
7
0
0
-1
2
self
0
0
1
if (room == rm_a0h08 && instance_exists(oLavaSurface) && y > 500 && sprite_index != sMumbo_lava) {
sprite_index = sMumbo_lava;
}
1
603
7
0
0
-1
2
self
0
0
1
action_inherited();
enemy_active_check(20);
enemy_target_check(120, 0);
if (active == 1 && frozen == 0) {
if (state == 1) {
xVel = 0.5 * facing;
if (isCollisionRight(2) && facing == 1) facing = -1;
if (isCollisionLeft(2) && facing == -1) facing = 1;
if (target == 1) {
if (oCharacter.y - 8 > y) yVel = 0.1;
if (oCharacter.y - 8 < y) yVel = -0.1;
} else yVel = 0;
}
if (stun == 0) moveTo(xVel, yVel);
image_speed = .5; //1;
}
if (state == 100) enemy_death();
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
-1