Back to index

freedink-data  1.08.20080920
S7-MIL.c
Go to the documentation of this file.
00001 void main( void)
00002 {
00003 
00004 int &fighting = 0;
00005 if (&story < 15)
00006 {
00007         preload_seq(24);
00008         preload_seq(161);
00009         init("load_sequence_now graphics\effects\magic\seth1w 581 75 43 133 -19 -16 23 16");
00010         init("load_sequence_now graphics\effects\magic\seth3w 583 75 44 126 -21 -21 19 16");
00011         init("load_sequence_now graphics\effects\magic\seth7w 587 75 42 123 -21 -16 18 16");
00012         init("load_sequence_now graphics\effects\magic\seth9w 589 75 44 125 -20 -16 20 16");
00013         init("load_sequence_now graphics\effects\magic\pose 580 75 41 129 -30 -16 31 10");
00014   return;
00015  }
00016 
00017 sp_active(&current_sprite, 0);
00018 }
00019   void talk (void)
00020   {
00021 
00022 if (&story > 14)
00023   {
00024    say("Poor Milder.",1);
00025    return;
00026   }
00027 
00028 if (&fighting == 1)
00029   {
00030    say("Milder, wake up!  Help me fight this guy!",1);
00031    return;
00032   }
00033 
00034 
00035     freeze(1);
00036    say_stop("Milder!  Milder!", 1);
00037    &fighting = 1;
00038    wait(300);
00039    say_stop_xy("`6<groan>", 20, 180);
00040    wait(300);
00041    say_stop("Can you hear me?", 1);
00042    wait(300);
00043    say_stop_xy("`6..pig farmer..is..that..you?", 20, 180);
00044    wait(300);
00045    say_stop("Yes!", 1);
00046    wait(300);
00047    say_stop("Er, no, I mean.. tell me what happened!", 1);
00048    wait(300);
00049    say_stop_xy("`6..I was left here to die by a monstrosity..", 20, 180);
00050    wait(300);
00051    say_stop("Ah, by the Cast?", 1);
00052    wait(300);
00053    say_stop_xy("`6..no..", 20, 180);
00054    wait(300);
00055    say_stop_xy("`6..the Cast were just a front.. he is pure evil..", 20, 180);
00056    wait(300);
00057    say_stop_xy("`6..run..run before it's too late..", 20, 180);
00058    wait(300);
00059 choice_start();
00060 "Refuse to leave without him"
00061 "Take his advice"
00062 choice_end();
00063    wait(300);
00064 
00065 if (&result == 1)
00066   {
00067    say_stop("I will not leave without you, Milder.", 1);
00068    wait(300);
00069    say_stop_xy("`6..but why?  i was so mean to you as a kid...", 20, 180);
00070    wait(300);
00071    say_stop("It is the honorable thing to do.", 1);
00072    wait(300);
00073    say_stop_xy("`6..you are more of a knight than I ever was, dink...", 20, 180);
00074    wait(300);
00075    say_stop("Nonsense.  Can you walk?", 1);
00076    wait(300);
00077    say_stop_xy("`6..I think so..take my..", 20, 180);
00078   }
00079 
00080 
00081 if (&result == 2)
00082   {
00083    say_stop("Alright, see ya.", 1);
00084    wait(300);
00085    say_stop_xy("`6..i..understand...tell Lyna I love her...", 20, 180);
00086    wait(300);
00087    say_stop("Tell her?  I'll SHOW her love... moohahahha!", 1);
00088    wait(300);
00089    say_stop_xy("`6..you little bitch...if I only had the strength to...", 20, 180);
00090   }
00091 
00092 wait(1000);
00093 playsound(24, 22052, 0, 0, 0);
00094 int &mcrap = create_sprite(320, 100, 7, 167, 1);
00095 sp_seq(&mcrap, 167);
00096 wait(200);
00097 &temp1hold = create_sprite(320, 150,0, 580, 1);
00098 
00099 
00100 int &crap = get_burn();
00101 
00102 if (&crap == 0)
00103 playmidi("1004");
00104 if (&crap > 0)
00105 playmidi("1015");
00106 
00107 wait(1000);
00108  say_stop_xy("`6NOOO!  IT'S HIM!", 20, 180);
00109  wait(300);
00110 say_stop("What the!??!  Who the hell are you?", 1);
00111 wait(300);
00112 say_stop("`%I am the beginning and the end.", &temp1hold);
00113 wait(300);
00114  say_stop_xy("`6..kill him, dink..kill him...", 20, 180);
00115 wait(300);
00116 say_stop("`%I am everything you love.", &temp1hold);
00117 wait(300);
00118 say_stop("`%I am everything you despise.", &temp1hold);
00119 wait(300);
00120 say_stop("You are sick and twisted is what you are.", 1);
00121 wait(300);
00122 say_stop_xy("`6..his name is Seth.. he is an ancient one...he killed the others..", 20, 180);
00123 wait(300);
00124 say("`4<casts explosion>", &temp1hold);
00125 int &bomb = create_sprite(329, 256, 7,161,1);
00126 sp_seq(&bomb, 161);
00127 playsound(6, 22050, 0,0,0);
00128 
00129 say_stop_xy("`6aaargh..", 20, 180);
00130 wait(300);
00131 say_stop("Milder?", 1);
00132 wait(300);
00133 say_stop("`4<grins evilly at you>", &temp1hold);
00134 wait(300);
00135 say_stop("FOR GOD, THE CROWN AND ALL THAT IS GOOD, I SHALL DESTROY YOU, SETH!", 1);
00136 
00137 sp_script(&temp1hold, "s7-boss");
00138 unfreeze(1);
00139 
00140   }