Back to index

freedink-data  1.08.20080920
S4-MD3.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003  int &talker;
00004  &talker = 0;
00005 }
00006 
00007 void touch( void )
00008 {
00009  if (&story > 10)
00010  {
00011   move_stop(1, 2, 318, 1);
00012   say_stop("`9Thank you for feeding us Dink,", &current_sprite);
00013   say_stop("`9We all are in your debt.", &current_sprite);
00014   return;
00015  }
00016  if (&talker == 1)
00017  {
00018   move_stop(1, 2, 318, 1);
00019   say_stop("`9Please, go away.", &current_sprite);
00020   return;
00021  }
00022  freeze(1);
00023  move_stop(1, 2, 318, 1);
00024  sp_dir(1, 8);
00025  say_stop("`9What do you want?", &current_sprite);
00026  choice_start()
00027 (&talker == 0)"Ask to come in"
00028  "Never Mind"
00029  choice_end()
00030   if (&result == 1)
00031   {
00032    say_stop("May I come in?", 1);
00033    wait(250);
00034    say_stop("`9Have you come with food?  My children are starving!", &current_sprite);
00035    wait(250);
00036    say_stop("I ... I don't have any food, I'm sorry.", 1);
00037    say_stop("Why are you starving?", 1);
00038    wait(250);
00039    say_stop("`9I shouldn't talk to you anymore,", &current_sprite);
00040    say_stop("`9please, just go.", &current_sprite);
00041    &talker = 1;
00042   }
00043  wait(250);
00044  unfreeze(1); 
00045 }
00046