Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_crusher_Step_2

(view raw script w/o annotations or w/e)
1
if ((difficulty == 4 && createdguns == 1) || (difficulty == 6 && createdguns == 1))
2
{
3
    gun1.x = x - 20;
4
    gun1.y = y - obj_spamton_neo_enemy.crusher_turret_distance;
5
    gun2.x = x - 20;
6
    gun2.y = y + obj_spamton_neo_enemy.crusher_turret_distance;
7
    if (hp < 1)
8
    {
9
        gun1.y = -9999;
10
        gun2.y = -9999;
11
    }
12
}