Undertale script viewer

← back to main script listing

gml_Object_obj_watercooler_Other_12

(view raw script w/o annotations or w/e)
1
if (global.flag[353 poured_water_ground] > 0)
2
{
3
    if (madepud == 0)
4
    {
5
        pud = instance_create(170, 63, obj_readable_room5);
6
        pudspr = scr_marker
scr_marker

thismarker = instance_create(argument0, argument1, obj_npc_marker); thismarker.visible = true; thismarker.image_speed = 0; thismarker.sprite_index = argument2; return thismarker;
(170, 60, spr_coolerpuddle);
7
        pudspr.depth = 900000;
8
        madepud = 1;
9
    }
10
    if (global.flag[353 poured_water_ground] > 0)
11
    {
12
        if (global.flag[353 poured_water_ground] > 7)
13
            pudspr.image_index = 1;
14
        if (global.flag[353 poured_water_ground] > 15)
15
            pudspr.image_index = 2;
16
        if (global.flag[353 poured_water_ground] > 15 && global.flag[7 true_pacifist] == 1)
17
            pudspr.image_index = 3;
18
    }
19
}