1 //script for auntie
2 
main(void)3 void main( void )
4 {
5 preload_seq(251);
6 preload_seq(253);
7 preload_seq(257);
8 preload_seq(259);
9 
10  if (&s2-aunt < 4)
11  {
12  int &temphold = create_sprite(160,150, 0, 0, 0);
13  sp_script(&temphold, "s2-jack");
14  wait(5);
15  }
16 int &myrand;
17 sp_base_walk(&current_sprite, 250);
18 sp_speed(&current_sprite, 1);
19 //sp_timing(&current_sprite, 66);
20 
21 //set starting pic
22 
23 sp_pseq(&current_sprite, 251);
24 sp_pframe(&current_sprite, 1);
25 
26 if (&s2-aunt == 2)
27   {
28    freeze(1);
29    sp_hitpoints(&temphold, 50);
30    sp_brain(&current_sprite, 0);
31    sp_x(&current_sprite, 113);
32    sp_y(&current_sprite, 180);
33    sp_brain(&temphold, 0);
34    sp_x(&temphold, 154);
35    sp_y(&temphold, 160);
36    sp_pseq(&current_sprite, 259);
37    sp_pseq(&temphold, 341);
38 &save_x = sp_x(&current_sprite, -1);
39 &save_y = sp_y(&current_sprite, -1);
40 &save_y -= 40;
41    wait(500);
42    playsound(9, 22050,0,0,0);
43  int &mcrap = create_sprite(&save_x, &save_y, 5, 188, 1);
44  sp_seq(&mcrap, 188);
45 
46    say_stop("`6This will learn you to talk back to me!", &temphold);
47   sp_dir(&temphold, 1);
48    wait(500);
49   sp_dir(1, 1);
50    playsound(9, 22050,0,0,0);
51  int &mcrap = create_sprite(&save_x, &save_y, 5, 189, 1);
52  sp_seq(&mcrap, 189);
53   wait(300);
54    playsound(9, 22050,0,0,0);
55  int &mcrap = create_sprite(&save_x, &save_y, 5, 188, 1);
56  sp_seq(&mcrap, 188);
57  say_stop("`#Please Jack!  Stop...", &current_sprite);
58   wait(300);
59   say_stop("`6Shut your trap!", &temphold);
60   sp_dir(&temphold, 1);
61 
62    playsound(9, 22050,0,0,0);
63  int &mcrap = create_sprite(&save_x, &save_y, 5, 189, 1);
64  sp_seq(&mcrap, 189);
65   wait(300);
66  say_stop("`#I'm leaving you!  We're through!", &current_sprite);
67   wait(300);
68   say_stop("`6Through are we?", &temphold);
69 
70    playsound(9, 22050,0,0,0);
71  int &mcrap = create_sprite(&save_x, &save_y, 5, 188, 1);
72  sp_seq(&mcrap, 188);
73 wait(50);
74    playsound(9, 22050,0,0,0);
75  int &mcrap = create_sprite(&save_x, &save_y, 5, 189, 1);
76  sp_seq(&mcrap, 189);
77 wait(50);
78 
79    playsound(9, 17050,0,0,0);
80  int &mcrap = create_sprite(&save_x, &save_y, 5, 188, 1);
81  sp_seq(&mcrap, 188);
82 wait(50);
83    playsound(9, 22050,0,0,0);
84  int &mcrap = create_sprite(&save_x, &save_y, 5, 189, 1);
85  sp_seq(&mcrap, 189);
86 wait(50);
87    playsound(9, 24050,0,0,0);
88  int &mcrap = create_sprite(&save_x, &save_y, 5, 188, 1);
89  sp_seq(&mcrap, 188);
90 wait(50);
91    playsound(9, 22050,0,0,0);
92  int &mcrap = create_sprite(&save_x, &save_y, 5, 189, 1);
93  sp_seq(&mcrap, 189);
94 wait(50);
95 
96    playsound(9, 22050,0,0,0);
97  int &mcrap = create_sprite(&save_x, &save_y, 5, 188, 1);
98  sp_seq(&mcrap, 188);
99 wait(50);
100    playsound(9, 22050,0,0,0);
101  int &mcrap = create_sprite(&save_x, &save_y, 5, 189, 1);
102  sp_seq(&mcrap, 189);
103 wait(50);
104 
105    playsound(9, 17050,0,0,0);
106  int &mcrap = create_sprite(&save_x, &save_y, 5, 188, 1);
107  sp_seq(&mcrap, 188);
108 wait(50);
109    playsound(9, 22050,0,0,0);
110  int &mcrap = create_sprite(&save_x, &save_y, 5, 189, 1);
111  sp_seq(&mcrap, 189);
112 wait(50);
113    playsound(9, 24050,0,0,0);
114  int &mcrap = create_sprite(&save_x, &save_y, 5, 188, 1);
115  sp_seq(&mcrap, 188);
116 wait(50);
117    playsound(9, 22050,0,0,0);
118  int &mcrap = create_sprite(&save_x, &save_y, 5, 189, 1);
119  sp_seq(&mcrap, 189);
120 wait(50);
121 
122 
123 
124 
125    wait(2000);
126 
127   say_stop("`6You ok, baby?", &temphold);
128   wait(2000);
129  &s2-aunt = 3;
130 
131   say_stop("`6You shouldn't make me so mad.", &temphold);
132   wait(1000);
133  sp_brain(&current_sprite, 16);
134   unfreeze(1);
135 
136  say_stop("`#<sob>", &current_sprite);
137  wait(1000);
138  sp_brain(&temphold, 16);
139   return;
140   }
141 
142 
143 if (&s2-aunt == 0)
144   {
145    freeze(1);
146 
147    sp_x(&current_sprite, 600);
148    sp_y(&current_sprite, -50);
149    wait(500);
150    say_stop("Hello.", 1);
151    freeze(&temphold);
152    sp_dir(&temphold, 3);
153    wait(500);
154    say_stop("`6Who the hell are you?", &temphold);
155    wait(500);
156    say_stop("I'm.. I'm Dink Smallwood.  I got a letter and...", 1);
157    wait(500);
158    say_stop("`6I ain't sent no letter to nobody nohow.", &temphold);
159    wait(500);
160    say_stop("But I...", 1);
161    wait(300);
162    say_stop("`6Git outta my house.", &temphold);
163 
164    move_stop(&current_sprite, 1, 430, 1);
165    sp_seq(&current_sprite, 0);
166    wait(500);
167    say_stop("`#Dink!  You made it!", &current_sprite);
168    wait(500);
169    say_stop("Auntie Maria!", 1);
170    wait(500);
171    say_stop("`6What the? How do you know my wife?  You two been cheatin' on me?", &temphold);
172    wait(500);
173    say_stop("`#Jack, this is my nephew from Stonebrook.", &current_sprite);
174    wait(500);
175    say_stop("`#He's going to be staying with us a while.", &current_sprite);
176    wait(500);
177    say_stop("`6Huh?  Since when? Gawd dammit!", &temphold);
178    wait(500);
179    say_stop("`#Dink, I've prepared a room for you upstairs.", &current_sprite);
180    wait(500);
181    say_stop("Thanks, I'm sure it will be fine.", 1);
182    wait(500);
183    say_stop("`#Just ask if you need anything.", &current_sprite);
184    &s2-aunt = 1;
185    unfreeze(&temphold);
186     }
187 
188 
189    unfreeze(1);
190   }
191 
192 sp_brain(&current_sprite, 16);
193 
194 
195 }
196 
197 void talk( void )
198 {
199 
200  freeze(1);
201  freeze(&current_sprite);
202          choice_start()
203 (&s2-aunt == 1) "Ask about your mother"
204 (&s2-aunt == 1) "Ask her about the town"
205 (&s2-aunt == 3) "Encourage her to dump Jack"
206 (&s2-aunt == 3) "Encourage her to continue getting beaten by Jack"
207 (&s2-aunt == 4) "Comfort her"
208 (&s2-aunt == 4) "Ask for a bigger bed"
209 (&s2-aunt == 4) (&story == 8) "Tell Maria about your latest adventure"
210 (&s2-aunt == 5) "Talk about nothing"
211 (&s2-aunt == 4) (&story > 15) "Brag to Maria about saving the world"
212          "Leave"
213          choice_end()
214 
215         if (&result == 8)
216         {
217         wait(400);
218         say_stop("I just wanted to say, thanks for letting me stay with you.", 1);
219         wait(400);
220         say_stop("`#It's really no problem, Dink.  Have you been looking for a job at all?", &current_sprite);
221         wait(400);
222         say_stop("Whups, gotta get going!  See ya!", 1);
223 
224         }
225         if (&result == 7)
226         {
227         wait(400);
228         say_stop("Guess what I did today!", 1);
229         wait(400);
230         say_stop("`#Saved Nadine's girl?", &current_sprite);
231         wait(400);
232         say_stop("Uh, yeah.  How did you know?", 1);
233         wait(400);
234         say_stop("`#It's in the King's News, there is a copy at the healers.", &current_sprite);
235         wait(400);
236         say_stop("Ah.  Ok.", 1);
237         &s2-aunt = 5;
238         }
239 
240         if (&result == 1)
241         {
242         wait(400);
243          say_stop("So how do you know my mom?", 1);
244         wait(400);
245         say_stop("`#Well, she's my sister.", &current_sprite);
246         wait(400);
247         say_stop("Ah, that explains a few things.", 1);
248         }
249         if (&result == 2)
250         {
251         wait(400);
252          say_stop("So tell me about Terris.", 1);
253         wait(400);
254         say_stop("`#It's not a bad town to live in.", &current_sprite);
255         wait(400);
256         say_stop("You don't sound so enthusiastic.", 1);
257         wait(400);
258         say_stop("`#Well.. things have been rough lately, that's all.", &current_sprite);
259         }
260 
261         if (&result == 3)
262         {
263         wait(400);
264          say_stop("I saw Jack hit you.", 1);
265         wait(400);
266         say_stop("`#You.. you did?", &current_sprite);
267         wait(400);
268         say_stop("Why don't you leave him?  Now?  Tonight?", 1);
269         wait(400);
270         say_stop("`#I'm afraid of him.  He would find me.", &current_sprite);
271         wait(400);
272         say_stop("Well maybe I'll just have to do something about it myself.", 1);
273         wait(400);
274         say_stop("`#Be careful!  He's very strong,", &current_sprite);
275         wait(400);
276         say_stop("He ain't nothing, just you watch.", 1);
277         }
278 
279         if (&result == 4)
280         {
281         wait(400);
282          say_stop("I saw Jack hit you.", 1);
283         wait(400);
284         say_stop("`#You.. you did?", &current_sprite);
285         wait(400);
286         say_stop("Yes, he's good at it.  I hope to learn much from him.", 1);
287         wait(400);
288         say_stop("`#What?!", &current_sprite);
289         wait(400);
290         say_stop("I just admire his stroke - takes practice you know.", 1);
291         }
292 
293         if (&result == 5)
294         {
295         wait(400);
296          say_stop("How are you holding up?", 1);
297         wait(400);
298         say_stop("`#I'm ok.  How do you like our town?  And living here?", &current_sprite);
299         wait(400);
300         say_stop("I like it.  I think the locals like me too.", 1);
301         wait(400);
302         say_stop("`#I feel safe with you upstairs.", &current_sprite);
303         wait(400);
304         say_stop("Me too.", 1);
305         }
306         if (&result == 6)
307         {
308         wait(400);
309          say_stop("Say.. I like the room and all, but my bed is a little small.", 1);
310         wait(400);
311         say_stop("`#I would trade, but mine is the exact same size.", &current_sprite);
312         wait(400);
313         say_stop("What if you traded them in for one big one we could share?", 1);
314         wait(400);
315         say_stop("`#I'm your aunt, Dink!", &current_sprite);
316         wait(400);
317         say_stop("And?", 1);
318         wait(400);
319         say_stop("`#I have some work I have to do.", &current_sprite);
320         }
321 
322 
323         if (&result == 9)
324         {
325         wait(400);
326          say_stop("Hey guess what, I just got back from a huge adventure.", 1);
327         wait(400);
328         say_stop("`#That's great.", &current_sprite);
329         wait(400);
330         say_stop("I pretty much saved the universe.", 1);
331         wait(400);
332         say_stop("`#Uh huh, fine.", &current_sprite);
333         wait(400);
334         say_stop("You don't believe any of this.", 1);
335         wait(400);
336         say_stop("`#Sorry Dink, I know how young men like to tell tales.", &current_sprite);
337         wait(400);
338         choice_start()
339         "Pass off her indifference lightly"
340         "Get rude about it"
341         choice_end();
342          if (&result == 1)
343          {
344         say_stop("Heh - that's what I like about you auntie!", 1);
345 
346          }
347          if (&result == 2)
348          {
349         say_stop("You stupid whore.", 1);
350         wait(400);
351         say_stop("`#Excuse me?", &current_sprite);
352         wait(400);
353         say_stop("I see now I shouldn't have killed Jack.", 1);
354         wait(400);
355         say_stop("I should have joined forces with him.", 1);
356          }
357 
358 
359         }
360 
361 
362 
363    unfreeze(1);
364    unfreeze(&current_sprite);
365    return;
366 
367 }
368 
369 void hit(void)
370 {
371  int &mcrap = random(4, 1);
372 
373   if (&mcrap == 1)
374     Say("Take your beatin' like a man, woman!", 1);
375   if (&mcrap == 2)
376     Say("`#Please.. please don't hit me!", &current_sprite);
377   if (&mcrap == 3)
378     Say("I hope you like it rough!", 1);
379   if (&mcrap == 4)
380     Say("I hate relatives!", 1);
381 
382 
383 }
384