Back to index

freedink-data  1.08.20080920
Functions
S1-HOLE.c File Reference

Go to the source code of this file.

Functions

void main (void)
void touch (void)

Function Documentation

void main ( void  )

Definition at line 1 of file S1-HOLE.c.

{
preload_seq(452);
}
void touch ( void  )

Definition at line 7 of file S1-HOLE.c.

{
if (&life < 1) return;

freeze(1);
sp_x(1, 274);
sp_y(1, 195);
sp_seq(1, 452);
sp_frame(1, 1);
sp_nocontrol(1, 1); //dink can't move until anim is done!
sp_touch_damage(&current_sprite, 0);
sp_brain(1, 0);
wait(2000);
sp_brain(1, 1);
&player_map = 131;
sp_x(1, 289);
sp_y(1, 377);
load_screen(131);
draw_screen();
}

Here is the call graph for this function: