| 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[0]) |
| 6 |
{ |
| 7 |
case 0: |
| 8 |
with (msg) |
| 9 |
{ |
| 10 |
talker[0] = other.object_index; |
| 11 |
message[0] = "* Hiya!"; |
| 12 |
message[1] = "* Swell job sitting on# that stool!"; |
| 13 |
message[2] = "* I have a feelin' you'll# be the talk of the town!"; |
| 14 |
message[3] = "* We're gonna have so much# fun training together!"; |
| 15 |
message[4] = "* Hehe..."; |
| 16 |
message[5] = "* Anyway, see ya later!"; |
| 17 |
prt[0] = 455; |
| 18 |
prt[1] = 458; |
| 19 |
prt[2] = 462; |
| 20 |
prt[3] = 462; |
| 21 |
prt[4] = 463; |
| 22 |
prt[5] = 462; |
| 23 |
} |
| 24 |
if (global.player_gold > 0) |
| 25 |
global.player_gold -= 1; |
| 26 |
global.dunes_flag_ext[0] = 1; |
| 27 |
break; |
| 28 |
case 1: |
| 29 |
with (msg) |
| 30 |
{ |
| 31 |
talker[0] = other.object_index; |
| 32 |
message[0] = "* Why are ya lookin' at me# that way?"; |
| 33 |
message[1] = "* I was just being# friendly! Honest!"; |
| 34 |
message[2] = "* It's nice to accept# someone's kind words and# leave it at that."; |
| 35 |
prt[0] = 455; |
| 36 |
prt[1] = 458; |
| 37 |
prt[2] = 455; |
| 38 |
} |
| 39 |
global.dunes_flag_ext[0] = 2; |
| 40 |
break; |
| 41 |
case 2: |
| 42 |
with (msg) |
| 43 |
{ |
| 44 |
talker[0] = other.object_index; |
| 45 |
message[0] = "* I sure am lookin'# forward to training with# you, hehe!"; |
| 46 |
prt[0] = 462; |
| 47 |
} |
| 48 |
break; |
| 49 |
} |