| 1 |
if (instance_exists(obj_dialogue) && obj_dialogue.sndfnt == 96) |
| 2 |
{ |
| 3 |
if (obj_dialogue.cutoff == string_length(obj_dialogue.message[obj_dialogue.message_current])) |
| 4 |
{ |
| 5 |
image_speed = 0; |
| 6 |
image_index = 0; |
| 7 |
} |
| 8 |
else |
| 9 |
{ |
| 10 |
image_speed = 0.2; |
| 11 |
} |
| 12 |
} |
| 13 |
switch (scene) |
| 14 |
{ |
| 15 |
case 1: |
| 16 |
image_speed = 0.2; |
| 17 |
image_alpha = 1; |
| 18 |
scene++; |
| 19 |
break; |
| 20 |
case 2: |
| 21 |
if (on_animation_end()) |
| 22 |
{ |
| 23 |
sprite_index = spr_flowey; |
| 24 |
image_speed = 0; |
| 25 |
timer = 15; |
| 26 |
scene++; |
| 27 |
} |
| 28 |
break; |
| 29 |
case 3: |
| 30 |
if (!scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
| 31 |
exit; |
| 32 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
| 33 |
with (msg) |
| 34 |
{ |
| 35 |
sndfnt = 96; |
| 36 |
message[0] = "* Wowie, what a day!"; |
| 37 |
message[1] = "* Congrats, pal."; |
| 38 |
message[2] = "* You beat your first# Royal Guard."; |
| 39 |
message[3] = "* Though, I'm not sure# how she got promoted# past feather-duster."; |
| 40 |
message[4] = "* Have to give her some# credit though,"; |
| 41 |
message[5] = "* This boat looks like# your ticket out of the# cold."; |
| 42 |
message[6] = "* If you follow this# current..."; |
| 43 |
message[7] = "* You'll be living it up# in Hotland before you# know it."; |
| 44 |
message[8] = "* Now there's no time to# waste."; |
| 45 |
prt[0] = 348; |
| 46 |
prt[1] = 349; |
| 47 |
prt[2] = 349; |
| 48 |
prt[3] = 347; |
| 49 |
prt[4] = 348; |
| 50 |
prt[5] = 347; |
| 51 |
prt[6] = 348; |
| 52 |
prt[7] = 348; |
| 53 |
prt[8] = 348; |
| 54 |
if (global.snowdin_flag[15] == 1) |
| 55 |
{ |
| 56 |
message[9] = "* See you later,# Clover!"; |
| 57 |
prt[9] = 348; |
| 58 |
other.timer = 15; |
| 59 |
other.scene = 6; |
| 60 |
} |
| 61 |
else |
| 62 |
{ |
| 63 |
message[9] = "* See you later,# Gun-hat!"; |
| 64 |
prt[9] = 349; |
| 65 |
other.timer = 30; |
| 66 |
other.scene = 4; |
| 67 |
} |
| 68 |
} |
| 69 |
break; |
| 70 |
case 4: |
| 71 |
if (global.dialogue_open || !scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
| 72 |
exit; |
| 73 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
| 74 |
with (msg) |
| 75 |
{ |
| 76 |
sndfnt = 96; |
| 77 |
message[0] = "* Okay, I've been# thinking. "; |
| 78 |
message[1] = "* Gun-hat can't be your# real name."; |
| 79 |
message[2] = "* You can't pull one over# on old Flowey."; |
| 80 |
prt[0] = 348; |
| 81 |
prt[1] = 347; |
| 82 |
prt[2] = 3251; |
| 83 |
} |
| 84 |
if (!global.dialogue_open) |
| 85 |
{ |
| 86 |
timer = 30; |
| 87 |
scene++; |
| 88 |
} |
| 89 |
break; |
| 90 |
case 5: |
| 91 |
if (!scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
| 92 |
exit; |
| 93 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
| 94 |
with (msg) |
| 95 |
{ |
| 96 |
sndfnt = 96; |
| 97 |
message[0] = "* Whatever your real name# is,"; |
| 98 |
message[1] = "* I've decided I don't# care."; |
| 99 |
message[2] = "* Just know, friends# shouldn't do that to one# another."; |
| 100 |
message[3] = "* I wouldn't do that to# you, now would I,# Clover?"; |
| 101 |
prt[0] = 348; |
| 102 |
prt[1] = 349; |
| 103 |
prt[2] = 349; |
| 104 |
prt[3] = 3251; |
| 105 |
} |
| 106 |
if (!global.dialogue_open) |
| 107 |
{ |
| 108 |
timer = 30; |
| 109 |
scene++; |
| 110 |
} |
| 111 |
break; |
| 112 |
case 6: |
| 113 |
if (global.dialogue_open == true || !scr_timerscr_timerfunction scr_timer()
{
if (timer > 0)
{
timer--;
return false;
}
else
{
return true;
}
} ()) |
| 114 |
exit; |
| 115 |
sprite_index = spr_floweyleave; |
| 116 |
image_speed = 0.2; |
| 117 |
scene++; |
| 118 |
break; |
| 119 |
case 7: |
| 120 |
if (!on_animation_end()) |
| 121 |
exit; |
| 122 |
image_speed = 0; |
| 123 |
instance_destroy(); |
| 124 |
global.snowdin_flag[14] = 2; |
| 125 |
scr_cutscene_end(); |
| 126 |
audio_sound_gain(obj_radio.current_song, 1, 500); |
| 127 |
break; |
| 128 |
} |