Back to index

freedink-data  1.08.20080920
Functions
EN-SLIMG.c File Reference

Go to the source code of this file.

Functions

void main (void)
void hit (void)
void die (void)

Function Documentation

void die ( void  )

Definition at line 34 of file EN-SLIMG.c.

{
  int &hold = sp_editor_num(&current_sprite);
  if (&hold != 0)
  editor_type(&hold, 6); 
}
void hit ( void  )

Definition at line 26 of file EN-SLIMG.c.

{
sp_target(&current_sprite, &enemy_sprite);
//lock on to the guy who just hit us
//playsound
sp_timing(&current_sprite, 0);
}
void main ( void  )

Definition at line 3 of file EN-SLIMG.c.

{
sp_brain(&current_sprite, 9);
sp_speed(&current_sprite, 1);
sp_timing(&current_sprite, 10);
sp_exp(&current_sprite, 3);
sp_base_walk(&current_sprite, 670);
sp_base_death(&current_sprite, 680);
sp_base_attack(&current_sprite, -1);
sp_touch_damage(&current_sprite, 3);
sp_hitpoints(&current_sprite, 13);
preload_seq(671);
preload_seq(673);
preload_seq(681);
preload_seq(683);

if (random(2,1) == 1)
 {
 sp_target(&current_sprite, 1);
 }
}

Here is the call graph for this function: