Downloads containing hgfRMboss2.j2as

Downloads
Name Author Game Mode Rating
JJ2+ Only: The Redacted Missions happygreenfrog Single player 6.9 Download file

File preview

#include "MLLE-Include-1.4.asc"
const bool MLLESetupSuccessful = MLLE::Setup();
#pragma require "hgfRMboss2.j2l"

void onLevelLoad()
{
jjObjectPresets[OBJECT::TUFBOSS].playerHandling = HANDLING::ENEMY;
jjObjectPresets[OBJECT::BOLLY].energy = 30+(jjDifficulty*20);
}

void onMain()
{
for (int q = 0; q < jjLocalPlayerCount; q++)
 {
 jjPLAYER@ p = jjLocalPlayers[q];
  if (p.bossActivated == true)
   {
   for (int i = 1; i < jjObjectCount; i++)
    {
    jjOBJ@ o = jjObjects[i];
    if(o.behavior == BEHAVIOR::BOLLYTOP)
     {
     p.boss = o.objectID;
     break;
     }
    }
   }
  }
}