mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-22 22:36:03 +00:00
Implemented GameData::Nature, improved registration of GameData entries
This commit is contained in:
@@ -206,6 +206,12 @@ def pbChooseAbilityList(default = nil)
|
||||
return pbChooseList(commands, default, nil, -1)
|
||||
end
|
||||
|
||||
def pbChooseNatureList(default = nil)
|
||||
commands = []
|
||||
GameData::Nature.each { |n| commands.push([n.id_number, n.name, n.id]) }
|
||||
return pbChooseList(commands, default, nil, -1)
|
||||
end
|
||||
|
||||
def pbChooseBallList(defaultMoveID = -1)
|
||||
cmdwin = pbListWindow([], 200)
|
||||
commands = []
|
||||
|
||||
Reference in New Issue
Block a user