Normally, when enemy is about to attack, they flash and make a sound. I want to make a similar effect for actors (because if multiple actors use the same skill, it gets confusing who attacks when). I already found a function in YEP_BattleEngineCore that does things before actor's turn. It's called:
I added this line inside this function:
to make the sound. Now I only need a way to make a flash on the current actor's face. For the enemy flash they used:
but sadly, "this" doesn't refer to the face icon if put inside this function.
Game_Actor.prototype.performAttack (line 4373)I added this line inside this function:
AudioManager.playSe({name: "Cursor2", pan: 0, pitch: 60, volume: 100});to make the sound. Now I only need a way to make a flash on the current actor's face. For the enemy flash they used:
this.requestEffect('whiten');but sadly, "this" doesn't refer to the face icon if put inside this function.