Undertale script viewer

← back to main script listing

gml_Object_obj_6heal_Create_0

(view raw script w/o annotations or w/e)
1
image_blend = c_lime;
2
if (instance_exists(obj_6soul_helpcutscene))
3
    depth = -14;
4
image_alpha = 0;
5
var hope_sprite = 2313;
6
if (global.language == "ja")
7
    hope_sprite = 2314;
8
sprite_index = choose(spr_6bandage_big, spr_6pan_egg, spr_6gun_flower, spr_6shoe_musicnote, hope_sprite, spr_6thumbsup_small);
9
if (sprite_index != spr_6bandage_big)
10
{
11
    image_xscale = 2;
12
    image_yscale = 2;
13
}
14
image_speed = 0;
15
image_angle = random(360);
16
vspeed = 2.5 + random(1);