{ (c) 1998 CREEQ <creeq@web.de> }
Program PumpMeUp;
uses Crt,Graph;
var
  grDriver: Integer;
  grMode: Integer;
  ErrCode: Integer;
  x,y,z : longint;
  x1, x2, y1, y2 : Integer;
  label 1,2,3,5,6,7;

procedure Text(f1,f2 : byte; s : string);
var
  i : byte;
begin
  for I:=1 to ord(s[0]) do begin
    textcolor(f2);
    write(s[i]);
    delay(40);
    gotoxy(wherex-1,wherey);
    textcolor(f1);
    write(S[i]);
  end;
end;

begin
  grDriver := Detect;
  InitGraph(grDriver, grMode,'');
  ErrCode := GraphResult;
7:setfillstyle(1,black);
  bar(0,0,639,479);
  setcolor(white);
  setfillstyle(1,white);
  circle(300,100,50);
  line(300,150,300,200);
  bar(250,200,350,400);
  line(250,400,250,500);
  line(350,400,350,500);
  line(250,200,150,300);
  line(350,200,450,300);
  setfillstyle(1,white);
  bar(250,450,200,500);
  bar(350,450,400,500);
  circle(275,75,10);
  circle(325,75,10);
  putpixel(275,75,15);
  putpixel(325,75,15);
  circle(300,100,10);
  line(275,125,325,125);
  setfillstyle(1,lightblue);
  floodfill(275,100,white);
  delay(1000);
  x := 50;
3:repeat
  setcolor(black);
  line(250,200,150,300);
  setcolor(white);
  line(250,200,150,250);
  delay(100);
  setcolor(black);
  line(250,200,150,250);
  setcolor(white);
  line(250,200,150,200);
  delay(100);
  setcolor(black);
  line(250,200,150,200);
  setcolor(white);
  line(250,200,150,150);
  delay(100);
  setcolor(black);
  line(250,200,150,150);
  setcolor(white);
  line(250,200,150,100);
  delay(100);
  setcolor(black);
  line(250,200,150,100);
  setcolor(white);
  line(250,200,150,150);
  delay(100);
  setcolor(black);
  line(250,200,150,150);
  setcolor(white);
  line(250,200,150,200);
  delay(100);
  setcolor(black);
  line(250,200,150,200);
  setcolor(white);
  line(250,200,150,250);
  delay(100);
  setcolor(black);
  line(250,200,150,250);
  setcolor(white);
  line(250,200,150,300);
  delay(100);
  setcolor(black);
  circle(300,100,x);
  circle(300,100,x+1);
  setcolor(white);
  circle(300,100,x+2);
  inc(x,2);
  if x = 100 then goto 1;
  if keypressed then goto 5;
  setfillstyle(1,lightblue);
  floodfill(275,100,white);
  until false;
1:x := 10;
  setfillstyle(1,lightred);
  floodfill(275,100,white);
  repeat
  setcolor(black);
  line(350,200,450,300);
  setcolor(white);
  line(350,200,450,250);
  delay(100);
  setcolor(black);
  line(350,200,450,250);
  setcolor(white);
  line(350,200,450,200);
  delay(100);
  setcolor(black);
  line(350,200,450,200);
  setcolor(white);
  line(350,200,450,150);
  delay(100);
  setcolor(black);
  line(350,200,450,150);
  setcolor(white);
  line(350,200,450,100);
  delay(100);
  setcolor(black);
  line(350,200,450,100);
  setcolor(white);
  line(350,200,450,150);
  delay(100);
  setcolor(black);
  line(350,200,450,150);
  setcolor(white);
  line(350,200,450,200);
  delay(100);
  setcolor(black);
  line(350,200,450,200);
  setcolor(white);
  line(350,200,450,250);
  delay(100);
  setcolor(black);
  line(350,200,450,250);
  setcolor(white);
  line(350,200,450,300);
  delay(100);
  setcolor(black);
  circle(275,75,x);
  setcolor(white);
  circle(275,75,x+1);
  setcolor(black);
  circle(325,75,x);
  setcolor(white);
  circle(325,75,x+1);
  circle(275,75,x-10);
  circle(325,75,x-10);
  inc(x);
  if x = 25 then goto 2;
  if keypressed then goto 5;
  until false;
2:y:=250;
  x:=350;
  repeat
  setfillstyle(1,black);
  bar(250,450,200,500);
  setfillstyle(1,white);
  bar(249,419,200,449);
  delay(500);
  setfillstyle(1,black);
  bar(249,419,200,449);
  setfillstyle(1,white);
  bar(250,450,200,500);
  setfillstyle(1,white);
  dec(y,10);
  inc(x,10);
  bar(y,200,x,400);
  delay(500);
  if y = 200 then goto 6;
  if keypressed then goto 5;
  until false;
6:setcolor(brown);
  line(445,290,445,315);
  delay(500);
  setcolor(black);
  line(445,290,445,315);
  line(400,250,450,300);
  bar(200,200,400,400);
  setcolor(brown);
  line(425,290,410,305);
  setcolor(white);
  line(400,250,425,300);
  delay(500);
  setcolor(black);
  line(425,290,410,305);
  line(400,250,425,300);
  setcolor(brown);
  line(395,300,415,295);
  setcolor(white);
  line(400,250,410,300);
  delay(1000);
  setfillstyle(1,black);
  bar(0,0,639,479);
  settextstyle(10,0,10);
  outtextxy(58,75,'BOOM');
  x := 20;
  y := 0;
  repeat
  sound(x);
  inc(x);
  inc(y);
  if x = 50 then x := 20;
  until y = 500000;
  nosound;
  setfillstyle(1,black);
  bar(0,0,639,479);
  setcolor(white);
  setfillstyle(1,white);
  circle(300,400,10);
  line(300,410,300,420);
  bar(290,420,310,450);
  line(290,450,290,465);
  line(310,450,310,465);
  line(290,420,275,435);
  line(310,420,325,435);
  setfillstyle(1,white);
  bar(290,465,280,470);
  bar(310,465,320,470);
  circle(296,396,2);
  circle(304,396,2);
  putpixel(296,396,15);
  putpixel(304,396,15);
  circle(300,400,2);
  line(295,405,305,405);
  setfillstyle(1,lightblue);
  floodfill(300,406,white);
  delay(2000);
  Arc(450, 250, 270, 180,50);
  line(450,300,320,380);
  line(400,250,320,380);
  settextstyle(0,0,0);
  outtextxy(420,230,'Scheisse');
  outtextxy(425,240,'  bin');
  outtextxy(425,250,'  ich');
  outtextxy(425,260,' bl”d!');
  y := 0;
  repeat
    inc(y);
    setcolor(white);
    line(295,405,305,405);
    Arc(300, 405,180,0,4);
    delay(500);
    setcolor(lightblue);
    Arc(300, 405,180,0,4);
    setcolor(white);
    line(295,405,305,405);
    delay(500);
  if keypressed then goto 5;
  until y = 5;
  y := 300;
  repeat
  setfillstyle(1,black);
  bar(0,0,639,479);
  setcolor(white);
  setfillstyle(1,white);
  circle(y,400,10);
  line(y,410,y,420);
  line(y,450,y-10,465);
  line(y,450,y+10,465);
  line(y,420,y-15,445);
  line(y,420,y+15,445);
  bar(y-10,420,y+10,450);
  setfillstyle(1,white);
  bar(y-5,465,y-15,470);
  bar(y+5,465,y+15,470);
  Arc(y+9, 397, 90, 270,2);
  putpixel(y+9,397,15);
  line(y+10,400,y+12,400);
  line(y+8,405,y+5,405);
  setfillstyle(1,lightblue);
  floodfill(y-7,406,white);
  delay(500);
  setcolor(black);
  setfillstyle(1,black);
  circle(y,400,10);
  line(y,410,y,420);
  bar(y-10,420,y+10,450);
  line(y,450,y-10,465);
  line(y,450,y+10,465);
  line(y,420,y-15,445);
  line(y,420,y+15,445);
  setfillstyle(1,black);
  bar(y-5,465,y-15,470);
  bar(y+5,465,y+15,470);
  Arc(y+9, 397, 90, 270,2);
  putpixel(y+9,397,0);
  line(y+10,400,y+12,400);
  line(y+8,405,y+5,405);
  setfillstyle(1,black);
  floodfill(y-7,406,black);
  inc(y,10);
  setcolor(white);
  setfillstyle(1,white);
  circle(y,400,10);
  line(y,410,y,420);
  line(y,450,y,465);
  bar(y-10,420,y+10,450);
  setfillstyle(1,white);
  bar(y-5,465,y+5,470);
  Arc(y+9, 397, 90, 270,2);
  putpixel(y+9,397,15);
  line(y+10,400,y+12,400);
  line(y+8,405,y+5,405);
  setfillstyle(1,lightblue);
  floodfill(y-7,406,white);
  delay(500);
  setcolor(black);
  setfillstyle(1,black);
  circle(y,400,10);
  setfillstyle(1,black);
  bar(y-5,465,y+5,470);
  Arc(y+9, 397, 90, 270,2);
  putpixel(y+9,397,0);
  line(y+10,400,y+12,400);
  line(y+8,405,y+5,405);
  setfillstyle(1,black);
  floodfill(y-7,406,black);
  bar(y-10,420,y+10,450);
  line(y,410,y,420);
  line(y,450,y,465);
  inc(y,10);
  if keypressed then goto 5;
  until y = 660;
  delay(1000);
  goto 7;
5:readkey;
  nosound;
  closegraph;
  clrscr;
  Text(7,15,'PumpMeUp Version 3.2 (1998) Copyright by CREEQ & DaDoctoR');
end.
