main(void)1 void main (void)
2 {
3  //end sequence for s5
4  freeze(1);
5  freeze(&temp1hold);
6  freeze(&temp2hold);
7  freeze(&temp3hold);
8 wait(500);
9 screenlock(0);
10 say_stop("`2You did it!  You did it Smallwood!", &temp1hold);
11 wait(500);
12 say_stop("`#Dink, you saved me!  You are a hero!", &temp3hold);
13 wait(500);
14 //choice statement just for fun
15 choice_start();
16 "Pshaw, twasn't nuthin!"
17 "I saved all of you, actually."
18 choice_end();
19 wait(500);
20 say_stop("`#In any case, we are very grateful.", &temp2hold);
21 wait(500);
22 say_stop("`2Those two dragons have been on the rampage for a month.", &temp1hold);
23 wait(500);
24 say_stop("`2It all started when we built this town on their nest.", &temp1hold);
25 wait(500);
26 say_stop("So basically, I just killed two innocent Dragons for protecting their own?", 1);
27 wait(500);
28 say_stop("`2Um.. gotta get back to the store, see ya later.", &temp1hold);
29 move_stop(&temp1hold, 6, 670,1);
30 sp_active(&temp1hold, 0);
31 
32  int &door = sp(2);
33  sp_prop(&door, 1);
34 
35 
36 &story = 12;
37 &s5-jop = 4;
38  unfreeze(1);
39  unfreeze(&temp1hold);
40  unfreeze(&temp2hold);
41  unfreeze(&temp3hold);
42  kill_this_task();
43 }
44