A few Vorticon & chain patches (Keen1)

Request patches for Keens 1-3.
Post Reply
Darziw Nogaj
Posts: 22
Joined: Fri Feb 07, 2014 1:25 am

A few Vorticon & chain patches (Keen1)

Post by Darziw Nogaj »

Quinton is planning on creating a boss battle in the final level, but he needs some patches for both the Vorticon and the chain, here's a list below:

Vorticon patches:

-Vorticon charges if it see's Keen (like the Garg).
-When defeated, the Vorticon creates the chain sprite.

Chain patches:

-Chain will fall until it touches a solid tile.
-Keen's shots will have no affect on the chain.
-Touching the chain will give Keen the red keycard and will be destroyed.
-When the chain is destroyed, don't create tiles.

That's all he needs!
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Now, I'm assuming that the 'Chain' is not going to sit there, it's going to fall as soon as it's created; in this case it doesn't actually *need* to be the chain, just to look like the chain. Will the Vorticon leave a dead body as well or just transform?
Darziw Nogaj
Posts: 22
Joined: Fri Feb 07, 2014 1:25 am

Post by Darziw Nogaj »

levellass wrote:Now, I'm assuming that the 'Chain' is not going to sit there, it's going to fall as soon as it's created; in this case it doesn't actually *need* to be the chain, just to look like the chain. Will the Vorticon leave a dead body as well or just transform?
Hi Levellass,

So the chain can be just a sprite but not the chain object in the game?

The Vorticon will leave a dead body.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

That is correct, there is no need to take up the chain sprite, it can be used for something else. These patches will take time to do but should be possible.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Here is the second part of your patch; when the Vorticon is shot it will die and produce a sprite that LOOKS like the chain. (Image $72, but this can be changed.) The Chain itself still works just like normal and can be used however you like.

The card sprite will sit around until Keen touches it, nothing else will affect it. When he touches it he gets the card, the card sound plays and the sprite vanishes. Depending on the size of your Vorticon the card may end up in the floor, if so I can change its spawn height.

Code: Select all

#Dead Vorticon drops card sprite
%patch $1DAD $0AF2W #When shot
%patch $2363 $0AF2W #When falling-blocked

#Produce card sprite behavior
%patch $0AF2 $55 $8B $EC $FF $36 $2A $82 $FF $36 $28 $82 $FF $36 $26 $82 $FF
             $36 $24 $82 $E8 $000BW  $83 $C4 $08 $C7 $06 $52 $82 $489DW  $5D $C3

#Make card code -sets card properties (Animation used is chain sprite's, $72)
%patch $0B13 $55 $8B $EC $56 $E8 $1E1BW  $8B $F0 $C7 $04 $0001W  $8B $46 $06
             $8B $56 $04 $89 $54 $04 $89 $44 $06 $8B $46 $0A $8B $56 $08 $81
             $C2 $00 $09 $15 $0000W  $89 $54 $08 $89 $44 $0A $C7 $44 $32 $0B51W
                 $C7 $44 $34 $0B5CW  $C7 $44 $28 $0072W  $5E $5D $C3

#Card behavior: fall, clip
%patch $0B51 $55 $8B $EC $E8 $20D3W  $E8 $2113W  $5D $C3

#Card collision, if Keen give red card, play sound, vanish
%patch $0B5C $55 $8B $EC $56 $57 $8B $76 $04 $8B $7E $06 $83 $3D $01 $75 $16
             $C7 $04 $0000W  $C7 $44 $34 $3360W  $B8 $0020W  $50 $E8 $B377W
             $44 $44 $FF $06 $AAA0W  $5F $5E $5D $C3

Not sure where to start on the whole charging thing though.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Huh, thought I posted this. Apparently not. People need to nag more.

This patch makes the Vorticon charge. You will need to change the value $0800W if you've hcange the height of keen OR the Vorticon. (Right now it assumes Keen is 24 high and the Vorticon 32 high. 32 - 24 = 8.) The Vorticon's charging speed is $00DC and its walking speed $003C.

Code: Select all

#Vorticon searches for Keen
%patch $1CF2 $0B86W

#Vorticon searching code
%patch $0B86 $55 $8B $EC $C7 $06 $40 $82 $0000W  $A1 $5135W  $B1 $05 $D3 $E8
             $25 $0003W  $05 $004EW  $A3 $8248W  $A1 $824AW  $03 $06 $14 $5B
             $A3 $824AW  $E8 $207EW  $E8 $20BEW  $83 $3E $824AW  $50 $7C $4B
             $A1 $822AW  $8B $16 $8228W  $81 $C2 $0800W  $15 $0000W  $3B $06
             $E4 $6E $75 $0E $3B $16 $E2 $6E $75 $08 $C7 $06 $8240W  $00DCW
             $EB $06 $C7 $06 $8240W  $003CW  $A1 $8226W  $8B $16 $8224W  $3B
             $06 $E0 $6E $7C $10 $7F $06 $3B $16 $DE $6E $76 $08 $A1 $8240W
             $F7 $D8 $A3 $8240W  $C7 $06 $8252W  $1C0EW  $5D $C3
Post Reply