Back to index

freedink-data  1.08.20080920
S1-H3-L.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003  int &say;
00004  //playsound("cry.wav");
00005  &say = random(4,1);
00006  if (&say == 1)
00007  {
00008  say_stop("`3Oh Dink, it's you..", &current_sprite);
00009  wait(250);
00010  }
00011 }
00012 
00013 void talk( void )
00014 {
00015  freeze(1);
00016  freeze(&current_sprite);
00017  choice_start()
00018  (&mlibby == 0) "Coax her into telling you why she's upset"
00019  "Try to comfort her"
00020 (&farmer_quest == 2)"Brag about how you cleared their farm"
00021  "Never mind"
00022  choice_end()
00023  wait(300);
00024   if (&result == 1)
00025   {
00026          say_stop("Libby, what's wrong?  Why are you so upset?", 1);
00027          say_stop("`3Nothing Dink, you wouldn't understand.", &current_sprite);
00028          wait(250);
00029          if (&gossip == 0)
00030          {
00031                 unfreeze(1);
00032                 unfreeze(&current_sprite);
00033                 return;
00034          }
00035          &mlibby = 1;
00036          say_stop("It's your father isn't it?  Does he do anything to you?", 1);
00037          wait(250);
00038          say_stop("`3What?  What are you talking about?", &current_sprite);
00039          say_stop("I've heard .. rumors Libby, it's okay to admit it you know.", 1);
00040          wait(250);
00041          say_stop("`3Admit?  Admit what?", &current_sprite);
00042          say_stop("That your father hits you.", 1);
00043          say_stop("`3You fool, of course not!!  He doesn't do that!!", &current_sprite);
00044          say_stop("`3I'm crying because my father's so upset.", &current_sprite);
00045          wait(250);
00046          say_stop("Oh ... I .... see.", 1);
00047           say_stop("`3<sniff>", &current_sprite);
00048          say_stop("Is your father upset because you won't satisfy him?", 1);
00049          wait(250);
00050          say_stop("`3DINK!!  What the hell's wrong with you??", &current_sprite);
00051          say_stop("`3It's been exactly one year since Mother died, that's why.", &current_sprite);
00052          wait(200);
00053          say_stop("Uhhh.  I ... uhm ...", 1);
00054          wait(250);
00055          say_stop("Oh", 1);
00056          wait(200);
00057          choice_start()
00058  "Try to comfort her about her family"
00059  "Apologize for being an ass"
00060       choice_end()
00061       wait(300);
00062          if (&result == 1)
00063          {
00064                 say_stop("I'm sorry about your mother.  But I know how you feel", 1);
00065                 say_stop("I'm pretty upset myself you know.", 1);
00066                 say_stop("`3Thank you Dink, you've made me happy.", &current_sprite);
00067                   unfreeze(1);
00068                   unfreeze(&current_sprite);
00069                 return;
00070 
00071          }
00072          if (&result == 2)
00073          {
00074                   say_stop("Uhh, hehe, sorry for being so insensitive and saying those things.", 1);
00075                 say_stop("Guess I shouldn't listen to rumors so much.", 1);
00076                 wait(250);
00077                 say_stop("Uhh .. hehe ..he ..", 1);
00078                 say_stop("Uhhhhh...", 1);
00079                 say_stop("Oh boy.", 1);
00080                   unfreeze(1);
00081                   unfreeze(&current_sprite);
00082                 return;
00083          }
00084   }
00085   if (&result == 2)
00086   {
00087          say_stop("Don't cry Libby.  It's okay whatever it is.", 1);
00088          say_stop("Sometimes bad things just happen to us, we just", 1);
00089           say_stop("have to learn to persevere through them.", 1);
00090          wait(250);
00091          say_stop("`3Thanks Dink, that's kind of you.", &current_sprite);
00092          wait(250);
00093   }      
00094   if (&result == 3)
00095   {
00096           say_stop("So I guess you noticed that your farm is doing better now huh?", 1);
00097          wait(250);
00098          say_stop("You know that was my handiwork out there.", 1);
00099           say_stop("`3Pretty good...", &current_sprite);
00100           say_stop("`3...compared to your usual.", &current_sprite);
00101          wait(250);
00102           say_stop("Dohh!", 1);
00103           
00104   }
00105   if (&result == 4)
00106   {
00107           say_stop("Uh, never mind.  I have to get going now.", 1);
00108   }
00109   unfreeze(1);
00110   unfreeze(&current_sprite);
00111 }
00112 
00113 void hit( void )
00114 {
00115  &say = random(6,1)
00116   if (&say == 1)
00117   {
00118    say_stop("You know I hate to do this to you baby.", 1);
00119    return;
00120   }
00121  say_stop("`3Noo Dink!!  What's your problem...", &current_sprite);
00122 }