Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_factory_02_seesaw_victory_Create_0

(view raw script w/o annotations or w/e)
1
scene = 0;
2
cutscene_timer = 0;
3
with (obj_factory_02_conveyor_indicator)
4
    sprite_index = spr_conveyor_indicator_idle;
5
indicator_on = false;
6
flash_count = 3;
7
alarm[0] = 30;
gml_Object_obj_factory_02_seesaw_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_02.scene += 1; instance_destroy(); } else { alarm[0] = 10; }