Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_waterfall_martlet_Step_0

(view raw script w/o annotations or w/e)
1
if (sprite_index == spr_martlet_sit || sprite_index == spr_martlet_sit_book)
2
{
3
    if instance_exists(obj_dialogue)
4
    {
5
        if (obj_dialogue.cutoff == string_length(obj_dialogue.message[obj_dialogue.message_current]))
6
        {
7
            image_speed = 0
8
            image_index = 0
9
        }
10
        else
11
            image_speed = 0.2
12
    }
13
}