Back to index

freedink-data  1.08.20080920
S8-DUCK.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003  int &nut;
00004  int &talker;
00005  &talker = 0;
00006 }
00007 
00008 void talk( void )
00009 {
00010  freeze(1);
00011  freeze(&current_sprite);
00012  &nut = sp_dir(1, -1);
00013  if (&talker == 0)
00014  {
00015   say_stop("`3Hi, we are the giant ducks of Koka Isle.", &current_sprite);
00016   wait(250);
00017   say_stop("`3Who are you?", &current_sprite);
00018   wait(500);
00019   sp_dir(1, 2);
00020   wait(1000);
00021   sp_dir(1, &nut);
00022   wait(250);
00023   say_stop("Uh, I'm Dink.", 1);
00024   wait(250);
00025   say_stop("`3Hello Dink.", &current_sprite);
00026  }
00027  unfreeze(1);
00028  unfreeze(&current_sprite);
00029 }
00030 
00031 void hit( void )
00032 {
00033  freeze(&current_sprite);
00034  say_stop("`3Quack.  No!!", &current_sprite);
00035  unfreeze(&current_sprite);
00036 }
00037 
00038 void die ( void )
00039 {
00040   int &hold = sp_editor_num(&current_sprite);
00041   if (&hold != 0)
00042   editor_type(&hold, 6); 
00043 
00044 }
00045