Announcement

Collapse
No announcement yet.

*Request) Wolverine Nes

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

  • *Request) Wolverine Nes

    Game genie format Invincibility/jump in midair? Thanks for reading!

  • #2
    Code:
    Infinite Strength
    SZXLVASA
    
    Infinite Air
    SXUUUVVK
    
    Cannot die from Spikes or Magneto's force field (NOTE: Cannot Die when Falling Off Screen)
    AVUIGKGZ
    
    Moon Jump
    NNXLNUIE
    I've play tested these to the end boss, they should help quite a bit. I couldn't figure out jump in midair unfortunately but the Moon Jump code is the next best thing I suppose. The Moon Jump code is a modified version of Galoob's Mega Jump code which will allow much greater jump height. The nice thing is you can let go of the jump button to fall back down at any point.

    Also the Infinite Air code isn't really needed if you use Infinite Strength, when you run out of air it normally just starts taking away strength but the Infinite Strength code will prevent that.

    Be careful when using the Cannot die from Spikes code, if you fall off the screen the level will not end and you will be stuck. Also some spike/poison pits are too deep to jump out of without a code.

    Have fun!

    Code Development Notes:
    Spoiler Alert! Click to view...


    Infinite Strength
    SZXLVASA

    Code:
    By doing some RAM searches I found that $00CD holds strength level. $06A9 does
    as well but after testing it turned out to only be for the strength meter on
    screen.
    
    I set a write BP for $00CD. When getting hit by an enemy:
     00:B824:A9 00     LDA #$00
    >00:B826:85 CD     STA $00CD = #$10
    
    Changing STA to LDA will prevent strength from decreasing:
    
    B826:A5:85 = SZXLVASA


    Infinite Air
    SXUUUVVK

    Code:
    After doing some RAM searches, air level is found to be at $06E1.
    
    Set a write BP for $06E1:
    
    >00:BEBB:CE E1 06  DEC $06E1 = #$0B
     00:BEBE:20 75 E7  JSR $E775
    
    BEBB:AD:CE = SXUUUVVK


    Cannot die from spikes or Magneto's force field
    AVUIGKGZ

    Code:
    After some RAM searches I discovered $00C4 gets set to #$0F when player dies
    on spikes. The RAW code 00C4:00 worked to walk through spikes, so I set out
    trying to find a GG equivalent.
    
    After some tracing I found this routine:
    
     07:D4E1:A5 C4     LDA $00C4 = #$00
     07:D4E3:4C E9 D4  JMP $D4E9
     07:D4E6:AD A6 06  LDA $06A6 = #$00
    >07:D4E9:F0 15     BEQ $D500                      # Skip to RTS if everything is normal
     07:D4EB:29 0F     AND #$0F                       # Initiate player death if falling on spikes
     07:D4ED:0A        ASL
     07:D4EE:AA        TAX
     07:D4EF:BD 01 D5  LDA $D501,X @ $D509 = #$95
     07:D4F2:85 25     STA $0025 = #$00
     07:D4F4:BD 02 D5  LDA $D502,X @ $D50A = #$D5
     07:D4F7:85 26     STA $0026 = #$00
     07:D4F9:A2 00     LDX #$00
     07:D4FB:86 39     STX $0039 = #$00
     07:D4FD:6C 25 00  JMP ($0025) = $0000
     07:D500:60        RTS -----------------------------------------
    
    Changing the branch at $D4E9 so it goes to RTS every time will result in the
    player being allowed to walk on spikes. Using BPL instead of BEQ will do this.
    
    D4E9:10:F0 = AOVSPGEY
    
    That code works, but I found if I trace back even further there is a better
    more all-encompassing code:
    
    A:3D X:09 Y:00 S:F7 P:nvUBdiZC         $B4E7:20 B4 D4  JSR $D4B4
    A:3D X:09 Y:00 S:F5 P:nvUBdiZC           $D4B4:2C AF 06  BIT $06AF = #$00
    A:3D X:09 Y:00 S:F5 P:nvUBdiZC           $D4B7:30 0C     BMI $D4C5
    A:3D X:09 Y:00 S:F5 P:nvUBdiZC           $D4B9:A9 00     LDA #$00
    Breakpoint 0 Hit at $D4BB: $00CD:EC-W--
    
    Changing the routine at $D4B4 into RTS will result in no death, even by
    Magneto's protective force field:
    
    D4B4:60:2C = AVUIGKGZ


    Moon Jump
    NNXLNUIE

    Code:
    For this one I simply adapted Galoob's Mega Jump code: AXXLNUIE = BBA6:28:0D
    
    I increased the maximum jump height from 0x28 (Mega Jump) to 0xFF (Moon Jump)
    
    BBA6:FF:0D = NNXLNUIE
    Last edited by Dteyn; 10-01-2017, 07:49:58 PM. Reason: Added note re: falling in pits
    "One man's garbage is another man-person's good un-garbage." -- Ricky from Trailer Park Boys

    Comment

    Working...
    X