sSkorpLureA6
0
-1
0
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
alarm[0] = 1; // og 1
image_speed = 0.15;
sprite_index = sSkorpLureRA6;
state = 0;
cooldown = 0;
glowing = 0;
1
603
7
0
0
-1
2
self
0
0
1
visible = 1;
switch (floor(image_angle)) {
case 90: {
sprite_index = sSkorpLureUpRA6;
break;
}
default: {
sprite_index = sSkorpLureRA6;
break;
}
}
image_index = 0;
1
603
7
0
0
-1
2
self
0
0
1
switch (floor(image_angle)) {
case 180: {
image_yscale = -1;
break;
}
case 90: {
sprite_index = sSkorpLureUpRA6;
break;
}
default: {
// do things
break;
}
}
for (var i = 0; i < 32; i++) {
if (collision_point(x, y, oSolid, false, false)) {
x += lengthdir_x(1, image_angle);
y += lengthdir_y(1, image_angle);
} else {
x -= lengthdir_x(1, image_angle);
y -= lengthdir_y(1, image_angle);
break;
}
}
startx = x;
starty = y;
1
603
7
0
0
-1
2
self
0
0
1
if ((sprite_index == sSkorpLureA6) || (sprite_index == sSkorpLureUpA6)) {
image_speed = 0.15;
// Twitching
if ((irandom(35) == 0) && (cooldown <= 0)) {
glowing = 40;
cooldown = 80;
}
}
if (cooldown > 0) {
cooldown --;
}
if (glowing > 0) {
glowing --;
}
if (state == 100) {
switch (floor(image_angle)) {
case 90: {
sprite_index = sSkorpLureUpVA6;
break;
}
default: {
sprite_index = sSkorpLureVA6;
break;
}
}
if (visible == 0) {
instance_destroy();
}
}
1
603
7
0
0
-1
2
self
0
0
1
if ((sprite_index == sSkorpLureVA6) || (sprite_index == sSkorpLureUpVA6)) {
visible = 0;
} else if (sprite_index == sSkorpLureRA6) {
sprite_index = sSkorpLureA6;
} else if (sprite_index == sSkorpLureUpRA6) {
sprite_index = sSkorpLureUpA6;
}
1
603
7
0
0
-1
2
self
0
0
1
draw_self();
draw_set_blend_mode(bm_add);
repeat (2) {
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, -1, glowing/40);
}
draw_set_blend_mode(bm_normal);
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
0