mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
[wip] pokedex refactor for fusions - functional base
- reste synchro + optimisations dans consultation pokedex
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user