Back to index

freedink-data  1.08.20080920
S2-TDS.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003  if (&thief == 2)
00004  {
00005  int &poop;
00006  &vision = 1;
00007  //so the real warping door will appear
00008  &poop = create_sprite(300, 200, 0, 0, 0);
00009  sp_script(&poop, "s2-ryan2");
00010  }
00011  if (&thief == 3)
00012  {
00013  freeze(1);
00014  int &bad;
00015  int &poop;
00016  int &poop2;
00017  &bad = create_sprite(370, 190, 0, 0, 0);
00018  sp_brain(&bad, 0);
00019  sp_base_walk(&bad, 370);
00020  sp_speed(&bad, 2);
00021  sp_timing(&bad, 0);
00022 //set starting pic
00023  sp_pseq(&bad, 371);
00024  sp_pframe(&bad, 1);
00025 
00026  &poop = create_sprite(410, 250, 0, 0, 0);
00027  sp_brain(&poop, 0);
00028  sp_base_walk(&poop, 290);
00029  sp_speed(&poop, 2);
00030  sp_timing(&poop, 0);
00031 //set starting pic
00032  sp_pseq(&poop, 297);
00033  sp_pframe(&poop, 1);
00034 
00035  &poop2 = create_sprite(300, 175, 0, 0, 0);
00036  sp_brain(&poop2, 0);
00037  sp_base_walk(&poop2, 290);
00038  sp_speed(&poop2, 2);
00039  sp_timing(&poop2, 0);
00040 //set starting pic
00041  sp_pseq(&poop2, 293);
00042  sp_pframe(&poop2, 1);
00043 
00044  wait(500);
00045  say_stop("`3Thanks for helping us catch this guy, Dink.", &poop);
00046  wait(250);
00047  say_stop("`4Yeah, he's been hounding us for a long time.", &poop2);
00048  wait(250);
00049  say_stop("Oh, uh .. glad to be of assistance guys.", 1);
00050  wait(250);
00051  say_stop("`4He won't be bothering anyone for quite a while.", &poop2);
00052  wait(250);
00053  say_stop("`3Yeah, say, are Tom and Bob ok inside?", &poop);
00054  wait(250);
00055  say_stop("Uh.. Yes, they're fine.", 1);
00056  &tombob = 1;
00057  wait(250);
00058  say_stop("`3I guess they'll be right out.", &poop);
00059  wait(250);
00060  say_stop("`4Come on, let's get this loser to the jail.", &poop2);
00061  move(&bad, 8, 130, 1);
00062  move(&poop, 8, 190, 1);
00063  move_stop(&poop2, 8, 115, 1);
00064  move(&bad, 4, -20, 1);
00065  move(&poop2, 4, -20, 1);
00066  move_stop(&poop, 4, -20, 1);
00067  &thief = 4;
00068  unfreeze(1);
00069  sp_active(&bad, 0);
00070  sp_active(&poop, 0);
00071  sp_active(&poop2, 0);
00072  }
00073 }
00074