mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Code tidying with Rubocop
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# Pokérus check
|
||||
EventHandlers.add(:on_frame_update, :pokerus_counter,
|
||||
proc {
|
||||
next if !$player&.party.any? { |pkmn| pkmn.pokerusStage == 1 }
|
||||
next if !$player || $player.party.none? { |pkmn| pkmn.pokerusStage == 1 }
|
||||
last = $PokemonGlobal.pokerusTime
|
||||
next if !last
|
||||
now = pbGetTimeNow
|
||||
|
||||
Reference in New Issue
Block a user