[wip] pokedex refactor for fusions - functional base

- reste synchro + optimisations dans consultation pokedex
This commit is contained in:
infinitefusion
2022-04-16 19:16:39 -04:00
parent 801706ed0d
commit 8ae1ff072e
17 changed files with 156 additions and 77 deletions

View File

@@ -25,7 +25,11 @@ class Window_Pokedex < Window_DrawableCommand
end
def species
return (@commands.length==0) ? 0 : @commands[self.index][0]
if self.index > @commands.size
self.index = 0
end
current_position= self.index
return (@commands.length==0) ? 0 : @commands[current_position][0]
end
def itemCount