Merged Events and EncounterModifier into module EventHandlers

This commit is contained in:
Maruno17
2021-12-30 18:59:35 +00:00
parent a6c092a574
commit 7da449aec3
28 changed files with 812 additions and 807 deletions

View File

@@ -557,9 +557,11 @@ end
# With each step taken, add Exp to Pokémon in the Day Care and try to generate
# an egg.
#===============================================================================
Events.onStepTaken += proc { |_sender, _e|
$PokemonGlobal.day_care.update_on_step_taken
}
EventHandlers.add(:on_player_step_taken, :update_day_care,
proc {
$PokemonGlobal.day_care.update_on_step_taken
}
)
#===============================================================================
# Deprecated methods