Debug Menu
Once you are able to access the Cosmosphere, dive into it. Inside the cosmosphere, Hold [L2] and press the [Triangle] button to access the debug menu. In this menu you are able to open flag events, change character levels and parameters, even add money and create clear game files.