Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_el_bailador_controller_Step_0

(view raw script w/o annotations or w/e)
1
if (can_draw_arrows == false)
2
    return;
3
if (instance_exists(obj_heart_battle_fighting_parent) && (!alarm[0]))
4
{
5
    draw_tutorial_arrows = true
6
    alarm[0] = 30
alarm[0]

if draw_tutorial_arrows draw_tutorial_arrows = false else draw_tutorial_arrows = true alarm[0] = 15
7
}
8
else if (!instance_exists(obj_heart_battle_fighting_parent))
9
{
10
    alarm[0] = -1
alarm[0]

if draw_tutorial_arrows draw_tutorial_arrows = false else draw_tutorial_arrows = true alarm[0] = 15
11
    draw_tutorial_arrows = false
12
}
13
if (instance_exists(obj_heart_battle_fighting_parent) && can_draw_arrows)
14
{
15
    if (obj_heart_battle_fighting_parent.x != obj_heart_battle_fighting_parent.xstart)
16
    {
17
        can_draw_arrows = false
18
        alarm[0] = -1
alarm[0]

if draw_tutorial_arrows draw_tutorial_arrows = false else draw_tutorial_arrows = true alarm[0] = 15
19
    }
20
}