Undertale script viewer

← back to main script listing

gml_Object_obj_woshspiralgen_Alarm_0

(view raw script w/o annotations or w/e)
1
alarm[0] = rate;
gml_Object_obj_woshspiralgen_Alarm_0.gml

alarm[0] = rate; m = instance_create(x, y, blt_growbullet); if (instance_exists(m)) { m.dmg = dmg; if (sum == 1) { m.speed /= 1.1; m.friction /= 1.25; } if (blue == 1) { m.image_index = 1; m.blue = 1; } m.direction = direction; if (green == 0 && cleaner == 1) { m.image_index = 2; m.blue = 3; m.friction /= 3; m.sprite_index = spr_waterbul_mask; } } green -= 1; if (green < 0) { if (sum > 1) green = 4; if (sum == 1) green = 9; }
2
m = instance_create(x, y, blt_growbullet);
3
if (instance_exists(m))
4
{
5
    m.dmg = dmg;
6
    if (sum == 1)
7
    {
8
        m.speed /= 1.1;
9
        m.friction /= 1.25;
10
    }
11
    if (blue == 1)
12
    {
13
        m.image_index = 1;
14
        m.blue = 1;
15
    }
16
    m.direction = direction;
17
    if (green == 0 && cleaner == 1)
18
    {
19
        m.image_index = 2;
20
        m.blue = 3;
21
        m.friction /= 3;
22
        m.sprite_index = spr_waterbul_mask;
23
    }
24
}
25
green -= 1;
26
if (green < 0)
27
{
28
    if (sum > 1)
29
        green = 4;
30
    if (sum == 1)
31
        green = 9;
32
}