Back to index

freedink-data  1.08.20080920
S3-ST1O.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003  if (&mayor == 1)
00004  {
00005   int &woman;
00006   //Actually Spawn the girl, and her script
00007   &woman = create_sprite(29, 320, 0, 0, 0);
00008   sp_brain(&woman, 16);
00009   sp_base_walk(&woman, 250);
00010   sp_speed(&woman, 1);
00011   sp_timing(&woman, 0);
00012   //set starting pic
00013   sp_pseq(&woman, 253);
00014   sp_pframe(&woman, 1);
00015   //Start stuff
00016   freeze(1);
00017   freeze(&woman);
00018   say_stop("`9Over here.", &woman);
00019   wait(250);
00020   move_stop(&woman, 6, 150, 1);
00021   move_stop(&woman, 9, 264, 1);
00022   move_stop(&woman, 8, 180, 1);
00023   say_stop("`9The mayor's sometimes in here.", &woman);
00024   wait(250);
00025   say_stop("`9If what you say is true, you have to go and talk to him.", &woman);
00026    move_stop(1, 2, 332, 1);
00027    move_stop(1, 8, 331, 1);
00028   move_stop(1, 6, 140, 1);
00029   move_stop(1, 9, 285, 1);
00030   sp_dir(1, 4);
00031   say_stop("Ok, I'll do it.", 1);
00032   wait(250);
00033   say_stop("What are you gonna do?", 1);
00034   wait(250);
00035   say_stop("`9I'll head back to the fountain and warn people.", &woman);
00036   wait(250);
00037   say_stop("`9Good luck.", &woman);
00038   &mayor = 2;
00039   move_stop(&woman, 1, -20, 1);
00040   unfreeze(1);
00041   unfreeze(&woman);
00042   sp_active(&woman, 0);
00043  }
00044 }
00045