| 1 | event_inherited(); | 
    
    
        | 2 | if (interact) | 
    
    
        | 3 | { | 
    
    
        | 4 |     scr_textscr_text();function 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 |                 portrait = false; | 
    
    
        | 12 |                 sndfnt = 99; | 
    
    
        | 13 |                 message[0] = "* Say, another explorer in this#  neck of the caves?"; | 
    
    
        | 14 |                 message[1] = "* Pleased to meet ya!"; | 
    
    
        | 15 |                 message[2] = "* You wouldn't be in the#  stone-moving business, would#  you?"; | 
    
    
        | 16 |                 message[3] = "* Ha! Only kidding around!"; | 
    
    
        | 17 |                 message[4] = "* This morning, I set out on an#  expedition to find new wares#  for my shop."; | 
    
    
        | 18 |                 message[5] = "* Right as I passed through that#  door there, it caved in!"; | 
    
    
        | 19 |                 message[6] = "* Close one, huh?"; | 
    
    
        | 20 |                 message[7] = "* Sorry universe, but you won't#  do me in that easily!"; | 
    
    
        | 21 |                 message[8] = "* Wa ha ha!"; | 
    
    
        | 22 |             } | 
    
    
        | 23 |             npc_flag = 1; | 
    
    
        | 24 |             break; | 
    
    
        | 25 |         case 1: | 
    
    
        | 26 |             waiter = 1; | 
    
    
        | 27 |             break; | 
    
    
        | 28 |         case 2: | 
    
    
        | 29 |             with (msg) | 
    
    
        | 30 |             { | 
    
    
        | 31 |                 portrait = false; | 
    
    
        | 32 |                 sndfnt = 99; | 
    
    
        | 33 |                 message[0] = "* If you're ever in Waterfall,#  be sure to stop by my shop!"; | 
    
    
        | 34 |                 message[1] = "* Got plenty o'wares to sell ya!"; | 
    
    
        | 35 |                 message[2] = "* No better place your allowance#  could go!"; | 
    
    
        | 36 |             } | 
    
    
        | 37 |             npc_flag = 3; | 
    
    
        | 38 |             break; | 
    
    
        | 39 |         case 3: | 
    
    
        | 40 |             with (msg) | 
    
    
        | 41 |             { | 
    
    
        | 42 |                 portrait = false; | 
    
    
        | 43 |                 sndfnt = 99; | 
    
    
        | 44 |                 message[0] = "* Oh, do you want me to say my#  catchphrase as a farewell?"; | 
    
    
        | 45 |                 message[1] = "* Alright then! Ready?"; | 
    
    
        | 46 |                 message[2] = "* Let justice prevail!!!"; | 
    
    
        | 47 |                 message[3] = "* ..."; | 
    
    
        | 48 |                 message[4] = "* Or was it \"Let justice be#  done\"?"; | 
    
    
        | 49 |                 message[5] = "* Could've also been \"Here comes#  the hammer.\""; | 
    
    
        | 50 |                 message[6] = "* ..."; | 
    
    
        | 51 |                 message[7] = "* What can I say? I never could#  decide on my catchphrase!"; | 
    
    
        | 52 |                 message[8] = "* Wa ha ha!"; | 
    
    
        | 53 |             } | 
    
    
        | 54 |             npc_flag = 4; | 
    
    
        | 55 |             break; | 
    
    
        | 56 |         case 4: | 
    
    
        | 57 |             with (msg) | 
    
    
        | 58 |             { | 
    
    
        | 59 |                 portrait = false; | 
    
    
        | 60 |                 sndfnt = 99; | 
    
    
        | 61 |                 message[0] = "* Be careful out there, kid!"; | 
    
    
        | 62 |             } | 
    
    
        | 63 |             break; | 
    
    
        | 64 |     } | 
    
    
        | 65 | } | 
    
    
        | 66 | if (waiter == 1) | 
    
    
        | 67 | { | 
    
    
        | 68 |     scr_textscr_text();function scr_text ()
{
    if (!instance_exists(obj_dialogue))
        msg = instance_create(x, y, obj_dialogue);
} | 
    
    
        | 69 |     with (msg) | 
    
    
        | 70 |     { | 
    
    
        | 71 |         portrait = false; | 
    
    
        | 72 |         sndfnt = 99; | 
    
    
        | 73 |         message[0] = "* What's a young'n like you#  doing out here anyway?"; | 
    
    
        | 74 |         message[1] = "* Surely it wasn't to meet ol'#  Gerson, was it?"; | 
    
    
        | 75 |         message[2] = "* To hear one of my famous#  stories?"; | 
    
    
        | 76 |         message[3] = "* Surely not!"; | 
    
    
        | 77 |         ch_msg = 3; | 
    
    
        | 78 |         ch[1] = "Stories?"; | 
    
    
        | 79 |         ch[2] = "I should\ngo"; | 
    
    
        | 80 |         if (outcome == 1) | 
    
    
        | 81 |         { | 
    
    
        | 82 |             message[4] = "* Yes! I have many great stories#  of the old days."; | 
    
    
        | 83 |             message[5] = "* Though, at this point, they're#  more like legends!"; | 
    
    
        | 84 |             message[6] = "* You see, I used to be a hero.#  The Hammer of Justice!"; | 
    
    
        | 85 |             message[7] = "* I'd go ‘round, day and night,#  walloping any bad guys that#  needed walloping."; | 
    
    
        | 86 |             message[8] = "* This one time, I-"; | 
    
    
        | 87 |             message[9] = "* I... er..."; | 
    
    
        | 88 |             message[10] = "* I just forgot all of my#  stories."; | 
    
    
        | 89 |             message[11] = "* Wa ha ha!!"; | 
    
    
        | 90 |             other.npc_flag = 2; | 
    
    
        | 91 |             other.waiter = 0; | 
    
    
        | 92 |         } | 
    
    
        | 93 |         if (outcome == 2) | 
    
    
        | 94 |         { | 
    
    
        | 95 |             message[4] = "* Hey, I would too if I could,#  wa ha ha!"; | 
    
    
        | 96 |             message[5] = "* If my memory serves, and it#  usually doesn't, Mining Co. is#  stationed around here."; | 
    
    
        | 97 |             message[6] = "* They could clear this cave in#  a jiff!"; | 
    
    
        | 98 |             message[7] = "* Eh, well... the geology here#  IS interesting."; | 
    
    
        | 99 |             message[8] = "* Maybe I'll stay a while, ya#  know?"; | 
    
    
        | 100 |             message[9] = "* Take my situation as a#  blessing in disguise!"; | 
    
    
        | 101 |             other.npc_flag = 2; | 
    
    
        | 102 |             other.waiter = 0; | 
    
    
        | 103 |         } | 
    
    
        | 104 |     } | 
    
    
        | 105 | } |