Back to index

freedink-data  1.08.20080920
Functions
S2-FIGHT.c File Reference

Go to the source code of this file.

Functions

void main (void)
void die (void)
void attack (void)

Function Documentation

void attack ( void  )

Definition at line 15 of file S2-FIGHT.c.

{
playsound(36, 22050,0,&current_sprite, 0);
&mcounter = random(4000,0);
sp_attack_wait(&current_sprite, &mcounter);
sp_target(&current_sprite, 1);
}
void die ( void  )

Definition at line 7 of file S2-FIGHT.c.

{
       freeze(&current_sprite);
       say("`1Ahhhhhhh", &current_sprite);
       wait(400);
       sp_active(&current_sprite, 0);
}

Here is the call graph for this function:

void main ( void  )

Definition at line 1 of file S2-FIGHT.c.

{

int &mcounter;
}