Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_mike_catpaw_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
image_xscale = 2;
3
image_yscale = 2;
4
image_alpha = 1;
5
if (!instance_exists(obj_heart))
6
    instance_destroy();
7
wall_destroy = 0;
8
motion_set(point_direction(x, y, obj_mike_controller.x, obj_mike_controller.y), 6);
9
image_angle = direction;
10
tail = 0;