Back to index

freedink-data  1.08.20080920
S2-NADP.c
Go to the documentation of this file.
00001 //script for nadine
00002 
00003 void main( void )
00004 {
00005 preload_seq(361);
00006 preload_seq(363);
00007 preload_seq(367);
00008 preload_seq(369);
00009 &temp1hold = &current_sprite;
00010 //lets remember the handle to Nadine, may need to control her with another
00011 //script
00012 int &myrand;
00013 sp_base_walk(&current_sprite, 360);
00014 sp_speed(&current_sprite, 1);
00015 //sp_timing(&current_sprite, 66);
00016 
00017 //set starting pic
00018 
00019 sp_pseq(&current_sprite, 361);
00020 sp_pframe(&current_sprite, 1);
00021 sp_brain(&current_sprite, 16);
00022 
00023 }
00024 
00025 void talk( void )
00026 {
00027 
00028  freeze(1);
00029  freeze(&current_sprite);
00030          choice_start()
00031 (&s2-nad == 0) "Ask Nadine why her house is such a mess"
00032 (&s2-nad == 1) "Offer to find Nadine's girl"
00033 (&s2-nad == 1) "Be rude to Nadine"
00034 (&s2-nad == 2) "Let her know exactly how fruitless your search has been thus far"
00035 (&s2-nad == 3) "Ask Nadine how she and Mary are doing"
00036          "Leave"
00037          choice_end()
00038         if (&result == 5)
00039         {
00040         wait(400);
00041          say_stop("Say, how are you and the little tike doing?", 1);
00042         wait(400);
00043         say_stop("`5Great!", &current_sprite);
00044         wait(400);
00045         say_stop("I see you have not had time to clean the house...", 1);
00046         wait(400);
00047         say_stop("`5Mary just came home!  We can do that stuff later.", &current_sprite);
00048         }
00049 
00050 
00051 
00052         if (&result == 4)
00053         {
00054         wait(400);
00055          say_stop("Little Mary is still out there, somewhere.", 1);
00056         wait(400);
00057         say_stop("`5She must be so afraid and lonely out there!", &current_sprite);
00058         wait(400);
00059         say_stop("Yes.. unless she was kidnapped by really nice people.", 1);
00060         wait(400);
00061         say_stop("`5Please leave now.", &current_sprite);
00062         }
00063 
00064         if (&result == 1)
00065         {
00066         wait(400);
00067          say_stop("Hi Nadine.  I'm new to town.  Why is your house a pig pen?", 1);
00068         wait(400);
00069         say_stop("`5Since my little girl was kidnapped, I've sort of let things go.", &current_sprite);
00070         wait(400);
00071         say_stop("Kidnapped?!  Why aren't the townspeople forming a search party?", 1);
00072         wait(400);
00073         say_stop("`5They don't care.  We are poor.", &current_sprite);
00074         &s2-nad = 1;
00075         }
00076 
00077         if (&result == 2)
00078         {
00079         wait(400);
00080          say_stop("Nadine - I care nothing about your personal finance.  I will help you.", 1);
00081         wait(400);
00082         say_stop("`5You.. you will?", &current_sprite);
00083         wait(400);
00084         say_stop("Of course.  What was the dear thing's name?", 1);
00085         wait(400);
00086         say_stop("`5Mary.  Her name was Mary.", &current_sprite);
00087         wait(400);
00088         say_stop("Do you have any idea of who may have taken her?", 1);
00089         wait(400);
00090         say_stop("`5No.. no I don't.", &current_sprite);
00091         wait(400);
00092         say_stop("Well damn.", 1);
00093         &s2-nad = 2;
00094         }
00095 
00096         if (&result == 3)
00097         {
00098         wait(400);
00099          say_stop("Nadine - if you had some cash saved, I would find your girl.", 1);
00100         wait(400);
00101         say_stop("`5You know I don't have anything!  Look at my pantry!", &current_sprite);
00102         wait(400);
00103         say_stop("No thanks.  Also, your arms look pointy and stupid.", 1);
00104         wait(400);
00105         say_stop("`5How dare you!", &current_sprite);
00106         }
00107 
00108 
00109    unfreeze(1);
00110    unfreeze(&current_sprite);
00111    return;
00112 
00113 }
00114 
00115 void hit(void)
00116 {
00117  int &mcrap = random(4, 1);
00118     Say("How does it feel?!", 1);
00119 }