What is this, error checking in a ZUN game?! And surprisingly good code for deriving the alpha plane?! Part of P0083, funded by Yanga.