Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_dead_pacifist_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
image_alpha = 0;
4
image_speed = 0;
5
image_index = image_number - 1;
6
alarm[0] = 1;
gml_Object_obj_ceroba_dead_pacifist_Alarm_0.gml

script_execute(scr_enemy_defragment);
7
if (!audio_is_playing(snd_monster_damage_death))
8
    audio_play_sound(snd_monster_damage_death, 20, 0);
9
var red_tint = make_colour_rgb(215, 166, 166);
10
image_blend = red_tint;
11
instance_create_depth(x + 49, y - 60, depth + 1, obj_ceroba_dead_pacifist_staff);
12
instance_create_depth(x + 64, y + 44, depth + 2, obj_ceroba_dead_pacifist_mask);