Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_gerson_rudebuster_Create_0

(view raw script w/o annotations or w/e)
1
inst = instance_create(x, y, obj_gerson_slowdown);
2
if (obj_hammer_of_justice_enemy.rudebusterhitcountmax == 1)
3
{
4
    if (obj_hammer_of_justice_enemy.susiehitbyrudebustercount == 0)
5
        inst.type = 0;
6
    if (obj_hammer_of_justice_enemy.susiehitbyrudebustercount == 1)
7
        inst.type = 1;
8
    if (obj_hammer_of_justice_enemy.susiehitbyrudebustercount == 2)
9
        inst.type = 2;
10
}
11
target = 43843743;
12
damage = 1;
13
star = 0;
14
caster = 0;
15
image_alpha = 0;
16
image_xscale = 2;
17
image_yscale = 2;
18
image_speed = 1;
19
image_angle = 180;
20
for (i = 0; i < 10; i += 1)
21
{
22
    prevx[i] = x;
23
    prevy[i] = y;
24
}
25
a = 0;
26
targetx = 0;
27
targety = 0;
28
t = 0;
29
tmax = 4;
30
siner = 0;
31
explode = 0;
32
maxaft = 0;
33
bolt_timer = 0;
34
chosen_bolt = 0;
35
final_bolt = 0;
36
red = 0;
37
battlemode = 0;
38
textcolortimer = 0;
39
textcolor = merge_color(c_white, c_red, textcolortimer);
40
susieattackcon = 0;
41
susieattacktimer = 0;
42
buffer_z = 0;
43
hurtflashalpha = 0;
44
scr_bullet_init
scr_bullet_init

function
scr_bullet_init()
{ grazed = 0; grazetimer = 0; destroyonhit = 1; target = 0; inv = 60; damage = 10; element = 0; grazepoints = 1; timepoints = 1; active = 1; updateimageangle = 0; }
();
45
target = 3;
46
damage = 60;
47
hitsusietimer = 0;
48
hitback = false;