Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_yheart_shot_Create_0

(view raw script w/o annotations or w/e)
1
f = 2;
2
makeanim = 1;
3
hspeed = 8 * f;
4
big = 0;
5
damage = 1;
6
sucked = 0;
7
trail = 0;
8
trail_timer = 0;
9
if (instance_exists(obj_spamton_neo_enemy) && obj_spamton_neo_enemy.upgrade > 0)
10
{
11
    big = 1;
12
    sprite_index = spr_yheart_bigshot;
13
    hspeed = 9;
14
    friction = -0.4;
15
    image_alpha = 0.5;
16
    image_xscale = 0.1;
17
    image_yscale = 2;
18
    image_index = 0;
19
    damage = 4;
20
    if (global.chapter == 2 && instance_exists(obj_spamton_neo_enemy))
21
        obj_spamton_neo_enemy.bigshotused = 1;
22
}