Back to index

freedink-data  1.08.20080920
S5-FMOM.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003  //setup mom
00004 
00005  sp_base_walk(&current_sprite, 360);
00006  sp_speed(&current_sprite, 1);
00007  sp_brain(&current_sprite, 16);
00008  sp_hitpoints(&current_sprite, 50);
00009 
00010  preload_seq(361);
00011  preload_seq(363);
00012  preload_seq(365);
00013  preload_seq(367);
00014  preload_seq(369);
00015  sp_pseq(&temp2hold, 361);
00016  sp_pframe(&temp2hold, 1);
00017 
00018 }
00019 
00020 
00021 void die( void )
00022 {
00023  //dink fails
00024 if (&life > 0)
00025 {
00026  say("Noooo!  The mother has died!  I HAVE FAILED!!!!!!!", 1);
00027  &life = 0;
00028 }
00029 }
00030 
00031 void talk( void )
00032 {
00033 if (&story > 11)
00034   say("`#My daughter is just about your age.",&current_sprite);
00035 }