More Rubocop changes

This commit is contained in:
Maruno17
2022-02-13 00:57:54 +00:00
parent cca5989746
commit f68e699cc9
108 changed files with 708 additions and 808 deletions

View File

@@ -593,7 +593,7 @@ class PokemonParty_Scene
end
def pbHasAnnotations?
return @sprites["pokemon0"].text != nil
return !@sprites["pokemon0"].text.nil?
end
def pbAnnotate(annot)
@@ -1328,7 +1328,6 @@ MenuHandlers.add(:party_menu, :item, {
"order" => 50,
"condition" => proc { |screen, party, party_idx| next !party[party_idx].egg? && !party[party_idx].mail },
"effect" => proc { |screen, party, party_idx|
pkmn = party[party_idx]
# Get all commands
command_list = []
commands = []