Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_suitspuzz_button_Other_10

(view raw script w/o annotations or w/e)
1
if (type == 0)
2
{
3
    with (obj_suitspuzz)
4
    {
5
        if (won == 0)
6
            event_user(2);
7
    }
8
}
9
if (type == 1)
10
{
11
    with (obj_suitspuzz)
12
    {
13
        if (won == 0)
14
            event_user(3);
15
    }
16
}
17
if (type == 2)
18
{
19
    with (obj_suitspuzz)
20
    {
21
        if (won == 0)
22
            event_user(4);
23
    }
24
}
25
snd_play(snd_noise);
26
press_timer = 2;
27
with (obj_mainchara)
28
    onebuffer = 3;