main(void)1 void main( void )
2 {
3  preload_seq(331);
4  preload_seq(333);
5  preload_seq(335);
6  preload_seq(337);
7  preload_seq(339);
8  sp_base_walk(&current_sprite,330);
9  sp_brain(&current_sprite, 16);
10  sp_speed(&current_sprite,1);
11  sp_timing(&current_sprite,33);
12  sp_nohit(&current_sprite, 1);
13  int &wait;
14    sp_nodraw(&current_sprite, 1);
15 wait(4000);
16 
17 loop:
18 &wait = random(3000,2000);
19 wait(&wait);
20 
21 &wait = random(8, 1);
22 
23 if (&wait == 1)
24   {
25     say_stop("`#I'm hungry mommy.",&current_sprite);
26 
27   }
28 
29 if (&wait == 2)
30   {
31 
32     say_stop("`#I feel so old.. yet why have I not aged?",&current_sprite);
33 
34   }
35 
36 if (&wait == 3)
37   {
38     sp_nodraw(&current_sprite, 1);
39     say_stop("`#Last thing I remember is that group of knights.. and blood.",&current_sprite);
40 
41   }
42 
43 if (&wait == 4)
44   {
45     sp_nodraw(&current_sprite, 0);
46     say_stop("`#I HATE IT HERE!",&current_sprite);
47     playsound(12,22050,0,&current_sprite,0);
48   }
49 
50 if (&wait == 5)
51   {
52     say_stop("`#Is the man lost, mommy?  Like we are?",&current_sprite);
53   }
54 
55 if (&wait == 6)
56   {
57     say_stop("`#Would you like to see me take my head off?",&current_sprite);
58   }
59 
60 if (&wait == 7)
61   {
62   sp_nodraw(&current_sprite, 0);
63   }
64 
65 if (&wait == 8)
66   {
67    sp_nodraw(&current_sprite, 1);
68   }
69 
70 
71 goto loop;
72 
73 }
74 
hit(void)75 void hit( void )
76 {
77  say_stop("`#<giggles>  That tickles!",&current_sprite);
78  goto loop;
79 
80 }
81 
82