Back to index

freedink-data  1.08.20080920
S5-GUY.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003  //setup guy
00004 
00005  sp_base_walk(&current_sprite, 410);
00006  sp_speed(&current_sprite, 1);
00007  sp_brain(&current_sprite, 16);
00008 
00009  preload_seq(411);
00010  preload_seq(413);
00011  preload_seq(415);
00012  preload_seq(417);
00013  preload_seq(419);
00014 
00015 wait(10);
00016 
00017 if (&s5-jop == 1)
00018   {
00019    freeze(&temp2hold);
00020    freeze(&temp1hold);
00021    freeze(1);
00022    sp_dir(&temp2hold, 3);
00023 
00024     sp_dir(&temp1hold, 9);
00025    wait(700);
00026 
00027    say_stop("`#Look!  Someone came down!",&temp2hold);
00028    wait(400);
00029    say_stop("Hello, I'm Dink Smallwood.",1);
00030    wait(400);
00031     
00032    say_stop("`2Oh yes, I've read about you!  Please, did you see anyone out there?",&temp1hold);
00033    wait(400);
00034    sp_dir(1, 1);
00035    say_stop("Out where?  Town?",1);
00036    wait(400);
00037    say_stop("`2Yes!  Our daughter is still out there!  She'll be killed!",&temp1hold);
00038    wait(400);
00039    say_stop("Why?  I saw nothing dangerous.",1);
00040    wait(400);
00041    say_stop("`#They must have left.  We must go find her.. what if she is..",&temp2hold);
00042    wait(400);
00043    sp_dir(&temp1hold, 7);
00044    say_stop("`2Don't say such things!  Stay here, I will be back shortly.",&temp1hold);
00045    move_stop(&temp1hold, 9, 530, 1);
00046    //hide man
00047    sp_nodraw(&temp1hold, 1);
00048   move_stop(&temp2hold, 6, 300, 1);
00049   wait(500);
00050   say_stop("`#I cannot idly wait while my daughter is in danger!", &temp2hold);
00051   wait(500);
00052   move_stop(&temp2hold, 6, 450, 1);
00053   move_stop(&temp2hold, 9, 530, 1);
00054   sp_active(&temp2hold, 0);
00055   unfreeze(1);
00056   sp_active(&temp1hold, 0);
00057   say("What a very strange town.", 1);
00058   &s5-jop = 2;
00059   }
00060 }