1 |
text_effect = "twitchy"; |
2 |
end_fight = false; |
3 |
last_text_move_select = global.last_text_move_select; |
4 |
if (last_text_move_select < 0) |
5 |
{ |
6 |
message[0] = "* Carefully aim at the# dummy and take yer shot."; |
7 |
message[1] = "* Don't worry, it ain't# alive or nothin'."; |
8 |
portrait[0] = 419; |
9 |
portrait[1] = 419; |
10 |
message_end = 1; |
11 |
} |
12 |
else |
13 |
{ |
14 |
var last_action_selected = global.last_action_selected; |
15 |
if (last_action_selected == "Fight") |
16 |
{ |
17 |
var enemy_hit = global.enemy_hit; |
18 |
if (enemy_hit == true) |
19 |
{ |
20 |
var hit_count = global.hit_count; |
21 |
if (hit_count == 1) |
22 |
{ |
23 |
message[0] = "* Mighty fine job!"; |
24 |
message[1] = "* Give it another go!"; |
25 |
portrait[0] = 417; |
26 |
portrait[1] = 417; |
27 |
message_end = 1; |
28 |
} |
29 |
else if (hit_count == 2) |
30 |
{ |
31 |
message[0] = "* There ya go!"; |
32 |
message[1] = "* One more!"; |
33 |
portrait[0] = 417; |
34 |
portrait[1] = 417; |
35 |
message_end = 1; |
36 |
} |
37 |
else if (hit_count == 3) |
38 |
{ |
39 |
message[0] = "* Nice shootin'!"; |
40 |
message[1] = "* I'd say ye're a natural."; |
41 |
message[2] = "* I'm impressed, kid!"; |
42 |
portrait[0] = 417; |
43 |
portrait[1] = 417; |
44 |
portrait[2] = 417; |
45 |
message_end = 2; |
46 |
end_fight = true; |
47 |
} |
48 |
} |
49 |
else |
50 |
{ |
51 |
message[0] = "* It's alright, partner."; |
52 |
message[1] = "* Try again!"; |
53 |
portrait[0] = 417; |
54 |
portrait[1] = 417; |
55 |
message_end = 1; |
56 |
} |
57 |
} |
58 |
else if (last_action_selected == "Action 1 Message 0") |
59 |
{ |
60 |
message[0] = "* Uh... actually that's# good!"; |
61 |
message[1] = "* Intimidation of yer# opponent can decrease# their focus!"; |
62 |
message[2] = "* Good thinkin', Clover!"; |
63 |
portrait[0] = 417; |
64 |
portrait[1] = 417; |
65 |
portrait[2] = 417; |
66 |
message_end = 2; |
67 |
} |
68 |
else |
69 |
{ |
70 |
message[0] = "* Let's practice yer# shootin' now."; |
71 |
portrait[0] = 417; |
72 |
message_end = 0; |
73 |
} |
74 |
} |
75 |
message_current = 0; |
76 |
message_draw = ""; |
77 |
increase = global.text_speed; |
78 |
characters = 0; |
79 |
hold = 0; |
80 |
message_length = string_length(message[message_current]); |
81 |
portrait_enabled = true; |
82 |
portrait_image_speed = global.text_speed * global.talk_speed_starlo; |
83 |
portrait_image_index = 0; |
84 |
portrait_image_index_max = 1; |
85 |
portrait_counter = 0; |
86 |
can_talk_no_loop = false; |
87 |
script_execute(scr_generate_text_counters); |
88 |
circle_text_angle = global.circle_text_angle_default; |
89 |
circle_text_angle_direction = 1; |