Lightswitch patches

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

Lightswitch patches

Post by levellord »

The final set of lightswitch patches, and yes I probbably could make the lights turn off when Mort is killed, if anyone wants it.

Code: Select all

#Change lightswitch tile [New tile must have lightswitch propery]
%patch $6D76 $0F $01

#Make a new palette and use it for...
%patch $19824 $1F $1F $1F $1F $1F $1F $1F $1F      #New Palette
              $00 $00 $00 $00 $00 $00 $00 $00  $00
%patch $6C6C  $04 $00                             #Lights off
%patch $6C4D  $04 $00                             #Lights on

#Light palettes:
%patch $6C4D $97 $25 #Lights on
%patch $6C6C $19 $25 #Lights off
The usual stuff here, tiles and palettes.

Code: Select all

#Speed of lightswitcing: (Level freezes for this long)
%patch $6C60 $01 $00 #Off
%patch $6C41 $01 $00 #On
Setting it to $08 is interesting.

Code: Select all

#Stop lights...
%patch $6DC2 $91 $FE #Turning off
%patch $6DC7 $6E $FE #Turning on
And finally some disabling, enjoy!

Post Reply