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 |
switch npc_flag |
7 |
{ |
8 |
case 0: |
9 |
with (msg) |
10 |
{ |
11 |
message[0] = "* North Star is the coolest!" |
12 |
message[1] = "* One time, a construction team# was demolishing a building in# New Home." |
13 |
message[2] = "* But uh oh! An infant was in# the way of the building as it# came CRASHING down!" |
14 |
message[3] = "* Suddenly, North Star appeared# and wound his lasso up!" |
15 |
message[4] = "* He wrangled that skyscraper# without breaking a sweat! Yee# haw! Yee haw!" |
16 |
message[5] = "* For saving its life, the# building gave North Star ONE# MILLION G!" |
17 |
message[6] = "* True story! True story!" |
18 |
} |
19 |
npc_flag = 1 |
20 |
break |
21 |
case 1: |
22 |
with (msg) |
23 |
{ |
24 |
message[0] = "* Me and North Star are a lot# alike, don'tcha think?" |
25 |
message[1] = "* The golden complexions, the# hats, the owning of two legs." |
26 |
message[2] = "* I would roleplay as his son if# only he'd let me!" |
27 |
} |
28 |
npc_flag = 2 |
29 |
break |
30 |
case 2: |
31 |
with (msg) |
32 |
{ |
33 |
message[0] = "* North Star's four friends are# OKAY but who cares about# sidekicks?" |
34 |
message[1] = "* I mean, unless I was his# sidekick. I would care about# that A LOT!" |
35 |
} |
36 |
break |
37 |
} |
38 |
|
39 |
} |