Back to index

freedink-data  1.08.20080920
Functions
S3-ST1O.c File Reference

Go to the source code of this file.

Functions

void main (void)

Function Documentation

void main ( void  )

Definition at line 1 of file S3-ST1O.c.

{
 if (&mayor == 1)
 {
  int &woman;
  //Actually Spawn the girl, and her script
  &woman = create_sprite(29, 320, 0, 0, 0);
  sp_brain(&woman, 16);
  sp_base_walk(&woman, 250);
  sp_speed(&woman, 1);
  sp_timing(&woman, 0);
  //set starting pic
  sp_pseq(&woman, 253);
  sp_pframe(&woman, 1);
  //Start stuff
  freeze(1);
  freeze(&woman);
  say_stop("`9Over here.", &woman);
  wait(250);
  move_stop(&woman, 6, 150, 1);
  move_stop(&woman, 9, 264, 1);
  move_stop(&woman, 8, 180, 1);
  say_stop("`9The mayor's sometimes in here.", &woman);
  wait(250);
  say_stop("`9If what you say is true, you have to go and talk to him.", &woman);
   move_stop(1, 2, 332, 1);
   move_stop(1, 8, 331, 1);
  move_stop(1, 6, 140, 1);
  move_stop(1, 9, 285, 1);
  sp_dir(1, 4);
  say_stop("Ok, I'll do it.", 1);
  wait(250);
  say_stop("What are you gonna do?", 1);
  wait(250);
  say_stop("`9I'll head back to the fountain and warn people.", &woman);
  wait(250);
  say_stop("`9Good luck.", &woman);
  &mayor = 2;
  move_stop(&woman, 1, -20, 1);
  unfreeze(1);
  unfreeze(&woman);
  sp_active(&woman, 0);
 }
}

Here is the call graph for this function: