save code for ufo doors

i have NO clue how the binary save structure works, hopefully hmaon or someone
can sort this out, but i assure you this DOES work.