Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_tenna_board4_enemy_Other_10

(view raw script w/o annotations or w/e)
1
if (global.monsterhp[myself] <= (global.monstermaxhp[myself] * 0.1) && haveusedultimate == false)
2
    phaseturn = 11;
3
phaseturn++;
4
if (phaseturn == 1)
5
{
6
    myattackchoice = 5;
7
    difficulty = 0;
8
}
9
if (phaseturn == 2)
10
{
11
    myattackchoice = 1;
12
    difficulty = 0;
13
}
14
if (phaseturn == 3)
15
{
16
    myattackchoice = 5;
17
    difficulty = 0;
18
}
19
if (phaseturn == 4)
20
{
21
    myattackchoice = 6;
22
    difficulty = 0;
23
}
24
if (phaseturn == 5)
25
{
26
    myattackchoice = 7;
27
    difficulty = 0;
28
}
29
if (phaseturn == 6)
30
{
31
    myattackchoice = 8;
32
    difficulty = 0;
33
}
34
if (phaseturn == 7)
35
{
36
    myattackchoice = 5;
37
    difficulty = 0;
38
}
39
if (phaseturn == 8)
40
{
41
    myattackchoice = 6;
42
    difficulty = 0;
43
}
44
if (phaseturn == 9)
45
{
46
    myattackchoice = 7;
47
    difficulty = 0;
48
}
49
if (phaseturn == 10)
50
{
51
    myattackchoice = 8;
52
    difficulty = 0;
53
}
54
if (phaseturn == 11)
55
{
56
    myattackchoice = 4;
57
    haveusedultimate = true;
58
}