1 |
event_inherited(); |
2 |
if (obj_npc_salloon_card1.interact || obj_npc_salloon_card2.interact || obj_npc_salloon_card3.interact) |
3 |
{ |
4 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
5 |
is_talking = 1; |
6 |
switch (npc_flag) |
7 |
{ |
8 |
case 0: |
9 |
with (msg) |
10 |
{ |
11 |
talker[0] = -4; |
12 |
talker[1] = 35; |
13 |
message[0] = "* (Several monsters are enjoying# a nice, fair game of# poker.)"; |
14 |
message[1] = "* ...How do I keep losing?"; |
15 |
position = 1; |
16 |
} |
17 |
npc_flag = 1; |
18 |
break; |
19 |
case 1: |
20 |
with (msg) |
21 |
{ |
22 |
talker[0] = -4; |
23 |
talker[1] = 643; |
24 |
message[0] = "* (Things are heating up! It# could be anyone's# game!)"; |
25 |
message[1] = "* Shucks, I might have to take# out a loan if I wanna keep this# up!"; |
26 |
position = 1; |
27 |
} |
28 |
npc_flag = 2; |
29 |
break; |
30 |
case 2: |
31 |
with (msg) |
32 |
{ |
33 |
talker[0] = -4; |
34 |
talker[1] = 1738; |
35 |
message[0] = "* (Looks like we have a# winner!)"; |
36 |
message[1] = "* Well played and well payed,# boys!"; |
37 |
position = 1; |
38 |
} |
39 |
break; |
40 |
} |
41 |
} |