Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_purple_enemy_Other_11

related scripts: Alarm_4Create_0Draw_0Other_11 Other_22Step_0

(view raw script w/o annotations or w/e)
1
if (fight_type == "aqua")
2
{
3
    myattackchoice = -1;
4
    var duck = false;
5
    with (obj_aqua_enemy)
6
    {
7
        if (myattackchoice == 5)
8
            duck = true;
9
    }
10
    if (turns > 0 && turns < 4 && !duck)
11
        myattackchoice = 0;
12
    if (turns == 5)
13
        myattackchoice = 1;
14
    if (turns == 6)
15
        myattackchoice = 2;
16
}