mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44:58 +00:00
Rewrote Debug menus to store options in self-contained handlers
This commit is contained in:
@@ -572,9 +572,9 @@ class MapScreenScene
|
||||
if Input.trigger?(Input::B)
|
||||
if pbConfirmMessage(_INTL("Save changes?"))
|
||||
serializeConnectionData
|
||||
MapFactoryHelper.clear
|
||||
save_data(@encdata,"Data/encounters.dat")
|
||||
# TODO: Only need to reload connections and encounter data.
|
||||
pbClearData
|
||||
$PokemonTemp.encountersData = nil
|
||||
pbSaveEncounterData
|
||||
end
|
||||
break if pbConfirmMessage(_INTL("Exit from the editor?"))
|
||||
|
||||
Reference in New Issue
Block a user