mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-28 01:06:00 +00:00
Refactoring and Bugfixes (#127)
* Replacing nil + compact! with delete, delete_at and delete_if wherever possible * Fixed Terrain Tag editor not setting the correct terrain * Fixed Text Cursor in Animation Editor not going right
This commit is contained in:
@@ -53,8 +53,7 @@ def pbDayCareDeposit(index)
|
||||
$PokemonGlobal.daycare[i][0] = $Trainer.party[index]
|
||||
$PokemonGlobal.daycare[i][1] = $Trainer.party[index].level
|
||||
$PokemonGlobal.daycare[i][0].heal
|
||||
$Trainer.party[index] = nil
|
||||
$Trainer.party.compact!
|
||||
$Trainer.party.delete_at(index)
|
||||
$PokemonGlobal.daycareEgg = 0
|
||||
$PokemonGlobal.daycareEggSteps = 0
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user