Multiple patch requests for Keen 5

Request patches for Keens 4-6.
Post Reply
Dave216
Posts: 19
Joined: Thu Apr 14, 2022 8:33 am

Multiple patch requests for Keen 5

Post by Dave216 »

I don't know if it's appropriate to ask for multiple patches in a single thread or not, but here I go anyway.
Is it possible to patch:

Sparky:
having strength ( needing 3 shots to stun)

Ampton:
-follows Keen & can only be stunned by pink shots/enemy shooter
-doesn't kill Keen while using poles
-drops a keycard when stunned

General:
- Winning the game by dying in a certain level
-Collecting an item alters the ending. As in, colliding with a certain object triggers the Korath "special ending". Like a swimsuit interaction in Keen 4.
nwe74
Posts: 11
Joined: Mon Jul 18, 2022 7:46 pm

Re: Multiple patch requests for Keen 5

Post by nwe74 »

Dear Dave216,
Some of the patches you have requested:

Sparky killed by 3 shots:
Note: $0003w in the first row is the health

Code: Select all

# Sparky spawn, for setting "health" to 3
%patch $1102F $58 $8B $1E $9E40w $C7 $07 $0009w $C7 $47 $40 $0003w $BB $00 $FF        
    $0E $E8 $000Fw $B8 $1F0Cw $50 $53 $9A $090B11C4RL $83 $C4 $04 $5D $CB
    
# Re-used code block for Sparky and Ampton
%patch $11053 $8B $46 $08 $B1 $08 $D3 $E0 $01 $D8 $8B $1E $9E40w $89 $47 $0C
    $8B $46 $06 $D3 $E0 $89 $47 $0A $53 $9A $1DFB0036RL $5B $31 $C9 
    $89 $4F $20 $41 $89 $4F $02 $89 $4F $10 $3D $80 $00 $7C $02 $F7 $D9
    $89 $4F $0E $CB
    
# Sparky sprite contact, stunnable with 3 shots 
%patch $11186 $75 $07
%patch $1118D $EB $16 $83 $3C $03 $75 $11 $8B $5E $06 $FF $4F $40 $74 $2A $56
    $9A $0CCB10B3RL $83 $C4 $02
    
%patch $111C1 $B8 $FFFFw $EB $5E $B8 $21BEw $50 $56 $53 $9A $090B16CDRL
    $83 $C4 $06 $5E $5D $CB
Ampton does not kill Keen when climbing pole, immune to the shots of Keen, but stunned by the "purple shots":
Ampton drops keycard:

TO DO: May be stunned by the shots of other enemies (e.g. Robo Red)? I have not tested this (yet).
Note: The Ampton patches will not work without the Sparky patches

Code: Select all

# Ampton spawn, free space for keycard dropping (depends on the Sparky patch)
%patch $11276 $BB $FF80w $0E $E8 $FDD6w $B8 $21DCw $50 $53 $9A $090B11C4RL
    $83 $C4 $04 $5D $CB
    
# Keycard drop (must be used with the "sprite contact" patch)
%patch $1128C $31 $C0 $50 $9A $06B91DCDRL $58 $8B $1E $9E40w $C7 $07 $0005w
    $C7 $47 $06 $0001w $C7 $47 $20 $0002w $8B $44 $0A $89 $47 $0A $8B $44 $0C
    $89 $47 $0C $BE $000Cw $EA $0F9204B5RL
    
# Ampton sprite contact: 1. Harmless, even when climbing pole
#     2. Can push Keen 3. Immune to the shots of Keen
#     4. Stunned by the purple shots of cannons, drops keycard
#     (TO DO, may be killed by the shots of other enemies?)
%patch $11643 $75 $13
%patch $1164A $74 $49 $56 $57 $9A $090B0CD2RL $83 $C4 $04 $EB $3D $83 $3D $03
    $75 $09 $57 $9A $0CCB10B3RL $58 $EB $2F $83 $3D $04 $75 $2A $31 $C0 
    $89 $44 $18 $40 $89 $44 $06 $89 $44 $10 $B0 $21 $50 $9A $196E09EFRL $58
    $B8 $239Ew $50 $57 $56 $9A $090B16CDRL $83 $C4 $06 $5F $E9 $FBFAw
Ampton follows Keen: I am still working on this

Winning the game when dying in a level with the specified number:
Note: $XX must be replaced with the number of the level in hexadecimal format (e.g. $0B - level 11)

Code: Select all

# Win the game when Keen dies in level XX

%patch $BF8E $B8 $FF80w $A3 $BF83w $83 $7C $0E $01 $75 $02 $B4 $00 $A3 $BF85w 
    $5E $5D $CB $B8 $0001w $83 $3E $9E55w $XX $75 $02 $B0 $0F $A3 $6F70w $CB

%patch $8F71 $9A $0AAF14B2RL $90
%patch $BFFE $9A $0AAF14B2RL $90
Last edited by nwe74 on Sat Dec 03, 2022 11:54 pm, edited 2 times in total.
Dave216
Posts: 19
Joined: Thu Apr 14, 2022 8:33 am

Re: Multiple patch requests for Keen 5

Post by Dave216 »

I am so hyped right now. They all work as I was hoping they would. Thank you so much!! This will be put to good use.
Post Reply