| 1 |
switch (scene) |
| 2 |
{ |
| 3 |
case 0: |
| 4 |
with (obj_event_collider) |
| 5 |
{ |
| 6 |
if (trigger == true) |
| 7 |
{ |
| 8 |
instance_destroy(); |
| 9 |
scr_cutscene_start(); |
| 10 |
if (global.sworks_flag[15] == 0) |
| 11 |
{ |
| 12 |
obj_pl.direction = 180; |
| 13 |
other.scene++; |
| 14 |
} |
| 15 |
} |
| 16 |
} |
| 17 |
break; |
| 18 |
case 1: |
| 19 |
cutscene_instance_create(obj_pl.x - 40, obj_pl.y, 3194); |
| 20 |
obj_flowey_npc.action_sprite = true; |
| 21 |
obj_flowey_npc.sprite_index = spr_floweyrise; |
| 22 |
obj_flowey_npc.image_speed = 0.2; |
| 23 |
break; |
| 24 |
case 2: |
| 25 |
if (obj_flowey_npc.image_index >= (obj_flowey_npc.image_number - 1)) |
| 26 |
{ |
| 27 |
obj_flowey_npc.npc_direction = "right"; |
| 28 |
obj_flowey_npc.action_sprite = false; |
| 29 |
cutscene_advance(); |
| 30 |
} |
| 31 |
break; |
| 32 |
case 3: |
| 33 |
cutscene_wait(0.5); |
| 34 |
break; |
| 35 |
case 4: |
| 36 |
cutscene_dialogue(); |
| 37 |
with (msg) |
| 38 |
{ |
| 39 |
talker[0] = 3194; |
| 40 |
message[0] = "* Howdy!"; |
| 41 |
message[1] = "* Boy am I glad that fox# lady let you roam free# for a bit."; |
| 42 |
message[2] = "* Not being able to talk# to my pal has been# torture!"; |
| 43 |
message[3] = "* Now, I know she roped# ya into some Lab detour# but..."; |
| 44 |
message[4] = "* Come on... captive# monsters? Talk about a# conspiracy nut!"; |
| 45 |
message[5] = "* I mean, it's like you# don't wanna follow my# advice!"; |
| 46 |
message[6] = "* Remember your REAL# mission, Clover."; |
| 47 |
message[7] = "* The five children you# set out to find in the# first place."; |
| 48 |
message[8] = "* There's no need to# visit that dingy lab, ya# know?"; |
| 49 |
message[9] = "* ASGORE's still out# there threatening human# lives!"; |
| 50 |
message[10] = "* Keep your head in the# game."; |
| 51 |
message[11] = "* This is our journey.# Not Ceroba's."; |
| 52 |
prt[0] = 348; |
| 53 |
prt[1] = 347; |
| 54 |
prt[2] = 357; |
| 55 |
prt[3] = 347; |
| 56 |
prt[4] = 349; |
| 57 |
prt[5] = 349; |
| 58 |
prt[6] = 3251; |
| 59 |
prt[7] = 348; |
| 60 |
prt[8] = 357; |
| 61 |
prt[9] = 356; |
| 62 |
prt[10] = 353; |
| 63 |
prt[11] = 352; |
| 64 |
} |
| 65 |
break; |
| 66 |
case 5: |
| 67 |
cutscene_npc_action_sprite(3194, 245, 0.25, true, 0); |
| 68 |
break; |
| 69 |
case 6: |
| 70 |
instance_destroy(obj_flowey_npc); |
| 71 |
cutscene_wait(1); |
| 72 |
break; |
| 73 |
break; |
| 74 |
case 7: |
| 75 |
cutscene_instance_create(camera_get_view_x(view_camera[0]) + camera_get_view_width(view_camera[0]) + 40, obj_pl.y, 1161); |
| 76 |
break; |
| 77 |
case 8: |
| 78 |
cutscene_dialogue(); |
| 79 |
with (msg) |
| 80 |
{ |
| 81 |
talker[0] = 1161; |
| 82 |
message[0] = "* Hey, wait up!"; |
| 83 |
prt[0] = 370; |
| 84 |
} |
| 85 |
obj_pl.direction = 0; |
| 86 |
break; |
| 87 |
case 9: |
| 88 |
audio_sound_gain(obj_radio.current_song, 0, 500); |
| 89 |
cutscene_advance(); |
| 90 |
break; |
| 91 |
case 10: |
| 92 |
cutscene_npc_walk(1161, obj_pl.x + 40, obj_pl.y, 3, "x", "left"); |
| 93 |
break; |
| 94 |
case 11: |
| 95 |
cutscene_dialogue(); |
| 96 |
with (msg) |
| 97 |
{ |
| 98 |
talker[0] = 1161; |
| 99 |
message[0] = "* I think I'm ready to# get back into things."; |
| 100 |
message[1] = "* Lead the way."; |
| 101 |
prt[0] = 377; |
| 102 |
prt[1] = 370; |
| 103 |
} |
| 104 |
break; |
| 105 |
case 12: |
| 106 |
cutscene_npc_walk(1161, obj_pl.x + 20, obj_pl.y, 3, "x", "left"); |
| 107 |
break; |
| 108 |
case 13: |
| 109 |
audio_sound_gain(obj_radio.current_song, 1, 500); |
| 110 |
cutscene_advance(); |
| 111 |
break; |
| 112 |
case 14: |
| 113 |
obj_pl.direction = 180; |
| 114 |
scr_actor_into_followerscr_actor_into_followerfunction scr_actor_into_follower(arg0, arg1)
{
if (!instance_exists(arg0))
return false;
if (arg1 == -4)
return false;
instance_create(arg0.x, arg0.y, arg1);
arg1.x = arg0.x;
arg1.y = arg0.y;
with (arg0)
{
switch (npc_direction)
{
case "up":
arg1.sprite_index = arg1.up_sprite_idle;
break;
case "down":
arg1.sprite_index = arg1.down_sprite_idle;
break;
case "left":
arg1.sprite_index = arg1.left_sprite_idle;
break;
case "right":
arg1.sprite_index = arg1.right_sprite_idle;
break;
}
}
instance_destroy(arg0);
} (1161, 1171); |
| 115 |
global.party_member = 1171; |
| 116 |
global.sworks_flag[15] = 1; |
| 117 |
cutscene_advance(); |
| 118 |
break; |
| 119 |
case 15: |
| 120 |
cutscene_end(); |
| 121 |
break; |
| 122 |
} |