Code: Select all
#Change lightswitch tile [New tile must have lightswitch propery]
%patch $6518 $0F $01
Code: Select all
#Make a new palette and use it for...
%patch $177C4 $1F $1F $1F $1F $1F $1F $1F $1F $00 $00 $00 $00 $00 $00 $00 $00 $00
%patch $640B $44 $00 #Lights off
%patch $63EB $44 $00 #Lights on
#Default Lights palettes:
%patch $640B $79 $24 #Lights off palette (Dark)
%patch $63EB $9B $24 #Lights on palette (Normal)
Code: Select all
#Speed of lightswitcing: (Level freezes for this long)
%patch $63DE $01 $00 #Off
%patch $63FE $01 $00 #On
Code: Select all
#Stop lights...
%patch $6564 $8D $FE #Turning off
%patch $656A $67 $FE #Turning on
Code: Select all
#When we shoot tantalus:
%patch $47BD $15 $1C #Lights turn on
%patch $47BD $35 $1C #Lights turn off