| 1 |
event_inherited(); |
| 2 |
if (!interact) |
| 3 |
exit; |
| 4 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
| 5 |
switch (global.dunes_flag_ext[2]) |
| 6 |
{ |
| 7 |
case 0: |
| 8 |
with (msg) |
| 9 |
{ |
| 10 |
talker[0] = other.object_index; |
| 11 |
message[0] = "* Hey."; |
| 12 |
message[1] = "* I don't know if you're# aware of this but..."; |
| 13 |
message[2] = "* There's a fun card game# set up in the stable."; |
| 14 |
message[3] = "* My friend runs it while# I oversee the... profits."; |
| 15 |
message[4] = "* You should try it out."; |
| 16 |
prt[0] = 439; |
| 17 |
prt[1] = 437; |
| 18 |
prt[2] = 436; |
| 19 |
prt[3] = 435; |
| 20 |
prt[4] = 436; |
| 21 |
} |
| 22 |
global.dunes_flag_ext[2] = 1; |
| 23 |
break; |
| 24 |
case 1: |
| 25 |
with (msg) |
| 26 |
{ |
| 27 |
talker[0] = other.object_index; |
| 28 |
message[0] = "* To answer the pressing# question:"; |
| 29 |
message[1] = "* No, I won't take my# bandana off."; |
| 30 |
message[2] = "* I enjoy being# mysterious... and# fashionable."; |
| 31 |
prt[0] = 437; |
| 32 |
prt[1] = 439; |
| 33 |
prt[2] = 436; |
| 34 |
} |
| 35 |
global.dunes_flag_ext[2] = 2; |
| 36 |
break; |
| 37 |
case 2: |
| 38 |
with (msg) |
| 39 |
{ |
| 40 |
talker[0] = other.object_index; |
| 41 |
portrait = false; |
| 42 |
sndfnt = 99; |
| 43 |
message[0] = "* I'd rather be left# alone."; |
| 44 |
prt[0] = 437; |
| 45 |
} |
| 46 |
break; |
| 47 |
} |