sQueenFootFront
0
-1
10
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
flashing = 0;
fxtimer = 0;
state = 0;
targetx = x;
base_x = x;
image_angle = 0;
spr_foot = sQueenLeg2F;
1
603
7
0
0
-1
2
self
0
0
1
if (instance_exists(oQueenHead)) {
flashing = oQueenHead.flashing;
fxtimer = oQueenHead.fxtimer;
}
1
603
7
0
0
-1
2
self
0
0
1
if (state == 0) {
if (x - base_x < -24) {
state = 1;
targetx = x + 80;
vspeed = -2.5;
gravity = 0.2;
gravity_direction = 270;
}
if (x - base_x > 70) {
state = 1;
targetx = x - 80;
vspeed = -2.5;
gravity = 0.2;
gravity_direction = 270;
}
}
if (state == 1) {
if (abs(x - targetx) > 1) {
x = lerp(x, targetx, 0.1);
} else state = 0;
}
col1 = collision_line(x, y - 20, x, y, oSolid, true, true);
col2 = collision_point(x, y + 1, oSolid, true, true);
if (col2 < 0) y += 1;
if (col1 > 0) {
y -= 1;
if (vspeed > 0) {
vspeed = 0;
gravity = 0;
event_user(0);
}
}
1
603
7
0
0
-1
2
self
0
0
1
var i;
i = 0;
repeat (3) {
expl = instance_create(x - 20 + i * 20, y, oFXAnimSpark);
expl.image_speed = 0.5;
expl.additive = 0;
expl.sprite_index = sExplSmoke;
expl.depth = 9;
expl.vspeed = -0.5;
i += 1;
}
1
603
7
0
0
-1
2
self
0
0
1
if(oControl.mod_fusion == 1 || oControl.MonsterPalettesFusionOnly == 0) {
pal_swap_set(oControl.QueenPalette, 2, false);
}
if (!flashing) {
draw_sprite(spr_foot, -1, x, y);
} else {
draw_sprite_ext(spr_foot, -1, x, y, 1, 1, image_angle, make_color_rgb(255 - fxtimer * 63, 255 - fxtimer * 63, 255 - fxtimer * 63), 1);
draw_set_blend_mode(bm_add);
repeat (2) draw_sprite_ext(spr_foot, -1, x, y, 1, 1, image_angle, -1, 1 - fxtimer * 0.25);
draw_set_blend_mode(bm_normal);
}
shader_reset();
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
-1