Back to index

freedink-data  1.08.20080920
S8-DUCK3.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003 }
00004 
00005 void talk( void )
00006 {
00007  freeze(1);
00008  freeze(&current_sprite);
00009  say_stop("`3Hello there.", &current_sprite);
00010  wait(250);
00011  say_stop("Hi, who are you?", 1);
00012  wait(250)
00013  say_stop("`3I'm the mother duck.", &current_sprite);
00014  wait(250);
00015  say_stop("Oh, I see.", 1);
00016  wait(250);
00017  say_stop("And how are your kids doing?", 1);
00018  wait(250);
00019  say_stop("`3They're fine.", &current_sprite);
00020  wait(250);
00021  say_stop("Hey, that's great.", 1);
00022  unfreeze(1);
00023  unfreeze(&current_sprite);
00024 }
00025              
00026 void hit( void )
00027 {
00028  freeze(&current_sprite);
00029  say_stop("Yeah, this is fun!", 1);
00030  unfreeze(&current_sprite);
00031 }
00032 
00033 void die ( void )
00034 {
00035   int &hold = sp_editor_num(&current_sprite);
00036   if (&hold != 0)
00037   editor_type(&hold, 6); 
00038 
00039 }
00040 
00041 
00042