mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Merged Events and EncounterModifier into module EventHandlers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user