Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ending_flowey_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if instance_exists(obj_dialogue_flowey_ending)
4
{
5
    if (is_talking == true)
6
    {
7
        if (obj_dialogue_flowey_ending.cutoff == string_length(obj_dialogue_flowey_ending.message[obj_dialogue_flowey_ending.message_current]))
8
        {
9
            image_speed = 0
10
            image_index = 0
11
        }
12
        else
13
            image_speed = 0.2
14
    }
15
    else
16
    {
17
        image_speed = 0
18
        is_talking = false
19
    }
20
    if (obj_dialogue_flowey_ending.prt[obj_dialogue_flowey_ending.message_current] != spr_collisionbox)
21
        sprite_index = obj_dialogue_flowey_ending.prt[obj_dialogue_flowey_ending.message_current]
22
    if (sprite_index == -4)
23
        sprite_index = spr_flowey_nice
24
}