Many more Rubocop-inspired code improvements

This commit is contained in:
Maruno17
2021-12-18 19:06:22 +00:00
parent d17fc40a47
commit 13a238cc6a
107 changed files with 651 additions and 652 deletions

View File

@@ -570,9 +570,10 @@ module GameData
when "09D" then new_code = "StartWeakenElectricMoves"
when "09E" then new_code = "StartWeakenFireMoves"
when "09F"
if data[:id] == :MULTIATTACK
case data[:id]
when :MULTIATTACK
new_code = "TypeDependsOnUserMemory"
elsif data[:id] == :TECHNOBLAST
when :TECHNOBLAST
new_code = "TypeDependsOnUserDrive"
else
new_code = "TypeDependsOnUserPlate"