Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_rouxls_suncloud_bullets_Collision_obj_rouxls_suncloud_bullets

(view raw script w/o annotations or w/e)
1
if (sprite_index == spr_snowflake && other.sprite_index == spr_sunbolt && active == true && false)
2
{
3
    instance_destroy();
4
    with (other)
5
        instance_destroy();
6
    snd_stop(snd_wing);
7
    snd_play(snd_wing);
8
    anim = instance_create_depth(x, y, depth - 1, obj_animation);
9
    anim.sprite_index = spr_shadow_mantle_cloud_white;
10
    anim.image_speed = 0.05;
11
    anim.image_xscale = 1.5;
12
    anim.image_yscale = 1.5;
13
    with (
scr_fire_bullet
scr_fire_bullet

function
scr_fire_bullet(arg0, arg1, arg2, arg3, arg4, arg5 = -4, arg6 = 0, arg7 = false, arg8 = 87135)
{ var bullet; if (arg8 != 87135) bullet = instance_create_depth(arg0, arg1, arg8, arg2); else bullet = instance_create(arg0, arg1, arg2); with (bullet) { direction = arg3; speed = arg4; if (arg5 != -4) sprite_index = arg5; updateimageangle = arg6; if (arg6) image_angle = arg3; if (arg7) { with (other)
scr_bullet_inherit(other.id);
} } return bullet; } function scr_fire_bullet_colorize(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 = 0) { var bullet = instance_create(arg0, arg1, arg2); with (bullet) { direction = arg3; speed = arg4; sprite_index = arg5; image_blend = arg6; updateimageangle = arg7; if (arg7) image_angle = arg3; } return bullet; }
((x - 18) + irandom(36), y + 6 + random(6), obj_rouxls_suncloud_bullets, 270, 0, spr_raindrop))
14
    {
15
        updateimageangle = 1;
16
        image_angle = 270;
17
        gravity_direction = 270;
18
        gravity = 0.1;
19
        image_xscale = 0.75;
20
        image_yscale = 0.75;
21
    }
22
}