Space to switch phases. The coding was done by me.
Special thanks to udubfan for the sprites that helped make this design.