Running a snippet at battle start/during battle phase

I've been working on a plugin that turns the Battle Log into an actual window, but i'm coming up with a problem in that i can't hide it when the "<enemy> emerges!"  text shows up nor during the results screen. I added some pictures to show what i mean.

Spoiler
e1b9cad201b14b41164442c4167ea6bb.png


236196f813f1b2b47fd7bbea2a34b5df.png
I've been using 

Scene_Battle.prototype.startPartyCommandSelection = function() {    this._logWindow.hide();    this.refreshStatus();    this._statusWindow.deselect();    this._statusWindow.open();    this._actorCommandWindow.close();    this._partyCommandWindow.setup();};    Scene_Battle.prototype.startActorCommandSelection = function() {    this._logWindow.hide();    this._statusWindow.select(BattleManager.actor().index());    this._partyCommandWindow.close();    this._actorCommandWindow.setup(BattleManager.actor());};to hide the battle log but that does not cover both instances i showed above and either way, i feel that having a conditional branch would be much more efficient. 
Its been almost a week and i still don't have a solution. 

Original thread: https://forums.rpgmakerweb.com/threads/running-a-snippet-at-battle-start-during-battle-phase.50717/