Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_gerson_cane_bullet_Create_0

(view raw script w/o annotations or w/e)
1
timer = 0;
2
con = 0;
3
init = 0;
4
hitcount = 1;
5
bulletcount = 0;
6
anglespeed = 30;
7
angledirection = 1;
8
xtarget = 0;
9
ytarget = 0;
10
image_angle = 80;
11
image_xscale = 2;
12
image_yscale = 2;
13
scr_jump_to_point
scr_jump_to_point

function
scr_jump_to_point(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; trackangle = arg4; } return ___jump; }
(camerax() + 350, cameray() + 128, 10, 45);
14
snd_play_pitch(snd_slidewhistle, 1.3);