Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_factory_02_conveyor_victory_Alarm_0

(view raw script w/o annotations or w/e)
1
if (!indicator_on)
2
{
3
    indicator_on = true;
4
    flash_count -= 1;
5
    with (obj_factory_02_conveyor_indicator)
6
        sprite_index = spr_conveyor_indicator_green;
7
}
8
else
9
{
10
    indicator_on = false;
11
    with (obj_factory_02_conveyor_indicator)
12
        sprite_index = spr_conveyor_indicator_idle;
13
}
14
if (flash_count <= 0)
15
{
16
    obj_factory_02_controller.scene += 1;
17
    instance_destroy();
18
}
19
else
20
{
21
    alarm[0] = 10;
gml_Object_obj_factory_02_conveyor_victory_Alarm_0.gml

if (!indicator_on) { indicator_on = true; flash_count -= 1; with (obj_factory_02_conveyor_indicator) sprite_index = spr_conveyor_indicator_green; } else { indicator_on = false; with (obj_factory_02_conveyor_indicator) sprite_index = spr_conveyor_indicator_idle; } if (flash_count <= 0) { obj_factory_02_controller.scene += 1; instance_destroy(); } else { alarm[0] = 10; }
22
}