Keen falls to the ground

Request patches for Keen Dreams.
Post Reply
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Keen falls to the ground

Post by szemigi »

Well, my request is:

If Keen dies, he falls to the ground (especially in case he dies in the air; so he doesn't stay in the air after dying but falls to the ground).


(You did this patch for Keen Meets the Meats mod, but I want it.)
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Keen falls to the ground

Post by levellass »

This should do it, though Keen's death is a little quicker than in the original:

Code: Select all

#Dying Keen falls
%patch $24B4A $0003W
%patch $24B56 $07C501A4RL
%patch $24B68 $0003W
%patch $24B74 $07C501A4RL
%patch $24B8C $0014W
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Keen falls to the ground

Post by szemigi »

Could you modify the patch? As it's okay he falls to the ground, but:

I want Keen to fall after dying WITHOUT MOVING THROUGH THE AIR. If it's not possible to make, let me know.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Keen falls to the ground

Post by levellass »

I'm not entirely sure I understand, do you mean that he dies like in Keen 4, where he falls off the screen, even if he died on solid ground?
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Keen falls to the ground

Post by szemigi »

Yeah. He dies EXACTLY like in Keen 4-6. Could you make it?
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Keen falls to the ground

Post by levellass »

I'm pretty sure I can do something similar. Keen would do the little bounce up then fall offscreen and bring up the window. I take it you want him to not animate as he falls (The falling asleep thing) but to have two possible death animations (The third one I'll need to be invisible for this to work.) And I don't think I can make him bounce repeatedly off deadly stuff like he does in Keen 4.

Does that suit you?
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Keen falls to the ground

Post by szemigi »

It does suit me.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Keen falls to the ground

Post by levellass »

Ok, this is the patch that I came up with:

Code: Select all

#Keen dying produces a shot, 1st frame is short, goes to 3rd
%patch $24B56 $05E815D8RL
%patch $24B50 $0001W
%patch $24B62 $1112W
%patch $24B82 $FFFFW $FFFFW

#Deathshot is unique
%patch $7643 $0001W  $50 $EB $B0

#Deathshot action -fall ofscreen
%patch $24B64 $0088W $0082W $0002W $0000W $0000W $0000W $0000W $0000W
              $07C501A4RL   $00000000L    $07C5022DRL   $10F4W

#Keen Dreams shooting code modified to handle deaths
%patch $6369 $55 $8B $EC $4C $4C $56 $57 $8B $76 $06 $8B $7E $08
             $B8 $0001W  $50 $9A $044D01C9RL     $44 $44 $8B $1E $3E
             $70 $C7 $07 $0002W  $8B $46 $0A $89 $47 $40 $89 $77 $0A $89 $7F
             $0C $8B $C6 $B1 $08 $D3 $E8 $89 $47 $30 $89 $47 $2C $8B $C7 $D3
             $E8 $89 $47 $32 $89 $47 $2E $C7 $47 $10 $FFFFW  $8B $5E $0A $83
             $FB $06 $77 $45 $D1 $E3 $2E $FF $A7 $0622W  $8B $1E $3E $70 $C7
             $47 $16 $0000W  $C7 $47 $18 $FFC0W  $EB $2E $8B $1E $3E $70 $C7
             $47 $16 $0040W  $C7 $47 $18 $FFECW  $EB $1E $8B $1E $3E $70 $C7
             $47 $16 $0000W  $C7 $47 $18 $0040W  $EB $0E $8B $1E $3E $70 $C7
             $47 $16 $FFC0W  $C7 $47 $18 $FFECW  $B8 $000EW  $83 $3E $8F3EW
             $0F $74 $1E

#Here we make shots
%patch $6407 $83 $3E $711CW  $00 $74 $39 $FF $0E $711CW  $B8 $0004W  $8B $1E
             $3E $70 $C7 $47 $3E $0008W  $C7 $46 $FE $0BD2W  $EB $27 $83 $3E
             $711EW  $00 $74 $1B $FF $0E $7120W  $FF $0E $711EW  $B8 $0014W
             $8B $1E $3E $70 $C7 $47 $3E $000AW  $C7 $46 $FE $0C0EW  $EB $05
             $C7 $46 $FE $0000W  $50 $9A $10BB1282RL     $44 $44
             $8B $1E $3E $70 $C7 $47 $02 $0003W  $FF $76 $FE $FF $36 $3E $70
             $9A $044D1212RL     $83 $C4 $04 $5F $5E $8B $E5 $5D $CB

#Special death coding
%patch $6472 $8B $1E $3E $70 $C7 $47 $16 $0020W  $C7 $47 $18 $FFB0W  $C7 $47
             $06 $0000W  $C7 $47 $10 $FFFFW  $C7 $07 $000FW  $C7 $46 $FE $10F4W
             $83 $36 $10F4W  $01 $EB $BA

#Shot direction list
%patch $64A2 $053FW #Upwards
             $05F2W #Death
             $054FW #Rightwards
             $057FW #INVALID
             $055FW #Downwards
             $057FW #INVALID
             $056FW #Leftwards
This should make Keen use the first two sleeping sprites when dying; first one, then the other, back and forth (I couldn't make it random.) When Keen touches deadly stuff he bounces up and offscreen. There's a small bug where in some cases the bounce is much larger, but there's nothing I can seem to do to stop that.
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Keen falls to the ground

Post by szemigi »

Could you modify the patch a bit? In my Keen Dreams mod I won't use Boobus Bombs at all. Only Flower Power.
So please modify it:

Keen dies by bouncing up and off screen + he uses Flower Power in every level (1-16), (so no Boobus Bomb at all in the entire game, only Flower Power. So yes, Flower Power is needed to beat King Boobus. I already have all the patches for King Boobus like his strength, how many flower powers, not bombs in my mod's case, are needed to beat him, etc.). If you get what I mean.

So if you ask anything, I exactly want everything like this as I wrote down above.



(Also, do the new Boobus message as well. Can't wait to use that as it would be the last patch in my Keen Dreams mod.)
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Keen falls to the ground

Post by levellass »

This slight tweak should prevent Boobus Bombs being shot. The Boobus Bombs message patch will be tricky and take time to work through. Tell me if this patch is satisfactory.

Code: Select all

#Keen dying produces a shot, 1st frame is short, goes to 3rd
%patch $24B56 $05E815D8RL
%patch $24B50 $0001W
%patch $24B62 $1112W
%patch $24B82 $FFFFW $FFFFW

#Deathshot is unique
%patch $7643 $0001W  $50 $EB $B0

#Deathshot action -fall ofscreen
%patch $24B64 $0088W $0082W $0002W $0000W $0000W $0000W $0000W $0000W
              $07C501A4RL   $00000000L    $07C5022DRL   $10F4W

#Keen Dreams shooting code modified to handle deaths
%patch $6369 $55 $8B $EC $4C $4C $56 $57 $8B $76 $06 $8B $7E $08
             $B8 $0001W  $50 $9A $044D01C9RL     $44 $44 $8B $1E $3E
             $70 $C7 $07 $0002W  $8B $46 $0A $89 $47 $40 $89 $77 $0A $89 $7F
             $0C $8B $C6 $B1 $08 $D3 $E8 $89 $47 $30 $89 $47 $2C $8B $C7 $D3
             $E8 $89 $47 $32 $89 $47 $2E $C7 $47 $10 $FFFFW  $8B $5E $0A $83
             $FB $06 $77 $45 $D1 $E3 $2E $FF $A7 $0622W  $8B $1E $3E $70 $C7
             $47 $16 $0000W  $C7 $47 $18 $FFC0W  $EB $2E $8B $1E $3E $70 $C7
             $47 $16 $0040W  $C7 $47 $18 $FFECW  $EB $1E $8B $1E $3E $70 $C7
             $47 $16 $0000W  $C7 $47 $18 $0040W  $EB $0E $8B $1E $3E $70 $C7
             $47 $16 $FFC0W  $C7 $47 $18 $FFECW  $B8 $000EW  $83 $3E $8F3EW
             $FF $74 $1E

#Here we make shots -Flower Power only
%patch $6407 $83 $3E $711CW  $00 $74 $39 $FF $0E $711CW  $B8 $0004W  $8B $1E
             $3E $70 $C7 $47 $3E $0008W  $C7 $46 $FE $0BD2W  $EB $27 $83 $3E
             $711EW  $00 $74 $1B $FF $0E $7120W  $FF $0E $711EW  $B8 $0014W
             $8B $1E $3E $70 $C7 $47 $3E $000AW  $C7 $46 $FE $0C0EW  $EB $05
             $C7 $46 $FE $0000W  $50 $9A $10BB1282RL     $44 $44
             $8B $1E $3E $70 $C7 $47 $02 $0003W  $FF $76 $FE $FF $36 $3E $70
             $9A $044D1212RL     $83 $C4 $04 $5F $5E $8B $E5 $5D $CB

#Special death coding
%patch $6472 $8B $1E $3E $70 $C7 $47 $16 $0020W  $C7 $47 $18 $FFB0W  $C7 $47
             $06 $0000W  $C7 $47 $10 $FFFFW  $C7 $07 $000FW  $C7 $46 $FE $10F4W
             $83 $36 $10F4W  $01 $EB $BA

#Shot direction list
%patch $64A2 $053FW #Upwards
             $05F2W #Death
             $054FW #Rightwards
             $057FW #INVALID
             $055FW #Downwards
             $057FW #INVALID
             $056FW #Leftwards
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Keen falls to the ground

Post by szemigi »

Satisfactory!

(I managed to tweak the scorebox thing based on your tweaked patch, so more satisfactory.)


As for the new Boobus Bomb message, take your time. (Like I said, this will be the final patch I want for my mod.)

Question: Can the new Boobus message be the 3rd page of the ending sequence? Just asking. And what about that pea brain? (You know, I accepted this idea of yours.) Tell me, just to make sure what I must count on.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Keen falls to the ground

Post by levellass »

It's tricky, in theory I don't need the 3rd ending window, even for text space. It'll have to bring up its own window and I think I can do that by compacting the cheats. The big trick will be getting a sprite in the level, it will need an animation for Keen to touch, but I don't think I need the Pea Brain for it.
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Keen falls to the ground

Post by szemigi »

levellass wrote: Thu Oct 10, 2019 1:16 pm The big trick will be getting a sprite in the level, it will need an animation for Keen to touch, but I don't think I need the Pea Brain for it.
I have a good idea, but I don't know if it's possible to carry out:


This needed sprite would have 1 animation frame:

- it would be a paper sheet sprite
- Keen can touch it only by pressing the up key (if Keen is in front of it; kinda a like a pinned message on the board that Keen can read anytime he wants, so this paper sprite won't disappear after Keen read it, BUT: if the disappearing is good for you in all cases, that's good for me as well then), not by running into it or anything else
- when Keen touches/reads the paper sheet sprite by pressing the up key, his sprite changes to 7SPR0099.BMP (as I won't use this sprite at all) ONLY AND ONLY in this case for this moment, but after being done with reading the text by pressing any key (like in Lindsey's case), Keen can continue the game (of course)

Hope you get what I mean. (Try and make every possible solution, so I can see what could fit me.)


And not least, the text would be:

A fairy's words: (aligned to the middle)

"There's a hidden dark cave on the south-east.
You'll almost need everything to visit it." (also aligned to the middle)

So this would be a short-sized window. This new message could also be put in ANY level (1-16).

I hope you can solve it. But if not, please, find an other solution and make that as I miss this patch only.
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Keen falls to the ground

Post by szemigi »

Will you finish this patch? If so, post it here. Like I said, no matter now which solution (I wrote above) you choose. Just, please make it...
Post Reply