| 1 |
if (type == 0) |
| 2 |
{ |
| 3 |
if (instance_exists(obj_asgore_lastcutscene)) |
| 4 |
obj_asgore_lastcutscene.con = 45; |
| 5 |
obj_asgore_lastcutscene.hearts = 0; |
| 6 |
snd_play(snd_select); |
| 7 |
obj_heart.x = -999; |
| 8 |
with (obj_fakeheart) |
| 9 |
instance_destroy(); |
| 10 |
with (obj_anybt) |
| 11 |
instance_destroy(); |
| 12 |
} |
| 13 |
if (type == 1) |
| 14 |
{ |
| 15 |
if (instance_exists(obj_asgore_lastcutscene)) |
| 16 |
obj_asgore_lastcutscene.con = 15; |
| 17 |
obj_asgore_lastcutscene.hearts = 1; |
| 18 |
snd_play(snd_select); |
| 19 |
obj_heart.x = -999; |
| 20 |
with (obj_fakeheart) |
| 21 |
instance_destroy(); |
| 22 |
with (obj_anybt) |
| 23 |
instance_destroy(); |
| 24 |
} |
| 25 |
if (type == 2) |
| 26 |
{ |
| 27 |
snd_play(snd_select); |
| 28 |
caster_stop(all); |
| 29 |
snd_play(snd_laz); |
| 30 |
strike = scr_markerscr_markerthismarker = instance_create(argument0, argument1, obj_npc_marker);
thismarker.visible = true;
thismarker.image_speed = 0;
thismarker.sprite_index = argument2;
return thismarker; (obj_flowey_wilt.x + 25, obj_flowey_wilt.y - 20, spr_strike); |
| 31 |
strike.image_xscale = 1; |
| 32 |
strike.image_yscale = 1; |
| 33 |
strike.image_speed = 0.25; |
| 34 |
obj_flowey_wilt.alarm[8] = 22; |
| 35 |
obj_flowey_wilt.alarm[7] = 60; |
| 36 |
with (obj_anybt) |
| 37 |
instance_destroy(); |
| 38 |
with (obj_fakeheart) |
| 39 |
instance_destroy(); |
| 40 |
} |
| 41 |
if (type == 3) |
| 42 |
{ |
| 43 |
snd_play(snd_select); |
| 44 |
with (obj_flowey_wilt) |
| 45 |
event_user(1); |
| 46 |
with (obj_anybt) |
| 47 |
instance_destroy(); |
| 48 |
with (obj_fakeheart) |
| 49 |
instance_destroy(); |
| 50 |
} |