General tidying up

This commit is contained in:
Maruno17
2020-12-28 15:46:08 +00:00
parent d3d7222fd3
commit fb29c6b760
44 changed files with 1822 additions and 2650 deletions

View File

@@ -41,8 +41,6 @@ class PokemonBoxIcon < IconSprite
end
end
#===============================================================================
# Pokémon sprite
#===============================================================================
@@ -106,8 +104,9 @@ class MosaicPokemonSprite < PokemonSprite
end
end
#===============================================================================
#
#===============================================================================
class AutoMosaicPokemonSprite < MosaicPokemonSprite
def update
super
@@ -115,8 +114,6 @@ class AutoMosaicPokemonSprite < MosaicPokemonSprite
end
end
#===============================================================================
# Cursor
#===============================================================================
@@ -288,8 +285,6 @@ class PokemonBoxArrow < SpriteWrapper
end
end
#===============================================================================
# Box
#===============================================================================
@@ -444,8 +439,6 @@ class PokemonBoxSprite < SpriteWrapper
end
end
#===============================================================================
# Party pop-up panel
#===============================================================================
@@ -565,8 +558,6 @@ class PokemonBoxPartySprite < SpriteWrapper
end
end
#===============================================================================
# Pokémon storage visuals
#===============================================================================
@@ -1452,8 +1443,6 @@ class PokemonStorageScene
end
end
#===============================================================================
# Pokémon storage mechanics
#===============================================================================
@@ -1469,8 +1458,7 @@ class PokemonStorageScreen
def pbStartScreen(command)
@heldpkmn = nil
if command==0
### ORGANISE ###################################################################
if command==0 # Organise
@scene.pbStartBox(self,command)
loop do
selected = @scene.pbSelectBox(@storage.party)
@@ -1551,8 +1539,7 @@ class PokemonStorageScreen
end
end
@scene.pbCloseBox
elsif command==1
### WITHDRAW ###################################################################
elsif command==1 # Withdraw
@scene.pbStartBox(self,command)
loop do
selected = @scene.pbSelectBox(@storage.party)
@@ -1592,8 +1579,7 @@ class PokemonStorageScreen
end
end
@scene.pbCloseBox
elsif command==2
### DEPOSIT ####################################################################
elsif command==2 # Deposit
@scene.pbStartBox(self,command)
loop do
selected = @scene.pbSelectParty(@storage.party)