sRamulken 0 -1 0 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 targety = y - 80; state = 0; statetime = 0; facing = 1; image_speed = 0; image_index = 0; 1 603 7 0 0 -1 2 self 0 0 1 if (state == 0) { if (point_distance(x, y, oCharacter.x, oCharacter.y) < 32) { state = 1; statetime = 0; } } if (state == 1) { if (statetime == 0) { sfx_play(sndBoss1Stomp); repeat (8) { rock = instance_create(x, y - 8, oFXTrail); rock.sprite_index = sRockPieceA6; rock.image_index = floor(random(5)); rock.image_alpha = 1; rock.fadespeed = 0.005; rock.additive = 0; rock.vspeed = -2 - random(5); rock.hspeed = -2 + random(4); rock.gravity = 0.2; rock.gravity_direction = 270; rock.depth = -150; } } if (round(y) != targety) { y = lerp(y, targety, 0.2); } else event_user(0); if (collision_line(x - 4, y - 18, x + 4, y - 18, oSolid, true, true)) event_user(0); } statetime += 1; 1 603 7 0 0 -1 2 self 0 0 1 ram = instance_create(x, y, oRamulken); ram.facing = facing; instance_destroy(); 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 -1