Back to index

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

Go to the source code of this file.

Functions

void main (void)
void duckdie (void)

Function Documentation

void duckdie ( void  )

Definition at line 10 of file S4-DUCK.c.

{

&save_x = sp_x(&current_sprite, -1);
&save_y = sp_y(&current_sprite, -1);
external("make","foodduck");

if (get_sprite_with_this_brain(3, &current_sprite) == 0)
 {
  //no more brain 3 ducks here, lets rock
spawn("s4-end");

 }
}
void main ( void  )

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

{
sp_hitpoints(&current_sprite, 5);

}