Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_queen_enemy_Other_12

(view raw script w/o annotations or w/e)
1
if ((bardlymercy >= 25 && phase == 1) || (global.monsterhp[myself] < (global.monstermaxhp[myself] * 0.75) && phase == 1))
2
{
3
    usewineattack = 1;
4
    phase = 2;
5
    wirescut = 0;
6
    shieldhp = 400;
7
    shieldmaxhp = shieldhp;
8
    shieldacthp = 6;
9
    shieldactmaxhp = shieldacthp;
10
    targetmercy = 50;
11
}
12
if ((bardlymercy >= 50 && phase == 2) || (global.monsterhp[myself] < (global.monstermaxhp[myself] * 0.5) && phase == 2))
13
{
14
    usewineattack = 1;
15
    phase = 3;
16
    shieldsize = 10;
17
    wirescut = 0;
18
    shieldhp = 500;
19
    shieldmaxhp = shieldhp;
20
    shieldacthp = 8;
21
    shieldactmaxhp = shieldacthp;
22
    targetmercy = 75;
23
}
24
if ((bardlymercy >= 75 && phase == 3) || (global.monsterhp[myself] < (global.monstermaxhp[myself] * 0.25) && phase == 3))
25
{
26
    usewineattack = 1;
27
    phase = 4;
28
    shieldsize = 12;
29
    wirescut = 0;
30
    shieldhp = 500;
31
    shieldmaxhp = shieldhp;
32
    shieldacthp = 8;
33
    shieldactmaxhp = shieldacthp;
34
    targetmercy = 100;
35
}