| 1 |
if (instance_exists(obj_quote_battle_shufflers_rephil) && instance_exists(obj_quote_bubble_battle)) |
| 2 |
{ |
| 3 |
if (sprite_index != obj_quote_battle_shufflers_rephil.portrait[obj_quote_battle_shufflers_rephil.message_current]) |
| 4 |
sprite_index = obj_quote_battle_shufflers_rephil.portrait[obj_quote_battle_shufflers_rephil.message_current]; |
| 5 |
} |
| 6 |
else |
| 7 |
{ |
| 8 |
sprite_index = spr_shufflers_rephil_regular; |
| 9 |
} |
| 10 |
if (instance_exists(obj_quote_battle_shufflers_rephil) && instance_exists(obj_quote_bubble_battle)) |
| 11 |
{ |
| 12 |
if (obj_quote_battle_shufflers_rephil.can_talk == true) |
| 13 |
{ |
| 14 |
if (can_talk_no_loop == false) |
| 15 |
{ |
| 16 |
image_index = 1; |
| 17 |
can_talk_no_loop = true; |
| 18 |
} |
| 19 |
image_speed = global.text_speed * global.talk_speed_shufflers_rephil * obj_quote_battle_shufflers_rephil.hold; |
| 20 |
} |
| 21 |
else |
| 22 |
{ |
| 23 |
can_talk_no_loop = false; |
| 24 |
image_speed = 0; |
| 25 |
image_index = 0; |
| 26 |
} |
| 27 |
} |
| 28 |
else |
| 29 |
{ |
| 30 |
can_talk_no_loop = false; |
| 31 |
image_speed = 0; |
| 32 |
image_index = 0; |
| 33 |
} |