Implemented Triggers, overworld state, and prototype of state swapping.