Back to index

freedink-data  1.08.20080920
S3-LARRY.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003  int &girl;
00004  &girl = 0;
00005  int &mom;
00006  &mom = random(3, 1);
00007  if (&mom == 1)
00008  {
00009   freeze(&current_sprite);
00010   say_stop("`4Hello sir.", &current_sprite);
00011   unfreeze(&current_sprite);
00012  }
00013 }
00014 
00015 void talk( void )
00016 {
00017  freeze(1);
00018  freeze(&current_sprite);
00019  choice_start()
00020  "Ask about the store"
00021  "See what's for sale"
00022  "Leave"
00023  choice_end()
00024   if (&result == 1)
00025   {
00026    say_stop("Hey, what kind of store you got here?", 1);
00027    wait(250);
00028    say_stop("`4We're Robinson Cabinets.", &current_sprite);
00029    wait(250);
00030    say_stop("`4We can supply all your wood furnishing needs.", &current_sprite);
00031    wait(250);
00032    say_stop("Oh, not for me then.  I've had bad experiences with furniture in the past.", 1);
00033    wait(250);
00034    say_stop("Things tend to light on fire, and people I know just die. :'(", 1);
00035    wait(250);
00036    say_stop("`4Okay then, if you need anything I'll be ...  over ... there.", &current_sprite);
00037   }
00038   if (&result == 2)
00039   {
00040    if (&girl == 1)
00041    {
00042     say_stop("So, any other deals?", 1);
00043     wait(250);
00044     say_stop("`4Please sir, no more, I need to tend to my daughter.", &current_sprite);
00045     wait(250);
00046     say_stop("`6DADDY!!!!!!!!!", &prom);
00047     wait(250);
00048     say_stop("`4See what I mean..", &current_sprite);
00049     unfreeze(1);
00050     unfreeze(&current_sprite);
00051     return;
00052    }
00053    int &prom;
00054    &prom = create_sprite(310, 460, 0, 0, 0);
00055    sp_brain(&prom, 16);
00056    sp_base_walk(&prom, 330);
00057    sp_speed(&prom, 1);
00058    sp_timing(&prom, 0);
00059    //set starting pic
00060    sp_pseq(&prom, 339);
00061    sp_pframe(&prom, 1);
00062    freeze(&prom);
00063    &girl = 1;
00064    say_stop("Any goofy specials this month?", 1);
00065    wait(250);
00066    say_stop("`4Nope, sorry.  We pretty much contract out by jobs", &current_sprite);
00067    wait(250);
00068    say_stop("`4on individual houses.  We also do countertops and the like.", &current_sprite);
00069    wait(250);
00070    say_stop("I see, well I don't own a house, but thanks for the info.", 1);
00071    wait(250);
00072    say_stop("`4Yeah, no problem ...", &current_sprite);
00073    say("`6DADDY!!!!!!!!!", &prom);
00074    say_stop("`4Oh no ...", &current_sprite);
00075    say("`6DADDY!!!!!!!!!", &prom);
00076    move_stop(&prom, 8, 250, 1);
00077    say_stop("`4Yes dear, what is it?", &current_sprite);
00078    wait(250);
00079    say_stop("`6I need a new dress.", &prom);
00080    wait(250);
00081    say_stop("`4But dear, we already got you one just last week.", &current_sprite);
00082    wait(250);
00083    say_stop("`6Well THAT one doesn't look as good in the sunlight,", &prom);
00084    wait(250);
00085    say_stop("`6let's just return it and get a new one.", &prom);
00086    wait(250);
00087    say_stop("`4Promise, I just don't know ....", &current_sprite);
00088    wait(250);
00089    say_stop("`6I SAID NOW!!", &prom);
00090    wait(250);
00091    say_stop("`4Okay, okay.", &current_sprite);
00092    unfreeze(&prom);
00093   }
00094  unfreeze(1);
00095  unfreeze(&current_sprite);
00096 }
00097 
00098 void hit( void )
00099 {
00100  freeze(&current_sprite);
00101  say("`4Hey, stop that, you'll hurt the wood.", &current_sprite);
00102  unfreeze(&current_sprite);
00103 }