mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Merge pull request #87 from RonarsCorruption/patch-4
lantern continues being active after battle
This commit is contained in:
@@ -81,6 +81,7 @@ def useLantern()
|
||||
end
|
||||
Kernel.pbMessage(_INTL("The Lantern illuminated the cave!"))
|
||||
darkness.radius += 176
|
||||
$PokemonGlobal.flashUsed = true
|
||||
while darkness.radius < 176
|
||||
Graphics.update
|
||||
Input.update
|
||||
@@ -1827,4 +1828,4 @@ ItemHandlers::BattleUseOnPokemon.add(:GOLDENBANANA, proc { |item, pokemon, battl
|
||||
})
|
||||
ItemHandlers::UseOnPokemon.add(:GOLDENBANANA, proc { |item, pokemon, scene|
|
||||
next pbHPItem(pokemon, 50, scene)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user