talk(void)1 void talk( void )
2 {
3 
4 if (&story > 14)
5   {
6  say("`9Look Tom, Dink is back!", &current_sprite);
7   return;
8   }
9  //guard 1
10  say("`9This is the way Dink.  I wish you luck.", &current_sprite);
11 }
12 
hit(void)13 void 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.", &current_sprite);
22    wait(300);
23    say_stop("`9I wonder where that came from?", &current_sprite);
24    return;
25   }
26    say_stop("`9Testing out your weapons?  They work a-ok, trust me.", &current_sprite);
27 
28 
29 }
30