Back to index

freedink-data  1.08.20080920
S4-H2P3.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003 }
00004 
00005 void talk( void )
00006 {
00007  freeze(1);
00008  freeze(&current_sprite);
00009  if (&story > 10)
00010  {
00011   say_stop("Hi little girl ..", 1);
00012   wait(250);
00013   say_stop("`1Hi mister, thanks for letting us all eat.", &current_sprite);
00014   wait(250);
00015   say_stop("You're welcome.", 1);
00016   unfreeze(1);
00017   unfreeze(&current_sprite);
00018   return;
00019  }
00020  choice_start()
00021  "Say hi"
00022  "Ask about food"
00023  "Never mind"
00024  choice_end()
00025   if (&result == 1)
00026   {
00027    say_stop("Hi little girl ..", 1);
00028    wait(250);
00029    say_stop("`1Hi mister.", &current_sprite);
00030   }
00031   if (&result == 2)
00032   {
00033    say_stop("Do you get to eat much little girl?", 1);
00034    wait(250);
00035    say_stop("`1Not much lately, mommy says we can't eat that much,", &current_sprite);
00036    say_stop("`1because of the ducks.", &current_sprite);
00037    wait(250);
00038    say_stop("`1I don't like the ducks.", &current_sprite);
00039   }
00040  unfreeze(1);
00041  unfreeze(&current_sprite);
00042 }
00043 
00044 void hit( void )
00045 {
00046  say_stop("`2No mister!", &current_sprite);
00047 }