Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_susiezilla_test_menu_Create_0

(view raw script w/o annotations or w/e)
1
just_created = true;
2
mode = 0;
3
name[0] = "0: Protect the statue";
4
name[1] = "1: Destroy the statue";
5
name[2] = "2: Protect Ralsei";
6
name[3] = "3: Vs. the statue";
7
name[4] = "4: Vs. the statue TURBO";
8
desc[0] = "Normal minigame version where you protect the statue from waves of enemies.";
9
desc[1] = "Battle minigame where you have to hit the statue while enemies interfere.";
10
desc[2] = "Battle minigame where you have to protect Ralsei from the enemies.";
11
desc[3] = "Battle minigame where the statue comes alive and you have to fight it.";
12
desc[4] = "Battle minigame where the statue comes alive and you have to fight it, but starts faster.";
13
14
start = function(arg0)
15
{
16
    with (instance_create(0, 0, obj_susiezilla_gamecontroller))
17
    {
18
        setup(arg0);
19
        if (mode == 0)
20
        {
21
            susie.visible = true;
22
            statue.visible = true;
23
            krisandsusie.visible = true;
24
            start();
25
        }
26
    }
27
    instance_destroy();
28
};