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