Announcement

Collapse
No announcement yet.

[NES] Baby Boomers (USA)

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

  • [NES] Baby Boomers (USA)

    Infinite Lives
    VGKTZXSX

    Invincible (bombs, holes, and running out of milk can still kill you)
    ILXVPSAV

    Completely Invulnerable (will not die even if you fall in a hole)
    ATVVASSZ

    Infinite Milk
    SZUVZKVK

    Start with more milk
    GUOIKYGP

    Twice as much milk on pickup
    GPNNSUZA



    I gotta admit, I can't believe I decided to make codes for this game. I was trying out my new light zapper mod and just had to. So in case anyone else ever has the desire to play this game, here are some codes for ya! Cheers!


    Code development notes (for anyone interested):
    Spoiler Alert! Click to view...



    Infinite Lives
    VGKTZXSX

    Code:
    Lives remaining are stored at $0503:
    
    >01:E242:CE 03 05  DEC $0503 = #$03
     01:E245:F0 07     BEQ $E24E
    
    Change DEC into LDA:
    >01:E242:AD 03 05  LDA $0503 = #$03
    
    E242:AD:CE = VGKTZXSX


    Invincible (bombs, holes, and running out of milk can still kill you)
    ILXVPSAV

    Code:
    This is a simple variation on the 'Cannot die' code.
    
    Instead of changing the main death routine to an RTS, this code
    changes the address of the jump to that routine, so it points
    to an RTS.
    
    The result is that the player can still die if falling in holes,
    or if getting hit by a bomb.
    
    
    >01:E528:20 68 E5  JSR $E568
     01:E52B:4C 2E E5  JMP $E52E
     01:E52E:AD AB 05  LDA $05AB = #$00
     01:E531:C9 02     CMP #$02
     01:E533:D0 08     BNE $E53D
     01:E535:CE AC 05  DEC $05AC = #$FF
     01:E538:D0 03     BNE $E53D
     01:E53A:EE AB 05  INC $05AB = #$00
     01:E53D:60        RTS -----------------------------------------
    
    
    Change JSR $E568 to JSR $E53D:
    
    >01:E528:20 3D E5  JSR $E53D
    
    
    E529:3D:68 = ILXVPSAV


    Completely invulnerable (will not die even if you fall in a hole)
    ATVVASSZ

    Code:
    I noticed that $0565 gets set to FF when the player dies.
    
    I traced the code back and found that the player death routine
    seems to initiate at $E568.
    
    Replacing with a RTS ends the routine before it begins.
    
    >01:E568:AD D9 05  LDA $05D9 = #$00
     01:E56B:F0 05     BEQ $E572
     01:E56D:A9 00     LDA #$00
     01:E56F:8D D8 05  STA $05D8 = #$FF
     01:E572:20 02 DD  JSR $DD02
     01:E575:A9 FF     LDA #$FF
     01:E577:8D 65 05  STA $0565 = #$00
    
    
    Change LDA to RTS:
    
    >01:E568:60        RTS -----------------------------------------
    
    
    E568:60:AD = ATVVASSZ


    Infinite milk
    SZUVZKVK

    Code:
    Milk remaining is stored at $0507.
    Code at $E43A decrements the value:
    
    >01:E43A:CE 07 05  DEC $0507 = #$14
     01:E43D:D0 03     BNE $E442
    
    Change DEC to LDA:
    >01:E43A:CE 07 05  DEC $0507 = #$14
    
    
    E43A:AD:CE = SZUVZKVK


    Start with more milk
    GUOIKYGP

    Code:
    Milk remaining is stored at $0507.
    Value is initialized at $DF93:
    
     01:DF93:A9 14     LDA #$14
    >01:DF95:8D 07 05  STA $0507 = #$0E
    
    Change LDA #$14 into LDA #$34 for more milk at start of level.
     01:DF93:A9 34     LDA #$34
    
    
    DF94:34:14 = GUOIKYGP


    Twice as much milk on pickup
    GPNNSUZA


    Code:
    Milk remaining is stored at $0507.
    Code at $FB78-FB7E runs when milk is picked up:
    
     01:FB78:AD 07 05  LDA $0507 = #$33
     01:FB7B:18        CLC
     01:FB7C:69 0A     ADC #$0A
    >01:FB7E:8D 07 05  STA $0507 = #$33
    
    Change ADC #$0A to ADC #$14 for more milk on pickup:
    
     01:FB7C:69 14     ADC #$14
    
    
    FB7D:14:0A = GPNNSUZA
    "One man's garbage is another man-person's good un-garbage." -- Ricky from Trailer Park Boys
Working...
X