mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed event movement checks ignoring ledges if they're not on the top layer, fixed Sketch not working, fixed a couple of other minor bugs, Rubocop-suggested tweaks
This commit is contained in:
@@ -250,7 +250,6 @@ def pbGenerateChallenge(rule, tag)
|
||||
yield(nil)
|
||||
if gameCount / teams.length >= 12
|
||||
for team in teams
|
||||
games = team.games
|
||||
team.updateRating
|
||||
end
|
||||
break
|
||||
|
||||
@@ -340,7 +340,7 @@ def pbRandomPokemonFromRule(rules, trainer)
|
||||
break
|
||||
end
|
||||
end
|
||||
if item == :LIGHTCLAY && !moves.any? { |m| m == :LIGHTSCREEN || m = :REFLECT }
|
||||
if item == :LIGHTCLAY && !moves.any? { |m| m == :LIGHTSCREEN || m == :REFLECT }
|
||||
item = :LEFTOVERS
|
||||
end
|
||||
if item == :BLACKSLUDGE
|
||||
|
||||
Reference in New Issue
Block a user