Skip to content

Commit

Permalink
Update EBDX Module.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Manurocker95 committed Mar 14, 2023
1 parent 56f2470 commit 5ad5d84
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ def self.InitializeItems
def self.GetSpeciesIndex(species)
number = @full_species.index(species) || 0
return number
#GameData::Species.try_get(species)&.species
end
def self.GetSpeciesID(species)
return GameData::Species.try_get(species)&.species
end
def self.GetItemID(item)
return @full_items.index(item) || 0
Expand Down

0 comments on commit 5ad5d84

Please sign in to comment.