Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_mo_kiosk_Step_0

(view raw script w/o annotations or w/e)
1
if (slide == 1)
2
{
3
    audio_play_sound(snd_mo_stand_arrive, 20, 0)
4
    slide = 2
5
    kiosk_hsp = 11.8
6
}
7
x += kiosk_hsp
8
if (slide == 2)
9
{
10
    if (kiosk_hsp > 0)
11
        kiosk_hsp -= 0.4
12
    else
13
    {
14
        kiosk_hsp = 0
15
        slide = 3
16
    }
17
}
18
if (slide == 4)
19
{
20
    audio_play_sound(snd_mo_stand_depart, 20, 0)
21
    slide = 5
22
    kiosk_hsp = -11.8
23
}
24
if (slide == 5)
25
{
26
    if (kiosk_hsp < 0)
27
        kiosk_hsp += 0.4
28
    else
29
    {
30
        kiosk_hsp = 0
31
        with (obj_snowdin_09_mo)
32
            mo_change_depth = false
33
        instance_destroy()
34
    }
35
}