Undertale script viewer

← back to main script listing

gml_Object_obj_spinbullet_huge_gen_preview_Create_0

(view raw script w/o annotations or w/e)
1
image_alpha = 0;
2
offon = 0;
3
x = obj_vsflowey_heart.x + 8;
4
y = obj_vsflowey_heart.y + 8;
5
if ((y + 60) > room_height)
6
    y -= ((y + 60) - room_height);
7
bonus = 0;
8
if (instance_number(object_index) == 1)
9
    bonus = 3;
10
alarm[2] = 2;
gml_Object_obj_spinbullet_huge_gen_preview_Alarm_2.gml

snd_stop(mus_sfx_a_target); snd_play(mus_sfx_a_target); alarm[2] = 2;
11
snd_stop(mus_sfx_a_target);
12
snd_play(mus_sfx_a_target);