Back to index

freedink-data  1.08.20080920
S3-CAMP.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003  if (&mayor == 3)
00004  {
00005   if (&gobpass < 5)
00006   return;
00007 
00008   preload_seq(429);
00009   preload_seq(424);
00010   preload_seq(301);
00011   preload_seq(307);
00012   preload_seq(309);
00013   preload_seq(303);
00014   //Playmidi("Sneaky.mid");
00015   int &evil;
00016   int &evil2;
00017   freeze(1);
00018   //Do the Palette fade ...
00019   &vision = 1;
00020   //Spawn a bad guy
00021   &evil = create_sprite(350, 280, 0, 0, 0);
00022   sp_brain(&evil, 0);
00023   sp_base_walk(&evil, 300);
00024   sp_speed(&evil, 1);
00025   sp_timing(&evil, 0);
00026   //set starting pic
00027   sp_pseq(&evil, 303);
00028   sp_pframe(&evil, 1);
00029   //His friend
00030   &evil2 = create_sprite(620, 50, 0, 0, 0);
00031   sp_brain(&evil2, 0);
00032   sp_base_walk(&evil2, 300);
00033   sp_speed(&evil2, 1);
00034   sp_timing(&evil2, 0);
00035   //set starting pic
00036   sp_pseq(&evil2, 303);
00037   sp_pframe(&evil2, 1);
00038   //Done
00039   move(&evil, 6, 660, 1);
00040   move(&evil2, 4, -20, 1);
00041   wait(3000);
00042   say_stop("This must be it!", 1);
00043   say_stop("I have to make it into that tent.", 1);
00044   move_stop(1, 4, 50, 1);
00045   wait(1000);
00046   move_stop(1, 8, 250, 1);
00047   wait(500);
00048   move_stop(1, 6, 169, 1);
00049   wait(1000);
00050   move_stop(1, 8, 215, 1);
00051   wait(500);
00052   say("Here goes nothing...", 1);
00053   move_stop(&evil2, 2, 270, 1);
00054   move(1, 8, 214, 1);
00055   //Uhhh ??? 
00056   sp_nodraw(1, 1);
00057   move_stop(&evil2, 6, 310, 1);
00058   move(&evil2, 8, 0, 1);
00059   wait(1000);
00060   sp_dir(1, 2);
00061   sp_nodraw(1, 0);
00062   say("Gotta run!!  Gotta run!!", 1);
00063   move_stop(1, 1, 70, 1);
00064   move(&evil2, 2, 370, 1);
00065   say("`5Hey!!", &evil2);
00066   move(1, 2, 410, 1);
00067   fade_down();
00068   //Fade out & stuff
00069  }
00070 }