Skip to content

Gates of Logic

-migrated-

3 posts

Re: Gates of Logic

Posted Apr 26, 2010 7:40 pm

OH GOD...DO NOT WANT TO RELIVE FRESHMAN YEAR....stupid college making me take Digital Logic Design class..>.>


Might as well give it a try....can't be too hard if its based off logic gates....

Re: Gates of Logic

Posted Apr 26, 2010 8:30 pm

Invincibility:

96 08 00 00 70 6c 61 79 65 72 00 4e 96 07 00 00 61 6c 69 76 65 00 96 02 00 05 00 4f 96 05 00 00 64 69 65 00 96 05 00 07 01 00 00 00 =>
96 08 00 00 70 6c 61 79 65 72 00 4e 96 07 00 00 61 6c 69 76 65 00 96 02 00 05 01 4f 96 05 00 00 64 69 65 00 96 05 00 07 00 00 00 00

[spoiler=sprite 3888:gaoruu1v]

Code: [Select]

onClipEvent (enterFrame)
{
    if (this.hitTest(_root.game.player) && _root.game.player._currentframe == 65)
    {
        _root.game.player.nextFrame();
        _root.game.player.play();
    } // end if
    if (this.hitTest(_root.game.player) && _root.game.player.aliveAnim == true)
    {
        _root.game.player.alive = false;
        _root.game.player.gotoAndPlay("die");
    } // end if
}

Code: [Select]

//96 08 00 00 70 6c 61 79 65 72 00
_push "player"
//4e
_getMember
//96 07 00 00 61 6c 69 76 65 00
_push "alive"
//96 02 00 05 00
_push false
//4f
_setMember
//96 05 00 00 64 69 65 00
_push "die"
//96 05 00 07 01 00 00 00
_push 1

Funnest hack I ever did. Also very simple.