talk(void)1 void talk( void )
2 {
3 if (&story > 14)
4   {
5   say("`9Dink is alive!  Alive!", &current_sprite);
6   return;
7   }
8 
9  //guard 1
10  say("`9You are a very brave man Sir Smallwood.", &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("`9Is that you up there Dink?", &current_sprite);
22 
23      wait(300);
24    say_stop("`9Why are you trying to kill us?", &current_sprite);
25    return;
26   }
27    say_stop("`9Don't kill us, we're on your side.", &current_sprite);
28 
29 
30 }
31 
32