Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_controller_keyboard_puzzle_2_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
realral = 0;
3
realsus = 0;
4
if (instance_exists(obj_caterpillarchara))
5
{
6
    with (obj_caterpillarchara)
7
    {
8
        if (name == "susie")
9
            other.realsus = id;
10
        if (name == "ralsei")
11
            other.realral = id;
12
    }
13
}
14
if (global.flag[333 solved_agree2all] == 1 || realral == 0 || realsus == 0)
15
    instance_destroy();
16
npcral = 0;
17
npcsus = 0;
18
hintcon = 0;
19
failcount = 0;