Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_climb_coin_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
image_xscale = 2;
3
image_yscale = 2;
4
depth = 100000;
5
landlimit = 5;
6
collect_cooldown = 10;
7
homing_on_player = true;
8
homingtimer = 0;
9
windimmune = true;
10
init = false;
11
is_pink = false;
12
13
make_pink = function()
14
{
15
    is_pink = true;
16
    sprite_index = spr_coin_pink;
17
};
18
19
if (flag > 0)
20
{
21
    if (scr_flag_get_ext(flag, flagbit) == 1)
22
        instance_destroy();
23
}