Downloads containing ab20btl14.j2as

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

File preview

  1. #include "MLLE-Include-1.4.asc"
  2. const bool MLLESetupSuccessful = MLLE::Setup();
  3. #include "limitedoxygen.asc"
  4. #pragma require "Carrot1.j2t"
  5. #pragma require "ab20btl14-MLLE-Data-1.j2l"
  6. #pragma require "ab20btl14.j2l"
  7.  
  8. void onLevelLoad() {
  9.  
  10.  
  11.         jjSetWaterGradient(10,10,80, 10,10,80);
  12.         jjTexturedBGTexture = TEXTURE::PSYCH;
  13.         jjTexturedBGFadePositionY = 0.33;
  14.         jjUseLayer8Speeds = true;
  15.  
  16.         water::maxOxygen = 2300;
  17.  
  18. }
  19.  
  20. void onPlayer(jjPLAYER@ play)
  21.  {
  22.  
  23.         water::limitedOxygen(play);
  24.  
  25.  
  26. }
  27.  
  28. bool onDrawHealth(jjPLAYER@ play, jjCANVAS@ canvas) {
  29.         water::drawOxygenTimer(play, canvas);
  30.         return false;  
  31. }
  32.  
  33. void onMain() {
  34.         for (int i = 1; i < jjObjectCount; i++) {
  35.            jjOBJ@ o = jjObjects[i];
  36.            if (o.isActive) {
  37.                if (o.behavior == BEHAVIOR::PICKUP && o.state == STATE::FLOATFALL) {
  38.                      o.state = STATE::FLOAT;
  39.                 }
  40.            }
  41.         }
  42. }