mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Added Setting for item sell prices, added stat for primal reversions, fixed weird movement when jumping across a map connection
This commit is contained in:
@@ -215,6 +215,7 @@ def pbHatch(pokemon)
|
||||
pokemon.name = nil
|
||||
pokemon.owner = Pokemon::Owner.new_from_trainer($player)
|
||||
pokemon.happiness = 120
|
||||
pokemon.steps_to_hatch = 0
|
||||
pokemon.timeEggHatched = Time.now.to_i
|
||||
pokemon.obtain_method = 1 # hatched from egg
|
||||
pokemon.hatched_map = $game_map.map_id
|
||||
|
||||
Reference in New Issue
Block a user