Back to index

freedink-data  1.08.20080920
S1-GG.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003 int &mrandom;
00004 }
00005 
00006 void hit( void )
00007 {
00008 
00009 &mrandom = random(3, 1);
00010 
00011  if (&mrandom == 1)
00012  say_stop("`4Watch it boy, even my temper may wear eventually.", &current_sprite);
00013  if (&mrandom == 2)
00014  say_stop("`4Oh, a warrior are you? <chuckle>", &current_sprite);
00015  if (&mrandom == 3)
00016  say_stop("`4Nice... Have you been practicing that on your pigs?", &current_sprite);
00017 
00018 
00019 }
00020 
00021 
00022 void talk( void)
00023 {
00024 move_stop(1, 2, 193, 1);
00025 move_stop(1, 8, 190, 1);
00026  if (&story == 5)
00027  {
00028  freeze(1);
00029  &letter = 1;
00030  say_stop("`4Sorry about what happened Dink, I hope you're ok.", &current_sprite);
00031  say_stop("Thanks, I'll be ok.", 1);
00032  wait(250);
00033  say_stop("`4By the way, a letter came for you.  It's at your house,", &current_sprite);
00034  say_stop("`4you should go take a look at it.", &current_sprite);
00035  wait(250);
00036  say_stop("Thanks.", 1);
00037  unfreeze(1);
00038  return;
00039  }
00040 freeze(1);
00041 
00042 
00043 choice_start();
00044 "Ask the guard to let you out."
00045 "Forget it"
00046 choice_end();
00047 wait(200);
00048 if (&result == 1)
00049   {
00050   say_stop("Hey, guard Renton.  I need to go do something, please let me out.", 1);
00051   wait(200);
00052   say_stop("`4It's much too dangerous for a boy out there, Dink.", &current_sprite);
00053   wait(200);
00054   say_stop("Boy?  Please refer to me as warrior from now on.", 1);
00055   wait(200);
00056   say_stop("`4Hardly... go tend your livestock. <chuckle>", &current_sprite);
00057 
00058   }
00059 unfreeze(1);
00060 
00061 
00062 
00063 }