Back to index

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

Go to the source code of this file.

Functions

void main (void)
void die (void)
void touch (void)

Function Documentation

void die ( void  )

Definition at line 9 of file S2-SEC3.c.

{
sp_seq(&missile_target, 20);
playsound(6, 8000,0,&missile_target,0);
wait(500);
wait(500);
playsound(43, 22050,0,0,0);

&save_x = sp_x(&current_sprite, -1);
&save_y = sp_y(&current_sprite, -1);
int &mcrap = create_sprite(&save_x, &save_y, 7, 167, 1);
sp_seq(&mcrap, 167);

sp_brain(&current_sprite, 0);
sp_size(&current_sprite, 100);
sp_touch_damage(&current_sprite, -1);
sp_seq(&current_sprite, 0);
sp_pseq(&current_sprite, 89);
sp_pframe(&current_sprite, 10);

}

Here is the call graph for this function:

void main ( void  )

Definition at line 3 of file S2-SEC3.c.

{
preload_seq(167);

}
void touch ( void  )

Definition at line 31 of file S2-SEC3.c.

{

if (&life < 1) return;
playsound(39, 22050,0,0,0);
script_attach(1000);
&player_map = 69;
sp_x(1, 515);
sp_y(1, 383);
load_screen(69);
draw_screen();
kill_this_task();
}