1 |
if instance_exists(obj_quote_defeat_parent) |
2 |
var text_parent = obj_quote_defeat_parent |
3 |
else |
4 |
text_parent = obj_quote_battle_el_bailador_parent |
5 |
if (instance_exists(text_parent) && instance_exists(obj_quote_bubble_battle)) |
6 |
{ |
7 |
if (text_parent.can_talk == true) |
8 |
{ |
9 |
if (can_talk_no_loop == false) |
10 |
{ |
11 |
image_index = 1 |
12 |
can_talk_no_loop = true |
13 |
} |
14 |
image_speed = global.text_speed * global.talk_speed_el_bailador * text_parent.hold |
15 |
} |
16 |
else |
17 |
{ |
18 |
can_talk_no_loop = false |
19 |
image_speed = 0 |
20 |
image_index = 0 |
21 |
} |
22 |
} |
23 |
else |
24 |
{ |
25 |
can_talk_no_loop = false |
26 |
image_speed = 0 |
27 |
image_index = 0 |
28 |
} |