Back to index

freedink-data  1.08.20080920
MAKE.c
Go to the documentation of this file.
00001 //make, contains info on making items, use EXTERNAL to call what you need.
00002 
00003 void sheart( void )
00004 {
00005 &save_y += 1;
00006 int &crap = create_sprite(&save_x, &save_y, 6, 54, 1);
00007 sp_script(&crap, "sheart");
00008 }
00009 
00010 void mgold( void )
00011 {
00012 &save_y += 1;
00013 int &crap = create_sprite(&save_x, &save_y, 6, 178, 4);
00014 sp_script(&crap, "mgold");
00015 }
00016 
00017 void lgold( void )
00018 {
00019 &save_y += 1;
00020 int &crap = create_sprite(&save_x, &save_y, 6, 178, 4);
00021 sp_script(&crap, "lgold");
00022 
00023 }
00024 
00025 
00026 void mpotion( void )
00027 {
00028 &save_y += 1;
00029 int &crap = create_sprite(&save_x, &save_y, 6, 178, 4);
00030 sp_script(&crap, "ppotion");
00031 }
00032 
00033 void rpotion( void )
00034 {
00035 //strength potion
00036 &save_y += 1;
00037 int &crap = create_sprite(&save_x, &save_y, 6, 178, 4);
00038 sp_script(&crap, "rpotion");
00039 }
00040 
00041 void spotion( void )
00042 {
00043 //strength potion
00044 &save_y += 1;
00045 int &crap = create_sprite(&save_x, &save_y, 6, 178, 4);
00046 sp_script(&crap, "rpotion");
00047 }
00048 
00049 
00050 void dpotion( void )
00051 {
00052 //strength potion
00053 &save_y += 1;
00054 int &crap = create_sprite(&save_x, &save_y, 6, 178, 4);
00055 sp_script(&crap, "bpotion");
00056 }
00057 
00058 
00059 
00060 void apotion( void )
00061 {
00062 int &crap = create_sprite(&save_x, &save_y, 6, 178, 4);
00063 sp_script(&crap, "apotion");
00064 }
00065 
00066 
00067 void papgold( void )
00068 {
00069 int &crap = create_sprite(&save_x, &save_y, 6, 178, 4);
00070 sp_script(&crap, "papgold");
00071 
00072 }
00073 
00074 void gold500( void )
00075 {
00076 int &crap = create_sprite(&save_x, &save_y, 6, 178, 4);
00077 sp_script(&crap, "gold500");
00078 
00079 }
00080 
00081 
00082 void sfb( void )
00083 {
00084 int &crap = create_sprite(&save_x, &save_y, 6, 422, 7);
00085 sp_script(&crap, "get-sfb");
00086 }
00087 
00088 void lheart( void )
00089 {
00090 int &crap = create_sprite(&save_x, &save_y, 6, 54, 1);
00091 sp_script(&crap, "sheart");
00092 }
00093 
00094 void gheart( void )
00095 {
00096 int &crap = create_sprite(&save_x, &save_y, 6, 53, 1);
00097 sp_script(&crap, "gheart");
00098 }
00099 
00100 void heart( void )
00101 {
00102 int &crap = create_sprite(&save_x, &save_y, 6, 52, 1);
00103 sp_script(&crap, "heart");
00104 }
00105 
00106 void food1( void )
00107 {
00108 int &crap = create_sprite(&save_x, &save_y, 6, 421, 1);
00109 sp_script(&crap, "sfood");
00110 }
00111 
00112 void food2( void )
00113 {
00114 int &crap = create_sprite(&save_x, &save_y, 6, 421, 2);
00115 sp_script(&crap, "sfood");
00116 }
00117 
00118 void food7( void )
00119 {
00120 int &crap = create_sprite(&save_x, &save_y, 6, 421, 7);
00121 sp_script(&crap, "sfood");
00122 }
00123 
00124 void food8( void )
00125 {
00126 int &crap = create_sprite(&save_x, &save_y, 6, 421, 8);
00127 sp_script(&crap, "sfood");
00128 }
00129 void foodduck( void )
00130 {
00131 
00132 int &rrand = random(2, 1);
00133 if (&rrand == 1)
00134 int &crap = create_sprite(&save_x, &save_y, 6, 421, 5);
00135 
00136 if (&rrand == 2)
00137 int &crap = create_sprite(&save_x, &save_y, 6, 421, 6);
00138 
00139 //sp_script(&crap, "sfood");
00140 
00141 }
00142 
00143