1 |
if (global.last_action_selected == "Action 1 Message 0") |
2 |
{ |
3 |
message[0] = "Happy#croak." |
4 |
message_end = 0 |
5 |
} |
6 |
else if (global.last_action_selected == "Action 2 Message 0") |
7 |
{ |
8 |
random_number = irandom_range(0, 1) |
9 |
if (random_number == 0) |
10 |
{ |
11 |
message[0] = "Growl." |
12 |
message_end = 0 |
13 |
} |
14 |
else if (random_number == 1) |
15 |
{ |
16 |
message[0] = "Cower,#cower." |
17 |
message_end = 0 |
18 |
} |
19 |
} |
20 |
else |
21 |
{ |
22 |
random_number = irandom_range(0, 2) |
23 |
if (random_number == 0) |
24 |
{ |
25 |
message[0] = "Ribbit,#ribbit." |
26 |
message_end = 0 |
27 |
} |
28 |
else if (random_number == 1) |
29 |
{ |
30 |
message[0] = "Croak,#croak." |
31 |
message_end = 0 |
32 |
} |
33 |
else if (random_number == 2) |
34 |
{ |
35 |
message[0] = "Micro#ribbit." |
36 |
message_end = 0 |
37 |
} |
38 |
} |
39 |
message_current = 0 |
40 |
message_draw = "" |
41 |
increase = global.text_speed |
42 |
characters = 0 |
43 |
hold = 0 |
44 |
message_length = string_length(message[message_current]) |
45 |
script_execute(gml_Script_scr_generate_text_counters) |
46 |
circle_text_angle = global.circle_text_angle_default |
47 |
circle_text_angle_direction = 1 |