Keen 4 Janitor Question

Anything related to Keen Modding.
Post Reply
CouncilMember9
Posts: 1
Joined: Wed Apr 08, 2020 2:59 am

Keen 4 Janitor Question

Post by CouncilMember9 »

Hi everyone, I've been working on making a mod of Keen 4 where Mort shoots the council members to end the level and I've hit a bit of a snag with the janitor. I've been using this code:

#Member sprite type - Lick (don't activate on touch)
%patch $FCFD $12

#Activate when shot:
#Walking
%patch $30E3C $06BD0E72RL
%patch $30E5A $06BD0E72RL
#Disable boss cheat
%patch $7A40 $EB
#Custom collision: Save a Council Member when shot
%patch $7A42 $55 $8B $EC $56 $57 $8B $76 $06 $8B $7E $08 $83 $3D $03 $75 $0A
$C7 $06 $70 $7A $0003W $5F $5E $5D $CB $83 $3D $04 $75 $18 $C7 $44
$16 $0000W $C7 $44 $06 $0001W $B8 $3674W $50 $57 $56 $9A $00000000L
$83 $C4 $06 $5F $5E $5D $CB

#Oracle members don't stop to think (Frees $FD55 - $FD7D)
%patch $FD54 $CB

Which works great, but I was wondering if there's a way to separate the janitor so stunning him doesn't result in "rescuing" a council member? Right now when I test this code, touching the janitor makes it function as the janitor (which I thought it shouldn't, because of the top patch, but okey-dokey), but instead I'd like it to be so that touching him does nothing, and stunning him triggers the janitor window. What do you think, is that possible?

Post Reply