Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_o_boxingqueen_Create_0

(view raw script w/o annotations or w/e)
1
f = 2;
2
image_xscale = 2;
3
image_yscale = 2;
4
x = 320;
5
y = 300;
6
depth = 9;
7
randomize();
8
bg = instance_create(x, y, o_boxing_black_battle_bg);
9
bg.depth = depth + 1;
10
health_count = 1500;
11
health_count_max = 1500;
12
health_count_prev = 1500;
13
if (room == room_dw_mansion_top || room == room_battletest)
14
{
15
    instance_create(0, 0, obj_thrash_transformation_transition);
16
    health_count = 1500;
17
    health_count_max = 1500;
18
    health_count_prev = 1500;
19
}
20
else
21
{
22
    health_count = 1000;
23
    health_count_max = 1000;
24
    health_count_prev = 1000;
25
}
26
health_count_prev_timer_set = 48 / f;
27
health_count_prev_timer = 0;
28
white_flash = 0;
29
rand_fix = 0;
30
vertical_laser_amount = 3;
31
arc_movement = 0;
32
horizontal_laser_amount = 2;
33
flametimer = 0;
34
specialcon = 0;
35
specialcontimer = 0;
36
baseball_amount = 1;
37
baseball_timer = 0;
38
baseball_timer_max = 48 / f;
39
baseball_hit_boss_number = 0;
40
first_normal_baseball_throw = 0;
41
phase_transition = 0;
42
phase_transition_timer = 0;
43
stomp_speed = 0.1;
44
force_drawflip = 0;
45
first_octagon_attack = 0;
46
player_dead_timer = 0;
47
pattern_phase = 0;
48
pattern_state = 0;
49
has_boss_done_pattern7 = 0;
50
final_sequence_red_alpha = 0;
51
final_sequence_red_state = 0;
52
crescent_explosion_timer = 0;
53
text_state = 0;
54
hurt_fx1_timer = 0;
55
hurt_fx1_timer2 = 0;
56
hurt_fx1_state = 1;
57
hurt_fx2_state = 1;
58
hurt_fx2_timer = 0;
59
times_hit_in_a_row = 0;
60
damagetakenincrease = 0;
61
actpunchtimer = 0;
62
playerhitbykick = 0;
63
shortcomboend = 0;
64
shaketimer = 0;
65
readycon = 0;
66
finalbaseballused = 0;
67
firstquickpunch = 1;
68
arcadebaseballused = 0;
69
finalphasearcadecon = 0;
70
usedbaseball = 0;
71
kicks_done = 0;
72
attackorderlooping = 0;
73
phaseprevious = 0;
74
attackorderloopingturn = 0;
75
pacifist = 1;
76
dodgehintcount = 3;
77
duckhintcount = 3;
78
delayattack = 0;
79
delayattacktelegraph = 0;
80
firstwheelattack = 0;
81
firstwheelattackdelay = 0;
82
original_depth = depth;
83
attackcon = 0;
84
attacktype = 1;
85
punch_amount = 1;
86
punch_type = 0;
87
kick_amount = 1;
88
splash_amount = 1;
89
pirouette_amount = 1;
90
pirouette_type = 1;
91
wheel_amount = 3;
92
wheel_type = 0;
93
siner = 0;
94
con = 0;
95
timer = 0;
96
state = 0;
97
makedizzy = 0;
98
dizzytimer = 0;
99
hurttimer = 0;
100
blocktimer = 0;
101
substate = 0;
102
vshake = 0;
103
vshaketimer = 0;
104
idletimer = 0;
105
fsiner = 0;
106
init = 0;
107
path = -1;
108
combo = 0;
109
ohpitch = 0;
110
savex = 0;
111
savey = 0;
112
movetimer = 0;
113
drawflip = 0;
114
index_previous = 0;
115
explosion_snd_count = 0;
116
basex = x;
117
basey = y;
118
flipthreshold = 120 / f;
119
fliptimer = 0;
120
attackthreshold = 90 / f;
121
attack_succeded = 0;
122
attackthresholddefault = attackthreshold;
123
wheelsoundtimer = 0;
124
bouncetimer = 0;
125
image_speed = 0;
126
invincible_l = 0;
127
invincible_r = 0;
128
blocking = -1;
129
noattack = 0;
130
nextdrawflip = -1;
131
turnbased = 1;
132
myturn = 0;
133
debug_text = "nothing";
134
maxpattern = 14;
135
useattacklist = 1;
136
scr_qb_reset
scr_qb_reset

function scr_qb_reset() { attackcount = 0; attackcountmax = 0; attackpattern = 0; for (i = 0; i < 20; i++) { list_attacktype[i] = 0; list_attackamount[i] = 0; list_attackvariant[i] = 0; list_attackwait[i] = 0; } }
();
137
if (o_boxingcontroller.wireframe_boxing == 1)
138
    sprite_index = spr_bqueen_wireframe;
139
if (room == room_dw_cyber_queen_boxing)
140
    arcade = 1;
141
else
142
    arcade = 0;