| 1 |
event_inherited(); |
| 2 |
if (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 |
if (global.dunes_flag[24] == 1) |
| 7 |
{ |
| 8 |
switch (npc_flag) |
| 9 |
{ |
| 10 |
case 0: |
| 11 |
with (msg) |
| 12 |
{ |
| 13 |
portrait = false; |
| 14 |
sndfnt = 99; |
| 15 |
message[0] = "* Howdy, Deputy!"; |
| 16 |
message[1] = "* You are the deputy, right?"; |
| 17 |
message[2] = "* I heard the squad got real# peeved off after learning# that."; |
| 18 |
message[3] = "* Nyahaha! Don't worry, I# believe in you!"; |
| 19 |
} |
| 20 |
npc_flag = 1; |
| 21 |
break; |
| 22 |
case 1: |
| 23 |
with (msg) |
| 24 |
{ |
| 25 |
portrait = false; |
| 26 |
sndfnt = 99; |
| 27 |
message[0] = "* Nyahaha!"; |
| 28 |
} |
| 29 |
break; |
| 30 |
} |
| 31 |
} |
| 32 |
if (global.dunes_flag[24] == 2) |
| 33 |
{ |
| 34 |
switch (npc_flag) |
| 35 |
{ |
| 36 |
case 0: |
| 37 |
with (msg) |
| 38 |
{ |
| 39 |
portrait = false; |
| 40 |
sndfnt = 99; |
| 41 |
message[0] = "* Howdy, Deputy.\t"; |
| 42 |
message[1] = "* I'm real worried! Worried# sick!\t"; |
| 43 |
message[2] = "* No one can find the Sheriff!# Nyo one at all!\t"; |
| 44 |
message[3] = "* He's gonna return soon, right?# He's gotta!"; |
| 45 |
} |
| 46 |
npc_flag = 1; |
| 47 |
break; |
| 48 |
case 1: |
| 49 |
with (msg) |
| 50 |
{ |
| 51 |
portrait = false; |
| 52 |
sndfnt = 99; |
| 53 |
message[0] = "* Nyohoho."; |
| 54 |
} |
| 55 |
break; |
| 56 |
} |
| 57 |
} |
| 58 |
} |