Back to index

freedink-data  1.08.20080920
Functions
S8-DUCK.c File Reference

Go to the source code of this file.

Functions

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

Function Documentation

void die ( void  )

Definition at line 38 of file S8-DUCK.c.

{
  int &hold = sp_editor_num(&current_sprite);
  if (&hold != 0)
  editor_type(&hold, 6); 

}
void hit ( void  )

Definition at line 31 of file S8-DUCK.c.

{
 freeze(&current_sprite);
 say_stop("`3Quack.  No!!", &current_sprite);
 unfreeze(&current_sprite);
}

Here is the call graph for this function:

void main ( void  )

Definition at line 1 of file S8-DUCK.c.

{
 int &nut;
 int &talker;
 &talker = 0;
}
void talk ( void  )

Definition at line 8 of file S8-DUCK.c.

{
 freeze(1);
 freeze(&current_sprite);
 &nut = sp_dir(1, -1);
 if (&talker == 0)
 {
  say_stop("`3Hi, we are the giant ducks of Koka Isle.", &current_sprite);
  wait(250);
  say_stop("`3Who are you?", &current_sprite);
  wait(500);
  sp_dir(1, 2);
  wait(1000);
  sp_dir(1, &nut);
  wait(250);
  say_stop("Uh, I'm Dink.", 1);
  wait(250);
  say_stop("`3Hello Dink.", &current_sprite);
 }
 unfreeze(1);
 unfreeze(&current_sprite);
}

Here is the call graph for this function: