Back to index

freedink-data  1.08.20080920
S4-DG.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003  int &talker;
00004  &talker = 0;
00005 }
00006 
00007 void hit( void )
00008 {
00009    say("`5Please stop hitting me now.", &current_sprite);
00010 
00011 }
00012 
00013 void talk( void )
00014 {
00015  freeze(1);
00016  choice_start()
00017  "Ask what he's guarding"
00018  "Ask about getting in"
00019  "Leave"
00020  choice_end()
00021 
00022   if (&result == 1)
00023   {
00024    say_stop("What are you guarding here?", 1);
00025    wait(250);
00026    say_stop("`5This is the town's duck altar.", &current_sprite);
00027    wait(250);
00028    say_stop("`5We worship them here.", &current_sprite);
00029    wait(250);
00030    say_stop("Oh, I thought it might be a ranch or something.", 1);
00031    wait(250);
00032    say_stop("`5On some occasions we do offer food here to the ducks.", &current_sprite);
00033    wait(250);
00034    say_stop("You give the DUCKS your food?", 1);
00035    wait(250);
00036    say_stop("`5Yes, of course.", &current_sprite);
00037    &talker = 1;
00038   }
00039 
00040   if (&result == 2)
00041   {
00042    say_stop("So how does one get in to see the altar?", 1);
00043    wait(250);
00044    say_stop("`5It is a great honor to worship inside.. one you have not earned.", &current_sprite);
00045    wait(250);
00046    say_stop("`5You can pray to the duck from here.", &current_sprite);
00047   }
00048  unfreeze(1);
00049 }