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