1 | event_inherited(); |
2 | if (interact) |
3 | { |
4 | is_talking = 1; |
5 | scr_text(); |
6 | switch (npc_flag) |
7 | { |
8 | case 0: |
9 | with (msg) |
10 | { |
11 | portrait = false; |
12 | sndfnt = 99; |
13 | message[0] = "* I'm famished.\t"; |
14 | message[1] = "* 'Boutta yomp on some rocks!"; |
15 | } |
16 | npc_flag++; |
17 | break; |
18 | case 1: |
19 | with (msg) |
20 | message[0] = "* I hope they don't dock pay for# eating the workplace..."; |
21 | break; |
22 | } |
23 | } |
24 | if (is_talking == 1) |
25 | sprite_index = spr_miner_snake_talk; |
26 | else |
27 | sprite_index = spr_miner_snake; |