Back to index

freedink-data  1.08.20080920
S1-HOLE.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003 preload_seq(452);
00004 }
00005 
00006 
00007 void touch( void )
00008 {
00009 if (&life < 1) return;
00010 
00011 freeze(1);
00012 sp_x(1, 274);
00013 sp_y(1, 195);
00014 sp_seq(1, 452);
00015 sp_frame(1, 1);
00016 sp_nocontrol(1, 1); //dink can't move until anim is done!
00017 sp_touch_damage(&current_sprite, 0);
00018 sp_brain(1, 0);
00019 wait(2000);
00020 sp_brain(1, 1);
00021 &player_map = 131;
00022 sp_x(1, 289);
00023 sp_y(1, 377);
00024 load_screen(131);
00025 draw_screen();
00026 }