Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_darkfruit_tree_plat_glob_Create_0

(view raw script w/o annotations or w/e)
1
sprite_index = spr_darkfruit_tree_fruit_juice;
2
image_index = random_range(0, 5);
3
image_speed = 0.5;
4
gravity = 0.5;
5
image_angle = direction;
6
state = 0;
7
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();