Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_fmartlet_flowey_Step_2

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (sprite_index == spr_flowey_enter_plain || sprite_index == spr_evil_flowey_dies_10)
4
    return;
5
if (instance_exists(obj_quote_battle_martlet_genocide_final_2_outro) && instance_exists(obj_quote_bubble_battle))
6
{
7
    if (obj_quote_battle_martlet_genocide_final_2_outro.can_talk == true)
8
    {
9
        if (can_talk_no_loop == false)
10
        {
11
            image_index = 1
12
            can_talk_no_loop = true
13
        }
14
        image_speed = global.text_speed * global.talk_speed_flowey * obj_quote_battle_martlet_genocide_final_2_outro.hold
15
    }
16
    else
17
    {
18
        can_talk_no_loop = false
19
        image_speed = 0
20
        image_index = 0
21
    }
22
}
23
else
24
{
25
    can_talk_no_loop = false
26
    image_speed = 0
27
    image_index = 0
28
}