Undertale script viewer

← back to main script listing

gml_Object_obj_rainbowbolt_realgen_Other_10

(view raw script w/o annotations or w/e)
1
if (l_buffer <= 0)
2
{
3
    if (o_o == 0)
4
    {
5
        with (obj_vsflowey_shaker)
6
            instance_destroy();
7
        shk = instance_create(0, 0, obj_vsflowey_shaker);
8
        shk.shakex = 3;
9
        shk.shakey = 3;
10
    }
11
    if (o_o == 0)
12
        o_o = 1;
13
    else
14
        o_o = 0;
15
    if (o_o == 0)
16
        this_hit = lithit;
17
    if (o_o == 1)
18
        this_hit = lithit2;
19
    if (lh > 0)
20
    {
21
    }
22
    jr[lh] = audio_play_sound(this_hit, 70, false);
23
    audio_sound_pitch(jr[lh], 0.6);
24
    audio_sound_gain(jr[lh], 0.44, 0);
25
    with (obj_rainbowbolt_realgen)
26
        l_buffer = 1;
27
    if (global.osflavor != 1)
28
    {
29
        with (obj_rainbowbolt_realgen)
30
            l_buffer = 2;
31
    }
32
    lh += 1;
33
}