Downloads containing ab24btl10.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Anniversary Bash 24 Battle PurpleJazz Battle N/A Download file

File preview

  1. const bool MLLESetupSuccessful = MLLE::Setup(array<MLLEWeaponApply@> = {null, se::RollerMLLEWrapper(), FlashBang::Weapon(), se::FireworkMLLEWrapper(), null, null, null, null, null}); ///@MLLE-Generated
  2. #include "MLLE-Include-1.5w.asc" ///@MLLE-Generated
  3. #pragma require "Jungle-Danger.j2t" ///@MLLE-Generated
  4. #pragma require "smallcastle.j2t" ///@MLLE-Generated
  5. #pragma require "training.j2t" ///@MLLE-Generated
  6. #pragma require "ab24btl10.j2l" ///@MLLE-Generated
  7. #include "SEfirework-mlle.asc" ///@MLLE-Generated
  8. #pragma require "SEfirework-mlle.asc" ///@MLLE-Generated
  9. #include "FlashBang.asc" ///@MLLE-Generated
  10. #pragma require "FlashBang.asc" ///@MLLE-Generated
  11. #include "SEroller-mlle.asc" ///@MLLE-Generated
  12. #pragma require "SEroller-mlle.asc" ///@MLLE-Generated
  13.  
  14. bool onDrawAmmo(jjPLAYER@ player, jjCANVAS@ canvas) {
  15.         return MLLE::WeaponHook.drawAmmo(player, canvas);
  16. }
  17.  
  18. ///@SaveAndRunArgs -battle -server
  19.  
  20. void onLevelLoad() {
  21.         jjLAYER@ mountains = MLLE::GetLayer("Mountains");
  22.         array<jjLAYER@> layers = jjLayerOrderGet();
  23.         const uint index = layers.findByRef(mountains);
  24.         for (uint i = 0; i < 8;) {
  25.                 jjLAYER more(mountains);
  26.                 ++i;
  27.                 more.yOffset -= 64 * i;
  28.                 more.xOffset += 184 * i;
  29.                 more.xSpeed += i / 20.f;
  30.                 layers.insertAt(index, more);
  31.         }
  32.         jjLayerOrderSet(layers);
  33.         jjUseLayer8Speeds = true;
  34. }
  35.  
  36. void onMain() {
  37.         for (int i = 0; i < 1024; ++i)
  38.                 if (jjParticles[i].type == PARTICLE::FLOWER)
  39.                         jjParticles[i].flower.color = 203;
  40.         jjIsSnowing = !jjLowDetail;
  41.         if (jjIsServer && (jjGameTicks % 350 == 349))
  42.                 for (uint i = jjObjectCount; --i != 0;)
  43.                         if (jjObjects[i].yPos > 90 * 32)
  44.                                 jjObjects[i].yPos = 101 * 32;
  45. }