Compiler methods can now accept a file path as a parameter, made overworld poison flashes slower

This commit is contained in:
Maruno17
2021-05-20 19:34:26 +01:00
parent 2b5d63673d
commit 3eea17b877
2 changed files with 61 additions and 61 deletions

View File

@@ -94,7 +94,7 @@ Events.onStepTakenTransferPossible += proc { |_sender,e|
for i in $Trainer.able_party
if i.status == :POISON && !i.hasAbility?(:IMMUNITY)
if !flashed
$game_screen.start_flash(Color.new(255,0,0,128), 4)
pbFlash(Color.new(255, 0, 0, 128), 8)
flashed = true
end
i.hp -= 1 if i.hp>1 || Settings::POISON_FAINT_IN_FIELD