Announcement

Collapse
No announcement yet.

Noahs ark nes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Noahs ark nes

    The infinite energy code provided is not working properly. I would like a new game genie code so when you play through the levels health does not diminish thanks.

  • #2
    maybe you can try this

    Gamegenie
    Infinite Energy
    SZKUUGSA

    Comment


    • #3
      Does work. I need a code that keeps me alive no matter what. Thanks for helping though.

      Comment


      • #4
        The code listed in the DB for Infinite Energy (SZKUUGSA) should actually be titled "No damage from head attacks". See the development notes at the bottom for more details.

        This game has several routines that deduct health depending on what the player gets hit by. Several "no damage" codes are thus required. In my testing I also inadvertently created a couple other codes that might be useful: "Walk through enemies" and "Destroy enemies by touching them".

        I have playtested these codes up to level 3, if you run into any problems with them beyond that let me know!

        Enjoy!



        No damage from head attacks (incorrectly labelled "infinite energy")
        SZKUUGSA


        No damage from frontal attacks
        SZNLELSA


        No damage from bosses
        SZSUEGSA


        No damage from poison potions
        SZOLUPSA + SZOUXPSA


        No death from spikes and bosses
        AASISTPA


        Walk through enemies
        AVOIVSKL


        Destroy enemies by touching them
        ENKSUIEI





        Code Development Notes:

        Spoiler Alert! Click to view...


        No damage from head attacks
        SZKUUGSA

        Code:
        This is the code previously labeled as "Infinite Energy".
        
        The amount of health left is stored in register $09. This code blocks
        this routine from writing to $09, which is responsible for head shots 
        to the player (ie: crabs landing, bouncing pegs, etc).
        
         00:BC47:C9 0A     CMP #$0A
         00:BC49:B0 05     BCS $BC50
        >00:BC4B:85 09     STA $0009 = #$00
         00:BC4D:4C 85 BB  JMP $BB85
        
        The code changes 85 (store accumulator in $09) to A5 (load accumulator from $09).
        
           BC4B:A5:85 = SZKUUGSA
        
        However I found several other routines that also write to $09, as demonstrated 
        by the codes below.

        No damage from frontal attacks
        SZNLELSA

        Code:
        Here's the code that runs when the player takes damage from the front:
        
         00:BB6D:18        CLC
         00:BB6E:65 09     ADC $0009 = #$00
        >00:BB70:85 09     STA $0009 = #$00
         00:BB72:C9 0A     CMP #$0A
         00:BB74:90 0A     BCC $BB80
         00:BB76:20 A9 BB  JSR $BBA9
        
        The approach is the same as the last code, changing STA into LDA:
        
           BB70:A5:85 = SZNLELSA

        No damage from bosses
        SZSUEGSA

        Code:
        Here's another routine that deducts player health when contacting a boss:
        
         00:BC56:A9 0A     LDA #$0A
         00:BC58:85 09     STA $0009 = #$00
         00:BC5A:4C 52 DE  JMP $DE52
        
        Normally this causes instant death, but I think I ran across this with other
        enemy types as well so I recommend this one for good measure.
        
           BC58:A5:85 = SZSUEGSA

        No damage from poison potions
        SZOLUPSA + SZOUXPSA

        Code:
        Here's another routine that runs when the player picks up a bad potion:
        
         00:B90D:A9 0A     LDA #$0A
         00:B90F:38        SEC
         00:B910:E5 09     SBC $0009 = #$00
         00:B912:4A        LSR
        >00:B913:85 09     STA $0009 = #$00
         00:B915:A9 0A     LDA #$0A
         00:B917:38        SEC
         00:B918:E5 09     SBC $0009 = #$00
        >00:B91A:85 09     STA $0009 = #$00
         00:B91C:A9 04     LDA #$04
         00:B91E:4C 7A B8  JMP $B87A
        
        Two codes are required for this one, since there are two spots where $09 is written.
        
           B913:A5:85 = SZOLUPSA 
           B91A:A5:85 = SZOUXPSA

        No death from spikes and bosses
        AASISTPA

        Code:
        When the player walks on spikes, or touches the boss, the same code is used to
        kill the player in both cases:
        
         07:DE52:A5 2E     LDA $002E = #$00
         07:DE54:F0 01     BEQ $DE57
         07:DE56:60        RTS -----------------------------------------
        >07:DE57:20 69 CE  JSR $CE69
         07:DE5A:A9 00     LDA #$00
         07:DE5C:AA        TAX
         07:DE5D:9D 2C 04  STA $042C,X @ $0430 = #$AB
         07:DE60:E8        INX
         07:DE61:E0 04     CPX #$04
         07:DE63:D0 F8     BNE $DE5D
         07:DE65:8D 90 03  STA $0390 = #$00
         07:DE68:A9 0A     LDA #$0A
         07:DE6A:85 09     STA $0009 = #$00
        
        
        Returning from this routine (RTS) allows the player to walk on spikes and contact
        the bosses. The easiest way I found is to simply change the branch value from 
        01 to 00 so the branch to RTS at $DE56 is taken:
        
           DE55:00:01 = AASISTPA

        Walk through enemies
        AVOIVSKL

        Destroy enemies by touching them
        ENKSUIEI


        Code:
        For these codes I was basically just testing some theories to try and find the
        no damage codes, and ended up with some potentially useful alternatives.
        
        I traced back the damage routines to $DD96 which appears to be the main routine
        for when the player bumps into things:
        
         00:B834:68        PLA
         00:B835:20 4D D9  JSR $D94D
         00:B838:20 40 AA  JSR $AA40
         00:B83B:A6 58     LDX $0058 = #$00
         00:B83D:90 05     BCC $B844
         00:B83F:20 96 DD  JSR $DD96
         >07:DD96:BC 00 04  LDY $0400,X @ $0412 = #$43
          07:DD99:B9 65 B3  LDA $B365,Y @ $B3A8 = #$04
          07:DD9C:29 80     AND #$80
          07:DD9E:D0 07     BNE $DDA7
          07:DDA0:B9 65 B3  LDA $B365,Y @ $B3A8 = #$04
          07:DDA3:29 01     AND #$01
          07:DDA5:D0 29     BNE $DDD0
          07:DDA7:B9 65 B3  LDA $B365,Y @ $B3A8 = #$04
          07:DDAA:29 02     AND #$02
          07:DDAC:F0 13     BEQ $DDC1
          07:DDAE:A9 08     LDA #$08
          07:DDB0:20 17 F2  JSR $F217
          07:DDB3:20 2A F2  JSR $F22A
          07:DDB6:AD 50 03  LDA $0350 = #$00
          07:DDB9:F0 03     BEQ $DDBE
          07:DDBB:A6 58     LDX $0058 = #$12
          07:DDBD:60        RTS -----------------------------------------
          07:DDBE:4C F1 BB  JMP $BBF1
          07:DDC1:B9 65 B3  LDA $B365,Y @ $B3A5 = #$0C
          07:DDC4:29 80     AND #$80
          07:DDC6:D0 36     BNE $DDFE
          07:DDC8:AD 50 03  LDA $0350 = #$00
         >07:DDCB:D0 06     BNE $DDD3
          07:DDCD:4C F1 BB  JMP $BBF1
          07:DDD0:4C B6 B9  JMP $B9B6
          07:DDD3:BD 90 7E  LDA $7E90,X @ $7E92 = #$00
          07:DDD6:D0 01     BNE $DDD9
          07:DDD8:60        RTS -----------------------------------------
         00:B842:A6 58     LDX $0058 = #$00
         00:B844:E8        INX
         00:B845:E0 2C     CPX #$2C
        
        On a hunch I tried turning the routine into an RTS and it causes the player to
        simply walk straight through enemies.
        
           DD96:60:BC = AVOIVSKL
        
        
        I was doing a little more poking around and when I looked at $DDC8, the game checks
        $0350 to see if it's zero so I thought maybe that could be interesting to play with.
        
        Changing the BNE at $DDCB into BEQ makes the game act as if the player has the 
        invincibility potion.  Basically like Mario with a power star. :)
        
           DDCB:F0:D0 = ENKSUIEI
        
        It even works on bosses! :D
        "One man's garbage is another man-person's good un-garbage." -- Ricky from Trailer Park Boys

        Comment


        • #5
          Thanks and God bless you I have a guy that works for me that does NES and it's great to hear that people are talented on the Sega Genesis as well I appreciate it. I pretty much gave up on this I figured it's been on here for so long and no one responded I just figured people werent interested and I didn't want to bake and make a fool out of myself haha

          Comment


          • #6
            I didn't want to bug people and make a fool out of myself it's nice that some people out there still try to help out thanks.

            Comment


            • #7
              You bet! This is actually a pretty fun looking game, I might have to give it a play one day. I usually always play with Game Genie codes, hence why I like to make them when I can... it's just more fun for me that way.

              Cheers!
              "One man's garbage is another man-person's good un-garbage." -- Ricky from Trailer Park Boys

              Comment


              • #8
                These codes work just fine just Beat It thank you

                Comment

                Working...
                X