Back to index

freedink-data  1.08.20080920
S4-H2P1.c
Go to the documentation of this file.
00001 //House 2 script for the mom person
00002 void main( void )
00003 {
00004  int &bad;
00005 preload_seq(331);
00006 preload_seq(221);
00007 }
00008 
00009 void talk( void )
00010 {
00011  if (&story > 10)
00012  {
00013   freeze(1);
00014   say_stop("`5Ahh Dink, how can we ever repay you?", &current_sprite);
00015   say_stop("`5I'm so glad to see my child eat again thanks to you.", &current_sprite);
00016   wait(250);
00017        unfreeze(1);
00018   return;
00019  }
00020  freeze(1);
00021  choice_start()
00022  "See how the family's doing"
00023  "Never mind"
00024  choice_end()
00025   if (&result == 1)
00026   {
00027    say_stop("So how's the store doing?", 1);
00028    wait(250);
00029    say_stop("`5We, we don't have a store sir.", &current_sprite);
00030    wait(250);
00031    say_stop("How are you doing otherwise?  This town seems to be in a depression.", 1);
00032    wait(250);
00033    say_stop("`5Yes well, we give a lot to the ducks.", &current_sprite);
00034    wait(250);
00035    say_stop("Yeah, yeah, the ducks I know ...", 1);
00036    say_stop("what the hell have they given back to you?", 1);
00037   }
00038  unfreeze(1);
00039  //unfreeze(&current_sprite);
00040 }
00041 
00042 void hit( void )
00043 {
00044  &bad = random(3, 1);
00045  if (&story > 10)
00046  {
00047   say_stop("`5But after saving us??  Nooo!", &current_sprite);
00048   return;
00049  }
00050  if (&bad == 1)
00051  {
00052   say_stop("`5Ahhh, No!", &current_sprite);
00053   say_stop("`5We need food, not hate.", &current_sprite);
00054  }
00055  if (&bad == 2)
00056  {
00057   say_stop("`5Not the fists, not the fists!!", &current_sprite);
00058  }
00059  if (&bad == 3)
00060  {
00061   say_stop("`5Please, don't beat a starving woman!", &current_sprite);
00062  }
00063 }