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 |
sprite_index = spr_shufflers_rephil_regular |
8 |
if (instance_exists(obj_quote_battle_shufflers_rephil) && instance_exists(obj_quote_bubble_battle)) |
9 |
{ |
10 |
if (obj_quote_battle_shufflers_rephil.can_talk == true) |
11 |
{ |
12 |
if (can_talk_no_loop == false) |
13 |
{ |
14 |
image_index = 1 |
15 |
can_talk_no_loop = true |
16 |
} |
17 |
image_speed = global.text_speed * global.talk_speed_shufflers_rephil * obj_quote_battle_shufflers_rephil.hold |
18 |
} |
19 |
else |
20 |
{ |
21 |
can_talk_no_loop = false |
22 |
image_speed = 0 |
23 |
image_index = 0 |
24 |
} |
25 |
} |
26 |
else |
27 |
{ |
28 |
can_talk_no_loop = false |
29 |
image_speed = 0 |
30 |
image_index = 0 |
31 |
} |