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:
RonarsCorruption
2023-04-14 18:18:32 -04:00
committed by GitHub
parent 3b6d636e72
commit 387f9f58cd

View File

@@ -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