JSON Build Setup Of Gates

Converting prototype of gate logic merged in with the main build. Needs testing on what happens should the stage not need to scroll after a battle