Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_gravity_ball_Create_0

(view raw script w/o annotations or w/e)
1
if (!instance_exists(obj_heart))
2
    instance_destroy();
3
buffer = 0;
4
for (var i = 0; i < 5; i++)
5
{
6
    last_x[i] = 0;
7
    last_y[i] = 0;
8
}
9
last_x[0] = x;
10
last_y[0] = y - 4;
11
thrown = 1;
12
throw_timer = 0;
13
throwing = 0;
14
score_buffer = 3;
15
image_speed = 0.5;
16
friction = 0.1;
17
grab_snd = -1;
18
wait = 0;
19
wait_max = 30;
20
xx = x;
21
yy = y;
22
action = 0;
23
xscale = 1;
24
can_score = 1;
25
image_xscale = 1;
26
image_yscale = image_xscale;
27
sprite_mask = sprite_index;
28
sprite_index = spr_mike_cat_dance;
29
level = 0;
30
fever_timer = -1;