mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Fix: EXP Full ding using wrong sound file (#50)
Small typo in the Essentials vanilla code that makes the EXP Full sound not play when the EXP bar fills up
This commit is contained in:
@@ -326,7 +326,7 @@ class PokemonDataBox < SpriteWrapper
|
|||||||
if @expFlash==0
|
if @expFlash==0
|
||||||
pbSEStop
|
pbSEStop
|
||||||
@expFlash = Graphics.frame_rate/5
|
@expFlash = Graphics.frame_rate/5
|
||||||
pbSEPlay("Exp full")
|
pbSEPlay("Pkmn exp full")
|
||||||
self.flash(Color.new(64,200,248,192),@expFlash)
|
self.flash(Color.new(64,200,248,192),@expFlash)
|
||||||
for i in @sprites
|
for i in @sprites
|
||||||
i[1].flash(Color.new(64,200,248,192),@expFlash) if !i[1].disposed?
|
i[1].flash(Color.new(64,200,248,192),@expFlash) if !i[1].disposed?
|
||||||
|
|||||||
Reference in New Issue
Block a user