1 |
text_effect = "twitchy" |
2 |
attack = false |
3 |
scene = 0 |
4 |
cutscene_timer = 0 |
5 |
skippable = true |
6 |
message_adv = false |
7 |
enemy_talker = 0 |
8 |
if (global.last_action_selected != "Action 1 Message 1") |
9 |
{ |
10 |
message[0] = "..." |
11 |
message_end = 0 |
12 |
} |
13 |
else |
14 |
{ |
15 |
current_turn = global.action_1_selected_count |
16 |
switch current_turn |
17 |
{ |
18 |
case 1: |
19 |
instance_create_depth(obj_axis_body.x, obj_axis_body.y, (obj_axis_body.depth - 1), obj_axis_heart) |
20 |
obj_axis_heart.image_index = 1 |
21 |
obj_axis_heart.image_speed = 0 |
22 |
audio_play_sound(snd_undertale_flash, 1, 0) |
23 |
message[0] = "I... WHAT?" |
24 |
message_end = 0 |
25 |
break |
26 |
case 2: |
27 |
obj_axis_heart.image_index = 2 |
28 |
obj_axis_heart.image_speed = 0 |
29 |
audio_play_sound(snd_undertale_flash, 1, 0, 1, 0, 1.1) |
30 |
message[0] = "WELL...#I MEAN, YEAH." |
31 |
message[1] = "THANK YOU,#I GUESS." |
32 |
message_end = 1 |
33 |
break |
34 |
case 3: |
35 |
scr_audio_fade_outscr_audio_fade_outfunction scr_audio_fade_out(argument0, argument1) //gml_Script_scr_audio_fade_out
{
var snd = argument0
var fade_len = argument1
if (!audio_is_playing(snd))
return false;
audio_sound_gain(snd, 0, fade_len)
if instance_exists(obj_audio_fade_helper)
{
with (obj_audio_fade_helper)
{
if (audio_to_fade == snd)
return false;
}
}
with (instance_create(0, 0, obj_audio_fade_helper))
audio_to_fade = snd
} (mus_guns_blazing, 1000) |
36 |
message[0] = "COME ON, YOU#DO NOT MEAN#THAT." |
37 |
message[1] = "YOU DO?" |
38 |
message[2] = "WHOA. HEY.#I FEEL FUNNY." |
39 |
message[3] = "I FEEL...#GOOD." |
40 |
message[4] = "THANK YOU FOR#CONFIRMING MY#NARCISSISM,#HUMAN." |
41 |
message[5] = "NOTE: THAT WAS#A \"JOKE.\"" |
42 |
message_end = 5 |
43 |
skippable = false |
44 |
global.enemy_sparing = true |
45 |
break |
46 |
} |
47 |
|
48 |
} |
49 |
message_current = 0 |
50 |
message_draw = "" |
51 |
draw_enabled = true |
52 |
increase = global.text_speed |
53 |
characters = 0 |
54 |
hold = 0 |
55 |
message_length = string_length(message[message_current]) |
56 |
script_execute(gml_Script_scr_generate_text_counters) |
57 |
circle_text_angle = global.circle_text_angle_default |
58 |
circle_text_angle_direction = 1 |
59 |
white_fade_alpha = 0 |