// Some palette-shifted textures

// Single green button -> single blue button
texture SW1GRAY2, 64, 128 {
	patch SW1GRAY1, 0, 0 {
		translation "112:127=192:207"
	}
}
texture SW2GRAY2, 64, 128 {
	patch SW2GRAY1, 0, 0 {
		translation "112:127=192:207"
	}
}

// -----------------------------------------------------------------------------
// Translate the plasma gun's firing overlay to match the kind of shot it's
// firing -- these should match the translations on the custom PlasmaBalls

// Fire: C D
sprite PLSFC0, 83, 75 {
	offset -123, -93
	patch PLSFA0, 0, 0 {
		translation "192:207=208:223", "240:243=232:235"
	}
}
sprite PLSFD0, 85, 73 {
	offset -122, -95
	patch PLSFB0, 0, 0 {
		translation "192:207=208:223", "240:243=232:235"
	}
}

// Slime: E F
sprite PLSFE0, 83, 75 {
	offset -123, -93
	patch PLSFA0, 0, 0 {
		translation "192:207=112:125", "240:243=126:127"
	}
}
sprite PLSFF0, 85, 73 {
	offset -122, -95
	patch PLSFB0, 0, 0 {
		translation "192:207=112:125", "240:243=126:127"
	}
}

// Electric: G H
sprite PLSFG0, 83, 75 {
	offset -123, -93
	patch PLSFA0, 0, 0 {
		translation "192:193=225:231", "194:195=212:215", "196:199=170:177", "200:207=251:253", "240:243=254:254"
	}
}
sprite PLSFH0, 85, 73 {
	offset -122, -95
	patch PLSFB0, 0, 0 {
		translation "192:193=225:231", "194:195=212:215", "196:199=170:177", "200:207=251:253", "240:243=254:254"
	}
}

// Hitscan: I J
sprite PLSFI0, 83, 75 {
	offset -123, -93
	patch PLSFA0, 0, 0 {
		translation "192:207=80:111", "240:243=5:8"
	}
}
sprite PLSFJ0, 85, 73 {
	offset -122, -95
	patch PLSFB0, 0, 0 {
		translation "192:207=80:111", "240:243=5:8"
	}
}

// Ice: K L
sprite PLSFK0, 83, 75 {
	offset -123, -93
	patch PLSFA0, 0, 0 {
		translation "192:192=4:4", "193:195=80:82", "196:207=192:197", "240:243=198:199"
	}
}
sprite PLSFL0, 85, 73 {
	offset -122, -95
	patch PLSFB0, 0, 0 {
		translation "192:192=4:4", "193:195=80:82", "196:207=192:197", "240:243=198:199"
	}
}
