talk(void)1void talk( void ) 2 { 3 4 if (&story > 14) 5 { 6 say("`9Look Tom, Dink is back!", ¤t_sprite); 7 return; 8 } 9 //guard 1 10 say("`9This is the way Dink. I wish you luck.", ¤t_sprite); 11 } 12 hit(void)13void hit( void ) 14 { 15 int &dinky = sp_y(1, -1); 16 //get dinks y cord 17 18 if (&dinky < 280) 19 { 20 //dink is above them 21 say_stop("`9Ouch, that smarted.", ¤t_sprite); 22 wait(300); 23 say_stop("`9I wonder where that came from?", ¤t_sprite); 24 return; 25 } 26 say_stop("`9Testing out your weapons? They work a-ok, trust me.", ¤t_sprite); 27 28 29 } 30