Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_rorrim_body_a_Step_2

(view raw script w/o annotations or w/e)
1
if (instance_exists(obj_quote_battle_rorrim_a) && instance_exists(obj_quote_bubble_battle))
2
{
3
    if (obj_quote_battle_rorrim_a.can_talk == true)
4
    {
5
        if (can_talk_no_loop == false)
6
        {
7
            image_index = 1
8
            can_talk_no_loop = true
9
        }
10
        image_speed = global.text_speed * global.talk_speed_rorrim * obj_quote_battle_rorrim_a.hold
11
    }
12
    else
13
    {
14
        can_talk_no_loop = false
15
        image_speed = 0
16
        image_index = 0
17
    }
18
}
19
else
20
{
21
    can_talk_no_loop = false
22
    image_speed = 0
23
    image_index = 0
24
}