Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_rudebuster_bolt_Create_0

(view raw script w/o annotations or w/e)
1
target = 43843743;
2
damage = 1;
3
star = 0;
4
caster = 0;
5
image_alpha = 0;
6
image_xscale = 2;
7
image_yscale = 2;
8
image_speed = 1;
9
for (i = 0; i < 10; i += 1)
10
{
11
    prevx[i] = x;
12
    prevy[i] = y;
13
}
14
a = 0;
15
targetx = 0;
16
targety = 0;
17
t = 0;
18
tmax = 4;
19
siner = 0;
20
speedmax = 24;
21
explode = 0;
22
maxaft = 0;
23
bolt_timer = 0;
24
chosen_bolt = 0;
25
final_bolt = 0;
26
lockdamage = false;
27
red = 0;
28
battlemode = 1;
29
if (global.fighting == 0)
30
    battlemode = 0;
31
if (global.chapter == 4)
32
{
33
    if (i_ex(obj_hammer_of_justice_enemy) && obj_hammer_of_justice_enemy.rudebusterhitcount != obj_hammer_of_justice_enemy.rudebusterhitcountmax)
34
        speedmax = 6;
35
}
36
hurtflashalpha = 0;
37
gersonswingtimer = 0;
38
gersonoffset = 0;
39
misswritercreated = false;
40
if (global.chapter == 4)
41
{
42
    if (i_ex(obj_hammer_of_justice_enemy))
43
    {
44
        gersonoffset = -10;
45
        x += 20;
46
        y -= 20;
47
    }
48
}