Infinite Monkeys Bending Reality
URL: http://www.kongregate.com/games/mofunzo ... ng-reality
Actually a really fun game.
AOBer's - Looking for a hand on this. I'd like to make a "lasers don't kill you" AOB. I've found the following code inside the game:
MonkeyLevel.prototype.collideMonkey = function ()
...(some other code here)...
} // end of for
this.clip.debug.clear();
var _loc16 = this.monkey.gfx.hitTestShape(this.laserClip);
if (_loc16 != undefined)
{
_root.objSounds.play("deathlaser");
this.squishMonkey();
} // end if
The two problems I'm having:
1) I can't find the corresponding section in the byte code. Normally, I look for function headings, etc, but I'm not having any luck here. What would I search for in the bytecode?
2) I'm assuming that to stop the death, I could change the != to a NOOP. Would that work? If not, how would I go about it?
Thanks guys, just trying to expand past some of the strictly numeric manipulation bytecodes I've done before.