Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_lottery_bridgeBuilder1_Step_0

(view raw script w/o annotations or w/e)
1
if (built == 1)
2
{
3
    if (bridgetarget == "bridge1")
4
    {
5
        image_index = 0;
6
        global.flag[378 mouselottery_solved_2] = 1;
7
    }
8
    if (bridgetarget == "bridge2")
9
    {
10
        image_index = 1;
11
        global.flag[377 mouselottery_solved] = 1;
12
    }
13
}