const bool MLLESetupSuccessful = MLLE::Setup(); ///@MLLE-Generated #include "MLLE-Include-1.7.asc" ///@MLLE-Generated #pragma require "ezABZ.j2l" ///@MLLE-Generated #pragma require "ABZ_Data.asdat" uint8 warpID=11; bool fast = false; jjPAL myPal; void onLevelLoad() { myPal.load("Colon2.j2t"); myPal.apply(); jjObjectPresets[OBJECT::CARROT].determineCurAnim(ANIM::SPAZ,1); } void onPlayer() { switch(jjGameTicks) { case 1*70: onFunction0(); break; case 3*70: p.cameraUnfreeze(); p.warpToID(11, fast=true); break; case 110*70: p.warpToID(5, fast=true); break; } } void onLevelBegin() { jjSTREAM Assets("ABZ_Data.asdat"); array layers = jjLayerOrderGet(); for (uint i = 1; i < 9; i++) { jjLayers[i].generateSettableTileArea(); for (int x = 0; x < jjLayers[i].width; x++) for (int y = 0; y < jjLayers[i].height; y++) { uint16 tileID = 0; Assets.pop(tileID); jjLayers[i].tileSet(x, y, tileID); } } } /*void onLevelBegin() { array layers = jjLayerOrderGet(); jjSTREAM chug; for (uint i = 0; i < layers.length; i++) { for (int x = 0; x < layers[i].width; x++) for (int y = 0; y < layers[i].h; y++) chug.push(uint16(layers[i].tileGet(x, y))); } chug.save("ABZ_Data.asdat"); }*/ void onFunction0() { p.cameraFreeze(32*15.5,32*19.5,false,true); } void onFunction1() { jjSamplePriority(SOUND::JAZZSOUNDS_HEY1); } void onFunction2() { jjSamplePriority(SOUND::JAZZSOUNDS_HEY2); } void onFunction3() { jjSamplePriority(SOUND::JAZZSOUNDS_HEY3); } void onFunction4() { jjSamplePriority(SOUND::JAZZSOUNDS_HEY4); } void onFunction5() { jjSamplePriority(SOUND::ENDING_OHTHANK); p.showText("@@@@@@@@@@####WHERE DID YOU LEARN TO FLY??? :O"); }