Back to index

freedink-data  1.08.20080920
DAM-ICEE.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003 int &mholdx;
00004 int &mholdy;
00005 
00006 wait(1);
00007 
00008  if (&player_map == 579)
00009    {
00010     //are we about to free the guy from prison?
00011 &mholdx = sp_x(&current_sprite, -1);
00012 &mholdy = sp_y(&current_sprite, -1);
00013     //they are feeding the pigs.. maybe...
00014 
00015 int &junk = inside_box(&mholdx,&mholdy, 300, 195, 388, 244);
00016     if (&junk == 1)
00017     {
00018     freeze(1);
00019     wait(200);
00020 preload_seq(167);
00021     playsound(18, 8000,0,0,0);
00022 int &mcrap = create_sprite(340, 200, 7, 167, 1);
00023 sp_seq(&mcrap, 167);
00024 wait(200);
00025 
00026     playsound(18, 8000,0,0,0);
00027 int &mcrap = create_sprite(360, 220, 7, 167, 1);
00028 sp_seq(&mcrap, 167);
00029 wait(200);
00030 
00031     playsound(18, 8000,0,0,0);
00032 int &mcrap = create_sprite(370, 240, 7, 167, 1);
00033 sp_seq(&mcrap, 167);
00034 wait(200);
00035 
00036     playsound(18, 8000,0,0,0);
00037 int &mcrap = create_sprite(360, 220, 7, 167, 1);
00038 sp_seq(&mcrap, 167);
00039 wait(200);
00040 
00041     playsound(18, 8000,0,0,0);
00042 int &mcrap = create_sprite(340, 200, 7, 167, 1);
00043 sp_seq(&mcrap, 167);
00044 wait(200);
00045 int &mycrap = &current_sprite;
00046 script_attach(1000);
00047 
00048 sp_brain(&mycrap, 12);
00049 sp_brain_parm(&mycrap, 9);
00050 
00051 &mcrap = sp(22);
00052 sp_hard(&mcrap, 1);
00053 draw_hard_sprite(&mcrap);
00054 sp_active(&mcrap, 0);
00055 playsound(43, 22050,0,0,0);
00056 
00057 
00058    say_stop("`5Woah!", &temp1hold);
00059     wait(200);
00060     move_stop(&temp1hold, 1, 300, 1);
00061     say_stop("`5Woohoo!  I'm a free man at last!", &temp1hold);
00062     wait(200);
00063     say_stop("`5I must now complete my mission.", &temp1hold);
00064     wait(200);
00065     say_stop("Mission? To what, destroy the Cast?", 1);
00066     wait(200);
00067     move_stop(&temp1hold, 7, 250, 1);
00068     say_stop("`5Actually, it was to stop a freak named Bishop Nelson.", &temp1hold);
00069     wait(200);
00070     move_stop(&temp1hold, 4, 80, 1);
00071     say_stop("Wait..  I don't understand!", 1);
00072     say_stop("`5It's best that way.  Now follow me, I'll get you out of here.", &temp1hold);
00073     move_stop(&temp1hold, 4, -100, 1);
00074     sp_active(&temp1hold);
00075     unfreeze(1);
00076 
00077 sp_brain(&current_sprite, 12);
00078 sp_brain_parm(&current_sprite, 9);
00079  &caveguy = 5;
00080 
00081   kill_this_task();
00082    return;
00083     }
00084 
00085    }
00086 
00087 
00088 
00089 
00090 wait(5000);
00091 
00092 
00093 sp_brain(&current_sprite, 12);
00094 sp_brain_parm(&current_sprite, 9);
00095 
00096 }