$SecretKey = "some crazy text"
arg = (Zlib::Deflate.deflate(Zlib::Deflate.deflate(pass).gsub($SecretKey, ""))).split("|")
@pokemon = arg
@switch = arg
yeah I knew that, but I was giving him a challenge of finding a method to do so....
(another method is the .pack/.unpack function)