PATCH: Freezing Keen [And bonus bullet patch!]

Completed patches for Keen1.
Post Reply
User avatar
levellord
Crazy pAtChEr
Posts: 1401
Joined: Thu Nov 20, 2003 11:35 pm
Location: NewZealand
Contact:

PATCH: Freezing Keen [And bonus bullet patch!]

Post by levellord »

In response to Harvey's request for an iceblock patch, I investigated some frezing code. Sadly, this is seperate from the 'how frozen Keen acts' code. [Do you know frozen Keen can stop a yorp, and will then unfreze?] But as a bonus, I can fiddle what happens when Keen is hit by an iceblock!

Code: Select all

#Keen is frozen sound $00 for none.
%patch $4691 $28 $00 

#Time Keen spends frozen [$00 quick, $90 Keen flickers unfreezing animation, is pushed by icecude, but immediately returns to normal, good for using icecubes as elevators]
%patch $468F $03

#Icecubes push, but don't freze Keen [Like $90 in above, but no unfrezing animation]
%patch $467C $90

#Keen doesn't jump when pushed by icecube, just falls down and slides along
#Good for stooping ice cannons hitting frozen keen all the time.
%patch $468A $90

#Keen doesn't move horizontaly when hit by icecube. [Just up and down]
%patch $4684 $90

#Keen doesn't move at all when hit by icecube [but can fall down]
%patch $4683 $90

#Keen flys rapidly left when hit by ANY icecube
%patch $4681 $90
#Or slowly right
%patch $4681 $00
#Or moves rapidly right
%patch $4681 $FF

#Keen slides faster when hit by icecube
%patch $4681 $03

#Being hit by an icecube finnishes the level
%patch $467E $03

#Being hit by an icecube EXITS [not finnishes] the level
%patch $467E $07

#Being hit by an icecube pauses the level, hitting any key returns Keen to map
%patch $467E $0F
And as a bonus I accidentaly found this little patch to do with the Keen firing code.

Code: Select all

#Keens shots stay where he puts them [don't move, like mines]
%patch $46E9 $07
User avatar
levellord
Crazy pAtChEr
Posts: 1401
Joined: Thu Nov 20, 2003 11:35 pm
Location: NewZealand
Contact:

Post by levellord »

And a few things from the frozen sprite code:

Code: Select all

#Sprite frozen Keen uses
%patch $270C $1A

#Number of frames for next sprite animation
#[$00, no animation, 02 uses say sprite 13 and 15, etc]
%patch $2709 $00

#Icecube frezzes Keens animation [Whatever hes doing when hit he frezes as]
%patch $270F $90

#Keen frezez, unfreze animates, frezes again, and THEN unfrezes
%patch $271B $00

#Keen unfreze animates, frezez then unfrezes
%patch $271B $04

#Unfrezing animation doesn't happen, Keen goes from frozen to normal
%patch $271B $07

#Keen is unfrezing instead of frozen [still slides, etc]
%patch $271C $90

#Unfreezing sprite
%patch $2723 $1F $00

#Keen exits level when he unfrezes [loses life!]
%patch $2730 $90

#Keen exits level when he unfrezes [doesn't lose life!]
%patch $2730 $00

#Frozen Keen will fall through ALL tiles [not sprites or killing tiles]
%patch $2735 $90
Last edited by levellord on Sat Jul 23, 2005 12:58 am, edited 1 time in total.
User avatar
grafix
Posts: 199
Joined: Fri Oct 29, 2004 8:38 am

Post by grafix »

That mine-laying patch combined with the shot-height patch could make for some very cool mods. Nifty.
KeenRush
Patch Maker
Posts: 1988
Joined: Sun Aug 31, 2003 2:52 pm
Location: Sand Yego
Contact:

Post by KeenRush »

Woah, insane stuff! :D This is really cool!
User avatar
CommanderSpleen
Posts: 1017
Joined: Sun Aug 31, 2003 12:11 pm
Location: The Land of Sparkly Things
Contact:

Intriguing.

Post by CommanderSpleen »

Nice stuff. *appLLauds*
Grafix wrote: That mine-laying patch combined with the shot-height patch could make for some very cool mods. Nifty.
And if the same thing is applied to the shooting robot's bullet, that'd bring us closer to implementing the slugs convincingly in the CKCM. Although, without some sort of 'kill bullet sprite after x elapsed time [or when sprite count exceeds x amount?]' patch, things could become unmanageable very quickly.
LevelLord wrote: [Do you know frozen Keen can stop a yorp, and will then unfreze?]
Actually, I came across this effect while working on Perilous Pursuit... in the level with the cannon at the very start above a huge pit, it's possible to lauch from one of the cannons, land on a critter to the bottom-right, and keep on moving.
Last edited by CommanderSpleen on Fri Jul 22, 2005 9:12 am, edited 1 time in total.
KeenRush
Patch Maker
Posts: 1988
Joined: Sun Aug 31, 2003 2:52 pm
Location: Sand Yego
Contact:

Post by KeenRush »

^ Oh yeah, I've noticed that too! If I remember correct I noticed it the first time in XkyKeen1.
Kdash
Posts: 405
Joined: Sat Feb 26, 2005 5:45 pm

Post by Kdash »

Cool! *launches ice cannon*
User avatar
XkyRauh
Posts: 1114
Joined: Sun Aug 31, 2003 9:14 pm
Location: San Diego, California

hehe

Post by XkyRauh »

If only Keen could stand on his bullets, the way he could in 4-6... then the mods would get REAL entertaining.
Kdash
Posts: 405
Joined: Sat Feb 26, 2005 5:45 pm

Post by Kdash »

Code: Select all

#Keen exits level when he unfrezes [loses life!]
%patch $2730 $90

#Keen exits level when he unfrezes [doesn't lose life!]
%patch $2730 $90
How can the same exact patch do two things??
User avatar
levellord
Crazy pAtChEr
Posts: 1401
Joined: Thu Nov 20, 2003 11:35 pm
Location: NewZealand
Contact:

Post by levellord »

Ooops! Misprint *blush*

They're actually:

#Keen exits level when he unfrezes [loses life!]
%patch $2730 $90

#Keen exits level when he unfrezes [doesn't lose life!]
%patch $2730 $00


Sorry! If any others don't work, its probbably something simalar.
User avatar
grelphy
Posts: 219
Joined: Fri Sep 05, 2003 12:41 am
Location: the Armageddon Machine

Post by grelphy »

Frez?

I thought Impossible Bullet only worked in Keen 6, not in 4 or 5[/quote]
Kdash
Posts: 405
Joined: Sat Feb 26, 2005 5:45 pm

Post by Kdash »

[/quote]?

It doesn't. I think. I like pogoing backwards. (-: !!oot ,sdrawkcab epyt ot ekil I
Uh, um, uh, ok. ...
...
...
...
...



...



Cool patches.

7h15 wuz 4 u53l355 p057!! :-(
KeenRush
Patch Maker
Posts: 1988
Joined: Sun Aug 31, 2003 2:52 pm
Location: Sand Yego
Contact:

Post by KeenRush »

Keen's movement on the screen can get quite strange with some of those. :)
User avatar
levellord
Crazy pAtChEr
Posts: 1401
Joined: Thu Nov 20, 2003 11:35 pm
Location: NewZealand
Contact:

Post by levellord »

Yeah, but what are ya gonna do?
Post Reply