Cleaned up evolution method definitions, rewrote the "Fill Bag" Debug feature to make it much faster, removed all instances of changing the game window's title

This commit is contained in:
Maruno17
2021-07-22 22:46:43 +01:00
parent d21d3cb1fd
commit cb0220b751
15 changed files with 89 additions and 98 deletions

View File

@@ -21,7 +21,7 @@ class PokemonBag
@choices[i] = 0
end
@registeredItems = []
@registeredIndex = [0, 0, 1]
@registeredIndex = [0, 0, 1] # Used by the Ready Menu to remember cursor positions
end
def rearrange
@@ -44,6 +44,9 @@ class PokemonBag
def clear
@pockets.each { |pocket| pocket.clear }
for i in 0..PokemonBag.numPockets
@choices[i] = 0
end
end
def pockets