Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_swatchling_cannonball_bullet_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
image_blend = c_blue;
3
colortimer = 0;
4
scr_getboxbounds
scr_getboxbounds

function scr_getboxbounds() { if (instance_exists(obj_growtangle)) { minx = obj_growtangle.x - (obj_growtangle.sprite_width / 2); maxx = obj_growtangle.x + (obj_growtangle.sprite_width / 2); miny = obj_growtangle.y - (obj_growtangle.sprite_height / 2); maxy = obj_growtangle.y + (obj_growtangle.sprite_height / 2); } else { minx = 999; maxx = 999; miny = 999; maxy = 999; } }
();
5
spin = choose(-10, 10);