Back to index

freedink-data  1.08.20080920
Functions
S4-H2P2.c File Reference

Go to the source code of this file.

Functions

void main (void)
void talk (void)
void hit (void)

Function Documentation

void hit ( void  )

Definition at line 38 of file S4-H2P2.c.

{
 if (&story > 10)
 {
  say_stop("`2First feed us, then beat us, is that how it is with you?", &current_sprite);
  reutrn;
 }
 say_stop("`2Strange customs you have.", &current_sprite);
}

Here is the call graph for this function:

void main ( void  )

Definition at line 2 of file S4-H2P2.c.

{
 int &neat;
}
void talk ( void  )

Definition at line 7 of file S4-H2P2.c.

{
 if (&story > 10)
 {
  freeze(1);
  say_stop("`2Thank you, small one.", &current_sprite);
  wait(250);
  say_stop("Smallwood sir.", 1);
  wait(250);
  say_stop("`2Yes.", &current_sprite);
  unfreeze(1);
  return;
 }
 freeze(1);
 &neat = random(3, 1);
 if (&neat == 1)
 {
  say_stop("`2I'm too hungry to talk.", &current_sprite);
 }
 if (&neat == 2)
 {
  say_stop("`2Hello there.", &current_sprite);
 }
 if (&neat == 3)
 {
  say_stop("`2Welcome to our town.", &current_sprite);
 }
 unfreeze(1);
 //unfreeze(&current_sprite);
}

Here is the call graph for this function: