I currently have this set up:
Window_BattleEnemy.prototype.show = function() {
this.refresh();
this.forceSelect(0);
$gameTemp.clearTouchState();
Window_Selectable.prototype.show.call(this);
Window_ActorCommand.prototype.update = function() {
this.hide();
};
};
to hide the Actor_Command window when the BattleEnemy window is open, however it does not reappear when I press back from the battle enemy window. I understand that this is because I haven't written any code to show the window again after hiding it, but I'm not sure where I would place that. Any ideas?
Window_BattleEnemy.prototype.show = function() {
this.refresh();
this.forceSelect(0);
$gameTemp.clearTouchState();
Window_Selectable.prototype.show.call(this);
Window_ActorCommand.prototype.update = function() {
this.hide();
};
};
to hide the Actor_Command window when the BattleEnemy window is open, however it does not reappear when I press back from the battle enemy window. I understand that this is because I haven't written any code to show the window again after hiding it, but I'm not sure where I would place that. Any ideas?