mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
resort gorgeous / debug options
This commit is contained in:
@@ -116,9 +116,13 @@ end
|
||||
# the ID of the species to initially select. Pressing Input::ACTION will toggle
|
||||
# the list sorting between numerical and alphabetical.
|
||||
def pbChooseSpeciesList(default = nil)
|
||||
commands = []
|
||||
GameData::Species.each { |s| commands.push([s.id_number, s.real_name, s.id]) if s.form == 0 }
|
||||
return pbChooseList(commands, default, nil, -1)
|
||||
# commands = []
|
||||
# GameData::Species.each { |s| commands.push([s.id_number, s.real_name, s.id]) if s.form == 0 }
|
||||
# return pbChooseList(commands, default, nil, -1)
|
||||
params = ChooseNumberParams.new
|
||||
params.setRange(1,PBSpecies.maxValue)
|
||||
dexNum = pbMessageChooseNumber("dex number?",params)
|
||||
return GameData::Species.get(dexNum)
|
||||
end
|
||||
|
||||
def pbChooseSpeciesFormList(default = nil)
|
||||
|
||||
@@ -7,7 +7,27 @@ def pbDefaultMap
|
||||
return 0
|
||||
end
|
||||
|
||||
def pbWarpToMapId
|
||||
params = ChooseNumberParams.new
|
||||
params.setRange(1,pbMapTree().length)
|
||||
map_id = pbMessageChooseNumber("map id?",params)
|
||||
return [map_id,0,0]
|
||||
end
|
||||
|
||||
def pbWarpToMap
|
||||
choice = pbMessage("type", [_INTL("List"),_INTL("Map id"), _INTL("Town map")], 0)
|
||||
if choice == 0
|
||||
map = pbWarpToMapList
|
||||
elsif choice == 1
|
||||
map = pbWarpToMapId
|
||||
elsif choice == 2
|
||||
Kernel.pbMessage("Not currently supported")
|
||||
map = pbWarpToMapList
|
||||
end
|
||||
return map
|
||||
end
|
||||
|
||||
def pbWarpToMapList
|
||||
mapid = pbListScreen(_INTL("WARP TO MAP"),MapLister.new(pbDefaultMap))
|
||||
if mapid>0
|
||||
map = Game_Map.new
|
||||
|
||||
Reference in New Issue
Block a user