Back to index

freedink-data  1.08.20080920
S7-GIRL.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003  preload_seq(331);
00004  preload_seq(333);
00005  preload_seq(335);
00006  preload_seq(337);
00007  preload_seq(339);
00008  sp_base_walk(&current_sprite,330);
00009  sp_brain(&current_sprite, 16);
00010  sp_speed(&current_sprite,1);
00011  sp_timing(&current_sprite,33);
00012  sp_nohit(&current_sprite, 1);
00013  int &wait;
00014    sp_nodraw(&current_sprite, 1);
00015 wait(4000);
00016 
00017 loop:
00018 &wait = random(3000,2000);
00019 wait(&wait);
00020 
00021 &wait = random(8, 1);
00022 
00023 if (&wait == 1)
00024   {
00025     say_stop("`#I'm hungry mommy.",&current_sprite);
00026 
00027   }
00028 
00029 if (&wait == 2)
00030   {
00031 
00032     say_stop("`#I feel so old.. yet why have I not aged?",&current_sprite);
00033 
00034   }
00035 
00036 if (&wait == 3)
00037   {
00038     sp_nodraw(&current_sprite, 1);
00039     say_stop("`#Last thing I remember is that group of knights.. and blood.",&current_sprite);
00040 
00041   }
00042 
00043 if (&wait == 4)
00044   {
00045     sp_nodraw(&current_sprite, 0);
00046     say_stop("`#I HATE IT HERE!",&current_sprite);
00047     playsound(12,22050,0,&current_sprite,0);
00048   }
00049 
00050 if (&wait == 5)
00051   {
00052     say_stop("`#Is the man lost, mommy?  Like we are?",&current_sprite);
00053   }
00054 
00055 if (&wait == 6)
00056   {
00057     say_stop("`#Would you like to see me take my head off?",&current_sprite);
00058   }
00059 
00060 if (&wait == 7)
00061   {
00062   sp_nodraw(&current_sprite, 0);
00063   }
00064 
00065 if (&wait == 8)
00066   {
00067    sp_nodraw(&current_sprite, 1);
00068   }
00069 
00070 
00071 goto loop;
00072 
00073 }
00074 
00075 void hit( void )
00076 {
00077  say_stop("`#<giggles>  That tickles!",&current_sprite);
00078  goto loop;
00079 
00080 }
00081