1 |
event_inherited() |
2 |
if interact |
3 |
{ |
4 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
5 |
is_talking = 1 |
6 |
with (msg) |
7 |
{ |
8 |
switch other.npc_flag |
9 |
{ |
10 |
case 0: |
11 |
message[0] = "* Bro, I came to the club to let# loose and boogie, not wait in# line!" |
12 |
message[1] = "* \"It's crab hour!\" is what they# keep telling me. \"It's crab# hour!\"" |
13 |
other.npc_flag++ |
14 |
break |
15 |
case 1: |
16 |
message[0] = "* Who says I'm NOT a crab? Like,# they sure are putting me in a# crabby mood!" |
17 |
message[1] = "* That, and I haven't trimmed my# fingernails in months." |
18 |
message[2] = "* I could pinch someone so hard# with these puppies." |
19 |
other.npc_flag++ |
20 |
break |
21 |
case 2: |
22 |
message[0] = "* The moment crab hour ends is# the moment I seize the floor and# get DOWN." |
23 |
message[1] = "* You can quote me on that, bro." |
24 |
break |
25 |
} |
26 |
|
27 |
} |
28 |
} |