Keen 4: unused computerwrist checking sprite

Request patches for Keens 4-6.
Post Reply
User avatar
szemigi
Posts: 580
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Keen 4: unused computerwrist checking sprite

Post by szemigi » Wed Mar 14, 2018 9:40 pm

NEW REQUEST!


Well, 4SPR0159.BMP the computerwrist checking sprite in Keen 4 is unused.

As the new (returning) request, I only want that when you press ESC (ONLY in the game), Keen's computerwrist checking sprite appears (and then you go to the Control Panel)

If you ask: I only want this and nothing else.

User avatar
szemigi
Posts: 580
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Keen 4: unused computerwrist checking sprite

Post by szemigi » Tue Mar 20, 2018 3:46 pm

Don't forget this either.

EDIT: Will this be done?

levellass
Posts: 2892
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Keen 4: unused computerwrist checking sprite

Post by levellass » Mon Apr 23, 2018 7:17 am

There has been a prolonged family emergency. It is mostly over now.

This patch should do what you want, Keen checks his computerwrist when on the ground and esc is pressed. (Pressing esc off the ground or on the map just opens the menu.) This is not the complete patch, I had to change your patchfile to fit it in and you should find this replacing the one you uploaded on dropbox.

Code: Select all

#Change menu to activate on BE>E
%patch $796C $83 $3E $00BEW  $08 $73 $15 $E9 $00C5W
%patch $7988 $C6 $06 $00BEW $0000W

#Disable EGAGRAPH check in Keen 4 (Frees 389 bytes at $3CF6)
%patch $3CE5 $90 $90
%patch $2EF2E $0000W

#Insert esc check in tile checks
%patch $8FBA $FF $36 $A7D6W  $83 $3E $A7EDW  $00 $74 $07 $9A $0B8018E9RL
             $EB $05 $9A $0D8F08A9RL     $9A $037D0526RL $83 $C4 $02 $90 $90

#Esc check, turns Keen checking if on ground =$037D0526RL
%patch $3CF6 $55 $8B $EC $83 $EC $04 $56 $57 $8B $76 $06 $80 $3E $A545W  $01 #Check Esc
             $75 $1E $83 $3E $7A72W $00  $74 $13 $83 $7C $36 $00 $74 $0D $B8 #Check kground, nomap
             $4099W  $50 $56 $9A $09DC120ARL     $83 $C4 $04 $FF $06 $00BEW #Change
             $EB $06 $C7 $06 $00BEW  $0000W  $5F $5E $8B $E5 $5D $CB

#Wristcheck action =$4099W
%patch $32F09 $009FW $009FW $0000W $0000W $0001W $0006W $0000W $0000W
              $0B800395RL   $0B8014A9RL   $09DC176ERL   $098CW

Keen still checks his wrist when bored, if you want this removed, this is the patch to delete:

Code: Select all

#Insert new 'check wrist' action in bored-2 sequence
%patch $2F8CC $0CD4W
%patch $2FB44 $009FW $009FW $0003W $0000W $0001W $003CW $0000W $0000W
              $0B800395RL   $0B8014A9RL   $0B801AA2RL   $0A5EW

User avatar
szemigi
Posts: 580
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Keen 4: unused computerwrist checking sprite

Post by szemigi » Mon Apr 23, 2018 9:09 am

I'm pissed off as nothing happens when I press ESC. I pressed ESC during the game and no computerwrist check sprite when Keen is bored either. So in short: nothing happened. Fix it for me. I'm using this right now:

Code: Select all

%ext ck4

#Change menu to activate on BE>E
%patch $796C $83 $3E $00BEW  $08 $73 $15 $E9 $00C5W
%patch $7988 $C6 $06 $00BEW $0000W

#Disable EGAGRAPH check in Keen 4 (Frees 389 bytes at $3CF6)
%patch $3CE5 $90 $90
%patch $2EF2E $0000W

#Insert esc check in tile checks
%patch $8FBA $FF $36 $A7D6W  $83 $3E $A7EDW  $00 $74 $07 $9A $0B8018E9RL
             $EB $05 $9A $0D8F08A9RL     $9A $037D0526RL $83 $C4 $02 $90 $90

#Esc check, turns Keen checking if on ground =$037D0526RL
%patch $3CF6 $55 $8B $EC $83 $EC $04 $56 $57 $8B $76 $06 $80 $3E $A545W  $01 #Check Esc
             $75 $1E $83 $3E $7A72W $00  $74 $13 $83 $7C $36 $00 $74 $0D $B8 #Check kground, nomap
             $4099W  $50 $56 $9A $09DC120ARL     $83 $C4 $04 $FF $06 $00BEW #Change
             $EB $06 $C7 $06 $00BEW  $0000W  $5F $5E $8B $E5 $5D $CB

#Wristcheck action =$4099W
%patch $32F09 $009FW $009FW $0000W $0000W $0001W $0006W $0000W $0000W
              $0B800395RL   $0B8014A9RL   $09DC176ERL   $098CW

%end
See? And nothing happens, like I said.


EDIT: I tested it from dropbox one, too and that doesn't work either.

EDIT 2: Only this works unfortunately:

Code: Select all

#Insert new 'check wrist' action in bored-2 sequence
%patch $2F8CC $0CD4W
%patch $2FB44 $009FW $009FW $0003W $0000W $0001W $003CW $0000W $0000W
              $0B800395RL   $0B8014A9RL   $0B801AA2RL   $0A5EW
The other one, like I said once again, doesn't work (the one when you press esc during the game and it shows the compwrist sprite). That's why I say fix it, because this doesn't work on dropbox one mod.

levellass
Posts: 2892
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Keen 4: unused computerwrist checking sprite

Post by levellass » Tue Apr 24, 2018 7:14 am

Strange, it works in my plain mod, I may have to check your whole mod folder to see what is wrong. I'll upload my working mod to Dropbox.

I think it might have something to do with the -DEMO string.

User avatar
Dr.Colossus
Posts: 33
Joined: Thu Aug 02, 2012 8:41 pm
Location: Germany

Re: Keen 4: unused computerwrist checking sprite

Post by Dr.Colossus » Thu Apr 26, 2018 5:58 pm

szemigi wrote:
Mon Apr 23, 2018 9:09 am
I'm pissed off as nothing happens when I press ESC. I pressed ESC during the game and no computerwrist check sprite when Keen is bored either. So in short: nothing happened. Fix it for me.
Oh boy

Post Reply