Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_roaringknight_quickslash_attack_Create_0

(view raw script w/o annotations or w/e)
1
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; }
();
2
hell_surface = -4;
3
spawn_speed = 20;
4
spawn_range = 4;
5
min_angle = 145;
6
max_angle = 215;
7
timer = 99;
8
slash_count = 0;
9
image_alpha = 1;
10
image_xscale = 2;
11
image_yscale = 2;
12
depth = obj_heart.depth + 1;
13
image_speed = 0;
14
image_index = 1;
15
animtimer = 5;
16
count = 3;
17
aetimer = 0;
18
recoil = 0;
19
final_slash_anim = false;
20
slash_anim_count = 0;
21
flip = false;
22
flipped = -1;
23
forward = 0;
24
auto = false;
25
flip_mode = true;
26
knight = -4;
27
turn_segment = -1;
28
local_turntimer = 260;
29
next_up = -1;
30
next_next_up = -1;
31
auto = true;
32
knight = -4;
33
if (i_ex(obj_knight_enemy))
34
    knight = 344;
35
anchor_x = x;
36
anchor_y = y;
37
done = false;
38
omae_wa_con = 0;
39
omae_wa_timer = 0;
40
verticalcut = false;