1 | event_inherited() |
2 | if (interact && (!can_talk)) |
3 | { |
4 | can_talk = true |
5 | is_talking = 1 |
6 | scr_text() |
7 | } |
8 | if can_talk |
9 | { |
10 | switch npc_flag |
11 | { |
12 | case 0: |
13 | with (msg) |
14 | { |
15 | message[0] = "* Hey, thanks for saving me back# there!" |
16 | message[1] = "* Now I can stand in place at a# higher elevation." |
17 | } |
18 | can_talk = false |
19 | npc_flag++ |
20 | break |
21 | case 1: |
22 | with (msg) |
23 | message[0] = "* Work is rad." |
24 | can_talk = false |
25 | break |
26 | } |
27 | |
28 | } |