Undertale script viewer

← back to main script listing

gml_Object_obj_rainbowbolt_realgen_Other_11

(view raw script w/o annotations or w/e)
1
with (obj_vsflowey_shaker)
2
    instance_destroy();
3
shk = instance_create(0, 0, obj_vsflowey_shaker);
4
shk.shakex = 8;
5
shk.shakey = 8;
6
if (h_mode == 0)
7
{
8
    if (hit == 0)
9
        caster_play_l(lithit, 0.8, 0.75);
10
    if (hit == 3)
11
        caster_play_l(lithit2, 0.8, 0.65);
12
    if (hit == 5)
13
        caster_play_l(lithit, 0.9, 0.9);
14
}
15
if (h_mode == 1)
16
{
17
    if (hit == 0)
18
        caster_play_l(lithit, 0.8, 0.6);
19
    if (hit == 1)
20
        caster_play_l(lithit2, 0.8, 0.65);
21
    if (hit == 2)
22
        caster_play_l(lithit, 0.8, 0.7);
23
    if (hit == 3)
24
        caster_play_l(lithit2, 0.8, 0.75);
25
    if (hit == 4)
26
        caster_play_l(lithit, 0.8, 0.8);
27
}
28
hit += 1;