Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_04_generator_Create_0

(view raw script w/o annotations or w/e)
1
if (global.sworks_flag[1] < 3)
2
{
3
    image_index = 0
4
    image_speed = 0.25
5
}
6
else
7
{
8
    sprite_index = spr_steamworks_04_generator_pink
9
    var rumble_sound = audio_play_sound(snd_machinery, 1, 1)
10
    audio_sound_gain(rumble_sound, 0.75, 0)
11
    image_speed = (1/3)
12
}
13
depth = (-y)
14
if (global.geno_complete[3] == true && global.sworks_flag[0] >= 1)
15
    instance_create_depth(201, 301, (obj_steamworks_04_generator.depth - 1), obj_steamworks_04_generator_screen_geno)