Downloads containing ab20ctf10.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Anniversary Bash 21 Levels Jazz2Online Multiple N/A Download file
TSF with JJ2+ Only: Anniversary Bash 20 Levels Jazz2Online Multiple N/A Download file

File preview

  1. bool showLayer6(jjPLAYER@ play) {
  2.         return (play.cameraY < 575 || play.cameraY > 1160) && !jjLowDetail;
  3. }
  4.  
  5. int id() {
  6.         if (!jjTriggers[2] && !jjTriggers[3]) return 3;
  7.         else if (jjTriggers[2] && !jjTriggers[3]) return 4;
  8.         else return 5;
  9. }
  10.  
  11. bool warping = false;
  12.  
  13. void onLevelLoad() {
  14.         jjSetWaterGradient(160,215,255, 160,215,255);
  15.         jjUseLayer8Speeds = true;
  16.         jjTexturedBGTexture = TEXTURE::DIAMONDUSBETA;
  17. }
  18.  
  19. void onDrawLayer7(jjPLAYER@ play, jjCANVAS@ screen) {
  20.         jjSetWaterLevel(-32, true);
  21. }
  22.  
  23. void onDrawLayer4(jjPLAYER@ play, jjCANVAS@ screen) {
  24.         jjSetWaterLevel(16000, true);
  25. }
  26.  
  27. void onPlayer(jjPLAYER@ play) {
  28.         jjLayerHasTiles[6] = showLayer6(play);
  29.         if (jjLowDetail) jjLayers[8].tileHeight = true;
  30.         jjTexturedBGFadePositionY = jjLowDetail? 0.5:0.4;
  31.         jjWaterLayer = 7;
  32.        
  33.         if (play.cameraY < 400) {
  34.                 jjLayerOrderSet(array<jjLAYER@> = {jjLayers[1], jjLayers[2], jjLayers[3], jjLayers[4], jjLayers[5], jjLayers[6], jjLayers[8], jjLayers[7]});
  35.                 if (!jjLowDetail) jjLayers[8].tileHeight = false;
  36.         } else {
  37.                 jjLayerOrderSet(array<jjLAYER@> = {jjLayers[1], jjLayers[2], jjLayers[3], jjLayers[4], jjLayers[5], jjLayers[6], jjLayers[7], jjLayers[8]});
  38.                 jjLayers[8].tileHeight = true;
  39.         }
  40.         if (play.yPos < 66*32) warping = false;
  41. }
  42.  
  43. void onFunction0(jjPLAYER@ play) {
  44.         if (!warping) {
  45.                 play.warpToID(id());
  46.                 warping = true;
  47.         }
  48. }