Back to index

freedink-data  1.08.20080920
S2-FIGHT.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003 
00004 int &mcounter;
00005 }
00006 
00007 void die( void )
00008 {
00009        freeze(&current_sprite);
00010        say("`1Ahhhhhhh", &current_sprite);
00011        wait(400);
00012        sp_active(&current_sprite, 0);
00013 }
00014 
00015 void attack( void )
00016 {
00017 playsound(36, 22050,0,&current_sprite, 0);
00018 &mcounter = random(4000,0);
00019 sp_attack_wait(&current_sprite, &mcounter);
00020 sp_target(&current_sprite, 1);
00021 }
00022 
00023 
00024