Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_factory_02_face_Step_0

(view raw script w/o annotations or w/e)
1
if (sprite_index == spr_steamworks_38_face_talking)
2
{
3
    if instance_exists(obj_dialogue_special)
4
    {
5
        if (is_array(obj_dialogue_special.letter_array) && obj_dialogue_special.letter_current >= (array_length(obj_dialogue_special.letter_array) - 1))
6
        {
7
            image_speed = 0
8
            image_index = 0
9
        }
10
        else
11
            image_speed = 0.2
12
    }
13
    else
14
        image_speed = 0
15
}