Create adventure_switch.js