Downloads containing ab21btl08.j2as

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

File preview

  1. #include "MLLE-Include-1.4.asc"
  2. const bool MLLESetupSuccessful = MLLE::Setup();
  3. #pragma require "ab21btl08.j2l"
  4. #pragma require "RainV2.pal"
  5. #pragma require "RainV3.pal"
  6. #pragma require "RainV4.pal"
  7. #pragma require "RainV5.pal"
  8. #pragma require "RainV6.pal"
  9.  
  10. void onPlayer(jjPLAYER@ play) {
  11.         if (!play.noclipMode || (int(play.xSpeed) == 0 && int(play.ySpeed) == 0)) {
  12.                 play.spriteMode = SPRITE::PLAYER;
  13.                 play.lightType = LIGHT::PLAYER;
  14.                 play.lighting = 100;
  15.         } else {
  16.                 play.spriteMode = SPRITE::INVISIBLE;
  17.                 play.lightType = LIGHT::NONE;
  18.                 play.lighting = 0;
  19.         }
  20. }
  21.  
  22. const array<string> PaletteFilenames = {"RainV.j2t", "RainV2.pal", "RainV3.pal", "RainV4.pal", "RainV5.pal", "RainV6.pal"};
  23. uint PaletteFilenameIndex = 0;
  24. void onFunction0() {
  25.         if (jjPalette.load(PaletteFilenames[(PaletteFilenameIndex += 1) % PaletteFilenames.length])) {
  26.                 jjPalette.apply();
  27.                 jjSetFadeColors(!(jjTexturedBGStars = (PaletteFilenameIndex & 1 == 1)) ? 207 : 176);
  28.         }
  29. }
  30. void onLevelReload() {
  31.         onFunction0();
  32. }