Downloads containing ab23btl09.j2as

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

File preview

  1. const bool MLLESetupSuccessful = MLLE::Setup(); ///@MLLE-Generated
  2. #include "MLLE-Include-1.5.asc" ///@MLLE-Generated
  3. #pragma require "ab23btl09-MLLE-Data-1.j2l" ///@MLLE-Generated
  4. #pragma require "Jungle1_1.00g.j2t" ///@MLLE-Generated
  5. #pragma require "ab23btl09.j2l" ///@MLLE-Generated
  6. void onLevelLoad() {
  7.         jjObjectPresets[OBJECT::STOMPSCENERY].lightType = LIGHT::FLICKER;      
  8.         jjUseLayer8Speeds = true;
  9.  
  10.         for (int i = 0; i < jjLayerWidth[4]; i++) {
  11.                 for (int j = 0; j < jjLayerHeight[4]; j++) {
  12.                         if (jjEventGet(i, j) == OBJECT::GENERATOR && jjParameterGet(i, j, 8, 8) == 13)
  13.                                 jjParameterSet(i, j, 8, 8, 6);
  14.                 }
  15.         }
  16. }
  17.  
  18. void onPlayer(jjPLAYER@ play) {
  19.         if (play.xPos > 100*32) {
  20.                 play.lighting = 40;
  21.                 jjLayers[8].xOffset = 9999;     //somehow this was the best result
  22.         }
  23.         else {
  24.                 play.lighting = 80;
  25.                 jjLayers[8].xOffset = 0;
  26.         }
  27. }
  28.  
  29. void onDrawLayer4(jjPLAYER@, jjCANVAS@ layer) {
  30.         layer.drawString(166*32, 36*32 + 16, "ŠpottyDM", STRING::SMALL, STRING::NORMAL, 0, SPRITE::BLEND_NORMAL, 127);
  31. }