Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_snowdin_09_mo_Other_7

(view raw script w/o annotations or w/e)
1
if (sprite_index == spr_mo_kick_yellow)
2
{
3
    image_speed = 0;
4
    sprite_index = spr_mo_talk_cup;
5
}
6
if (sprite_index == spr_mo_pour1_yellow)
7
{
8
    image_speed = 0;
9
    sprite_index = spr_mo_talk_cup;
10
}
11
if (sprite_index == spr_mo_pour2_yellow)
12
{
13
    image_speed = 0;
14
    sprite_index = spr_mo_down_talk_yellow;
15
    waiter = 3;
16
}
17
if (sprite_index == spr_mo_snap_yellow)
18
{
19
    if (global.snowdin_flag[5] == 2)
20
    {
21
        image_speed = 0;
22
        sprite_index = spr_mo_down_talk_yellow;
23
        obj_mo_kiosk.slide = 4;
24
        obj_mo_menu.mo_menu_fall = 4;
25
    }
26
    else
27
    {
28
        image_speed = 0;
29
        sprite_index = spr_mo_down_talk_yellow;
30
        obj_mo_kiosk.slide = 1;
31
        obj_mo_menu.mo_menu_fall = 1;
32
        timer[2] = 15;
33
    }
34
}