Back to index

freedink-data  1.08.20080920
S4-END.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003 
00004 //playsound(43, 22050,0,0,0);
00005 
00006 &s4-duck = 2;
00007 &story = 11;
00008 freeze(1);
00009 //cutscene
00010 
00011 //create man
00012 int &man = create_sprite(290, 460, 0, 0, 0);
00013 sp_base_walk(&man, 380);
00014 sp_speed(&man, 1);
00015 sp_timing(&man, 33);
00016 preload_seq(381);
00017 preload_seq(383);
00018 preload_seq(387);
00019 preload_seq(389);
00020 
00021 //create little girl
00022 int &girl = create_sprite(290, 460, 0, 0, 0);
00023 sp_base_walk(&girl, 250);
00024 sp_speed(&girl, 1);
00025 sp_timing(&girl, 33);
00026 preload_seq(251);
00027 preload_seq(253);
00028 preload_seq(257);
00029 preload_seq(259);
00030 
00031 int &junk = sp_y(1, -1);
00032 if (&junk < 220)
00033    sp_dir(1, 2);
00034 
00035 say("`0Hurry up, Kelly!", &man);
00036 move_stop(&man, 8, 430, 1);
00037 move_stop(&man, 9, 380, 1);
00038 say_stop("`0This is gonna be so great and...", &man);
00039 wait(250);
00040 say_stop("`0WHAT THE!?!?!", &man);
00041 sp_pseq(&man,387);
00042 sp_pframe(&man,1);
00043 sp_seq(&man,0);
00044 wait(250);
00045 sp_pseq(&man,381);
00046 sp_pframe(&man,1);
00047 sp_seq(&man,0);
00048 say_stop("Uh oh.", 1);
00049 wait(250);
00050 sp_pseq(&man,383);
00051 sp_pframe(&man,1);
00052 sp_seq(&man,0);
00053 
00054 wait(250);
00055 sp_pseq(&man,389);
00056 sp_pframe(&man,1);
00057 sp_seq(&man,0);
00058 say_stop("`0NO!!!!!", &man);
00059 move_stop(&girl, 9, 350, 1);
00060 move_stop(&girl, 7, 280, 1);
00061 say_stop("`#Daddy, what happened?", &girl);
00062 wait(250);
00063 say_stop("`0GUARDS!!!!!!!", &man);
00064 wait(250);
00065 say_stop("`0HELP!", &man);
00066 wait(250);
00067 say_stop("`0THIS GUY KILLED THE BLESSED FOWL!", &man);
00068 wait(250);
00069 
00070 
00071 int &guard = create_sprite(290, 460, 0, 0, 0);
00072 sp_base_walk(&guard, 290);
00073 sp_speed(&guard, 1);
00074 sp_timing(&guard, 33);
00075 preload_seq(291);
00076 preload_seq(293);
00077 preload_seq(297);
00078 preload_seq(299);
00079 
00080 move_stop(&guard, 8, 380, 1);
00081 say_stop("`5I MUST AVENGE THE WINGED GODDESS!", &guard);
00082 wait(300);
00083 say_stop("`0Kelly, what are you doing?", &man);
00084 wait(300);
00085 say_stop("`#I'm eating.", &girl);
00086 wait(300);
00087 move_stop(&guard, 9, 330, 1);
00088 say_stop("`5Sir, your daughter is eating our god.", &guard);
00089 wait(300);
00090 say_stop("`5I guess we have to kill her too.", &guard);
00091 wait(300);
00092 say_stop("`#This meat.. tastes good!", &girl);
00093 wait(300);
00094 say_stop("`0Wait..isn't it all raw and such?", &man);
00095 wait(300);
00096 say_stop("`5I guess one piece won't hurt...", &guard);
00097 wait(1000);
00098 say_stop("`5IT TASTES GREAT!", &guard);
00099 say_stop("`0LESS FILLING TOO!", &man);
00100 wait(300);
00101 say_stop("`5Dink, you magically changed our supreme beings into food!", &guard);
00102 wait(300);
00103 say_stop("No.. there is a perfect explanation, you see, the friction seemed to cook and...", 1);
00104 
00105 wait(300);
00106 say_stop("`0Who cares about that!", &man);
00107 wait(300);
00108 say_stop("`5Dink is a hero!  WE MUST GO TELL THE OTHERS!", &guard);
00109 unfreeze(1);
00110 move(&guard, 1, 300, 1);
00111 move_stop(&man, 4, 300, 1);
00112 move(&guard, 2, 480, 1);
00113 move_stop(&man, 2, 480, 1);
00114 move_stop(&girl, 3, 310, 1);
00115 say_stop("`#Bye, Dink.", &girl);
00116 move_stop(&girl, 2, 470, 1);
00117 
00118 }
00119 
00120 
00121 
00122 
00123 
00124