main(void)1 void main( void )
2 {
3 if (&mayor == 1)
4 {
5 int &woman;
6 //Actually Spawn the girl, and her script
7 &woman = create_sprite(29, 320, 0, 0, 0);
8 sp_brain(&woman, 16);
9 sp_base_walk(&woman, 250);
10 sp_speed(&woman, 1);
11 sp_timing(&woman, 0);
12 //set starting pic
13 sp_pseq(&woman, 253);
14 sp_pframe(&woman, 1);
15 //Start stuff
16 freeze(1);
17 freeze(&woman);
18 say_stop("`9Over here.", &woman);
19 wait(250);
20 move_stop(&woman, 6, 150, 1);
21 move_stop(&woman, 9, 264, 1);
22 move_stop(&woman, 8, 180, 1);
23 say_stop("`9The mayor's sometimes in here.", &woman);
24 wait(250);
25 say_stop("`9If what you say is true, you have to go and talk to him.", &woman);
26 move_stop(1, 2, 332, 1);
27 move_stop(1, 8, 331, 1);
28 move_stop(1, 6, 140, 1);
29 move_stop(1, 9, 285, 1);
30 sp_dir(1, 4);
31 say_stop("Ok, I'll do it.", 1);
32 wait(250);
33 say_stop("What are you gonna do?", 1);
34 wait(250);
35 say_stop("`9I'll head back to the fountain and warn people.", &woman);
36 wait(250);
37 say_stop("`9Good luck.", &woman);
38 &mayor = 2;
39 move_stop(&woman, 1, -20, 1);
40 unfreeze(1);
41 unfreeze(&woman);
42 sp_active(&woman, 0);
43 }
44 }
45
46