Back to index

freedink-data  1.08.20080920
S6-G1.c
Go to the documentation of this file.
00001 void talk( void )
00002 {
00003 
00004 if (&story > 14)
00005   {
00006  say("`9Look Tom, Dink is back!", &current_sprite);
00007   return;
00008   }
00009  //guard 1
00010  say("`9This is the way Dink.  I wish you luck.", &current_sprite);
00011 }
00012 
00013 void hit( void )
00014 {
00015 int &dinky = sp_y(1, -1);
00016 //get dinks y cord
00017 
00018 if (&dinky < 280)
00019   {
00020    //dink is above them
00021    say_stop("`9Ouch,  that smarted.", &current_sprite);
00022    wait(300);
00023    say_stop("`9I wonder where that came from?", &current_sprite);
00024    return;
00025   }
00026    say_stop("`9Testing out your weapons?  They work a-ok, trust me.", &current_sprite);
00027 
00028 
00029 }