| 1 |
var text_parent = 285; |
| 2 |
if (sprite_index != spr_martlet_final_intro_1 && sprite_index != spr_martlet_final_intro_3) |
| 3 |
exit; |
| 4 |
if (instance_exists(text_parent) && text_parent.draw_enabled == true) |
| 5 |
{ |
| 6 |
if (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_martlet * 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 |
} |
| 30 |
} |