Back to index

freedink-data  1.08.20080920
S1-H2-O.c
Go to the documentation of this file.
00001 //old woman who has a pet duck
00002 void main( void )
00003 {
00004  if (&old_womans_duck == 5)
00005  {
00006   say("`3Hello murderer!!", &current_sprite);
00007  
00008  }
00009 
00010  if (&old_womans_duck == 0)
00011  {
00012   say("`3Why hello, Dink.", &current_sprite);
00013  
00014  }
00015 
00016  if (&old_womans_duck == 1)
00017  {
00018   say("`3Oh Dink, I'm so worried - have you found him?", &current_sprite);
00019  }
00020 
00021  if (&old_womans_duck == 2)
00022  {
00023   &old_womans_duck = 4;
00024   say_stop("`3Oh Dink, look who is here!", &current_sprite);
00025   wait(200);
00026   say("`3Also Dink, your mother was looking for you.", &current_sprite);
00027  }
00028 }
00029 
00030 void talk( void )
00031 {
00032 
00033 if (&old_womans_duck == 5)
00034   {
00035    say("`3Get away from me!", &current_sprite);
00036    return;
00037   }
00038 
00039 
00040 
00041 
00042 if (&story > 3)
00043   {
00044   say_stop("`3I'm so sorry about your mother Dink,", &current_sprite);
00045   wait(200);
00046   say_stop("`3she was a good woman.", &current_sprite);
00047   if (&old_womans_duck == 3)
00048    {
00049    say_stop("`3Kinda funny, my duck missing and your Mom dead.", &current_sprite);
00050    }
00051   if (&old_womans_duck == 5)
00052    {
00053    say_stop("`3Kinda funny, my duck and your Mom dead.", &current_sprite);
00054    }
00055  // goto talk;
00056   unfreeze(&current_sprite);
00057   unfreeze(1);
00058 
00059   return;
00060   }
00061 
00062 if (&old_womans_duck == 2)
00063   {
00064   say_stop("`3I'm so grateful to you, Dink!  You are such a dear!", &current_sprite);
00065   unfreeze(&current_sprite);
00066   unfreeze(1);
00067   return;
00068   }
00069 
00070 if (&old_womans_duck == 4)
00071   {
00072   say_stop("`3I'm so grateful to you, Dink!  You are wonderful!", &current_sprite);
00073   unfreeze(&current_sprite);
00074   unfreeze(1);
00075   return;
00076 
00077   }
00078 
00079 
00080 if (&old_womans_duck == 3)
00081   {
00082   say_stop("`3I wonder where my duck is?", &current_sprite);
00083 
00084   unfreeze(&current_sprite);
00085   unfreeze(1);
00086  say("<chortles>", 1);
00087   return;
00088   }
00089 
00090 
00091 
00092 if (&old_womans_duck == 1)
00093   {
00094   say_stop("`3You must keep searching for Quackers!  I loved him!", &current_sprite);
00095   unfreeze(&current_sprite);
00096   unfreeze(1);
00097   return;
00098   }
00099 
00100 talk:
00101 freeze(1);
00102 freeze(&current_sprite);
00103 choice_start()
00104 "Ask about her well being"
00105 (&old_womans_duck == 0)"Ask after her pet"
00106 "Inquire about all her bottles"
00107 "Leave"
00108 choice_end()
00109 
00110 if (&result == 4)
00111   {
00112 
00113   unfreeze(&current_sprite);
00114   unfreeze(1);
00115 
00116   }
00117 
00118 wait(300);
00119 if (&result == 1)
00120  {
00121   say_stop("How are you today, Ethel?", 1); 
00122   wait(500);
00123   if (&old_womans_duck == 0)
00124   {
00125   say_stop("`3Not so good, Dink.  Little Quackers is missing!", &current_sprite);
00126   unfreeze(&current_sprite);
00127   unfreeze(1);
00128   return;
00129   }
00130   say_stop("`3I'm fine Dink, thank you for asking.", &current_sprite);
00131  }
00132 
00133 if (&result == 2)
00134  {
00135   say_stop("Where is the little one today?", 1); 
00136   wait(500);
00137   say_stop("`3Quackers is gone!  Will you help me find him?", &current_sprite);
00138   wait(500);
00139   choice_start()
00140   "Agree whole heartedly"
00141   "Barely agree"
00142   "Tell her where she can stick 'Quackers'"
00143   choice_end()
00144   wait(300);
00145 
00146   if (&result == 1)
00147    {
00148   say_stop("I will find him at once dear Ethel, do not doubt this!", 1); 
00149   wait(500);
00150   say_stop("`3Thank you Dink!", &current_sprite);
00151   wait(500);
00152   &old_womans_duck = 1;
00153   }
00154 
00155   if (&result == 2)
00156    {
00157   say_stop("Yeah, I guess if I see 'em I'll send him home.  Maybe.", 1); 
00158   wait(500);
00159   say_stop("`3I see...thank.. you .. I guess.", &current_sprite);
00160   wait(500);
00161   &old_womans_duck = 1;
00162   }
00163   if (&result == 3)
00164    {
00165   say_stop("You're pathetic.  Find your own duck.", 1); 
00166   wait(500);
00167   say_stop("`3I.. I... didn't know... <begins to tear up>", &current_sprite);
00168   wait(500);
00169   unfreeze(1);
00170   unfreeze(&current_sprite);
00171   return;
00172   }
00173 }
00174 if (&result == 3)
00175  { 
00176   say_stop("Hey Ethel, what's with all the spirits on the wall there?", 1);
00177   say_stop("You really like to party don't you?", 1);
00178   wait(200);
00179   say_stop("`3What Dink?", &current_sprite);
00180   wait(200);
00181   say_stop("You know, all drowning away your problems on the weekend", 1);
00182   say_stop("waking up with guys you don't even know.", 1);
00183   say_stop("Ahh the regrets, right Ethel?", 1);
00184   wait(200);
00185   say_stop("`3Dink ..", &current_sprite);
00186   say_stop("`3You've got problems.", &current_sprite);
00187  }
00188 
00189 
00190 }
00191 
00192   unfreeze(&current_sprite);
00193   unfreeze(1);
00194 }
00195