Back to index

freedink-data  1.08.20080920
Functions
S1-H3-5.c File Reference

Go to the source code of this file.

Functions

void main (void)
void touch (void)

Function Documentation

void main ( void  )

Definition at line 1 of file S1-H3-5.c.

{
 int &man;
 &man = sp(23);
  if (&farmer_quest > 1)
  {
   sp_active(&current_sprite, 0);
   return;   
  }
 sp_touch_damage(&current_sprite, -1);

}
void touch ( void  )

Definition at line 14 of file S1-H3-5.c.

{
  freeze(1);
  //move him a bit?
  if (sp_dir(1, -1) == 8)
  {
   move_stop(1, 2, 177, 1);
  }
  if (sp_dir(1, -1) == 7)
  {
   move_stop(1, 2, 177, 1);
  }
  if (sp_dir(1, -1) == 4)
  {
   move_stop(1, 6, 166, 1);
  }
  say("`7Not so fast, Smallwood!", &man);
  unfreeze(1);
}

Here is the call graph for this function: