I'm trying to revert the UI changes this script implements, I like everything else it does but would like some parts of my UI to look and function more like the original RPGmaker VX Ace setup (Mainly no player character face + the bars still on the right, and the skills screen popping up fullscreen like in the pic as opposed to the Ace Battle one) than the Battle Engine change, is there a way to just remove these UI changes while keeping all the other functionality?
Looking for a way to revert UI changes from Ace Battle Engine
RPG Maker VXAce SupportHello,
I made an upgrade of the script I've provided here.
This should restore most of the original menu, however the enemy selection is quite different between Yanfly's script and vanilla, do you prefer the vanilla version?
Yanfly-style enemy selection (with my addon the skill menu is blocking the view, but I can hide it if you want)
Vanilla-style selection (do you prefer this?)
The script:
I made an upgrade of the script I've provided here.
This should restore most of the original menu, however the enemy selection is quite different between Yanfly's script and vanilla, do you prefer the vanilla version?
Yanfly-style enemy selection (with my addon the skill menu is blocking the view, but I can hide it if you want)
Vanilla-style selection (do you prefer this?)
The script:
Ruby:
#==============================================================================
# Yanfly Battle Engine with original character menu v1.2
#------------------------------------------------------------------------------
# Author: Timtrack
# date: 09/11/2025
# Requires: Yanfly Engine Ace - Ace Battle Engine v1.22
#==============================================================================
# Update history:
# 14/07/2025: v1.0 - Initial release
# 05/09/2025: v1.1 - Added an alias for compatibility with menu switch
# 09/11/2025: v1.2 - Restored original item and skill menus
#==============================================================================
# Installation: put it below the required scripts
#==============================================================================
$imported = {} if $imported.nil?
$imported["TIM-YEA-ABE-OriginalMenu"] = true
module TIM
module YBE_OCM
#displays the action icon next to the actor's name like in Yanfly Battle
#Engine (true) or remove it to have the vanilla look? (false)
SHOW_ACTOR_ACTION = false
#set the skills and items orgiinal menu:
SKILL_ITEMS_ORIGINAL_MENU = true
end
end
if $imported["TIM-YEA-ABE-OriginalMenu"] && $imported["YEA-BattleEngine"]
#==============================================================================
# Window_BattleStatus
#==============================================================================
class Window_BattleStatus < Window_Selectable
#--------------------------------------------------------------------------
# alias method: col_max
#--------------------------------------------------------------------------
alias ybe_wbstatus_col_max col_max
def col_max; return 1; end
#--------------------------------------------------------------------------
# alias method: draw_item
#--------------------------------------------------------------------------
alias ybe_wbstatus_draw_item draw_item
def draw_item(index)
return if index.nil? #nil case
clear_item(index)
actor = battle_members[index]
return if actor.nil? #nil case
rect = basic_area_rect(index)
draw_basic_area(rect, actor)
draw_gauge_area(gauge_area_rect(index), actor)
draw_actor_action(actor, rect.x, rect.y) if TIM::YBE_OCM::SHOW_ACTOR_ACTION
end
#--------------------------------------------------------------------------
# overwrite method: item_rect
#--------------------------------------------------------------------------
alias ybe_wbstatus_item_rect item_rect
def item_rect(index); super(index); end
#--------------------------------------------------------------------------
# overwrite method: draw_actor_name
#--------------------------------------------------------------------------
alias ybe_ocm_draw_actor_name draw_actor_name
unless TIM::YBE_OCM::SHOW_ACTOR_ACTION
def draw_actor_name(actor, dx, dy, dw = 112)
super
end
end #TIM::YBE_OCM::SHOW_ACTOR_ACTION
end #Window_BattleStatus
#==============================================================================
# Window_BattleStatusAid
#==============================================================================
class Window_BattleStatusAid < Window_BattleStatus
#--------------------------------------------------------------------------
# restore aliased methods: col_max, draw_item, draw_actor_name
#--------------------------------------------------------------------------
def col_max; ybe_wbstatus_col_max; end
def draw_item(index); ybe_wbstatus_draw_item(index); end
def draw_actor_name(actor,dx,dy,dw=112)
ybe_ocm_draw_actor_name(actor,dx,dy,dw)
end
end #Window_BattleStatusAid
if TIM::YBE_OCM::SKILL_ITEMS_ORIGINAL_MENU
#==============================================================================
# Scene_Battle -> restore original windows
#==============================================================================
class Scene_Battle < Scene_Base
#--------------------------------------------------------------------------
# overwrite method: create_skill_window
#--------------------------------------------------------------------------
def create_skill_window
scene_battle_create_skill_window_abe
end
#--------------------------------------------------------------------------
# overwrite method: create_item_window
#--------------------------------------------------------------------------
def create_item_window
scene_battle_create_item_window_abe
end
#--------------------------------------------------------------------------
# overwrite method: command_skill
#--------------------------------------------------------------------------
def command_skill
scene_battle_command_skill_abe
end
#--------------------------------------------------------------------------
# overwrite method: command_item
#--------------------------------------------------------------------------
def command_item
scene_battle_command_item_abe
end
#--------------------------------------------------------------------------
# alias method: on_actor_cancel
#--------------------------------------------------------------------------
alias ybe_ocm_scene_battle_on_actor_cancel on_actor_cancel
def on_actor_cancel
ybe_ocm_scene_battle_on_actor_cancel
@status_window.show
end
#--------------------------------------------------------------------------
# alias method: on_enemy_cancel
#--------------------------------------------------------------------------
alias ybe_ocm_scene_battle_on_enemy_cancel on_enemy_cancel
def on_enemy_cancel
ybe_ocm_scene_battle_on_enemy_cancel
@status_window.show
end
end #Scene_Battle
#==============================================================================
# Window_SkillList
#==============================================================================
class Window_SkillList < Window_Selectable
#--------------------------------------------------------------------------
# overwrite method: spacing -> restore original
#--------------------------------------------------------------------------
def spacing; super; end
end # Window_SkillList
#==============================================================================
# Window_ItemList
#==============================================================================
class Window_ItemList < Window_Selectable
#--------------------------------------------------------------------------
# overwrite method: spacing -> restore original
#--------------------------------------------------------------------------
def spacing; super; end
end # Window_ItemList
end #TIM::YBE_OCM::SKILL_ITEMS_ORIGINAL_MENU
end #$imported["TIM-YEA-ABE-OriginalMenu"]
This seems to work exactly how I wanted it actually, I like the Yanfly targeting more, thank you very much!
Edit: Actually if its not much trouble could I have a version that hides the skill menu when selecting targets?
Alright, here it is:
Ruby:
#==============================================================================
# Yanfly Battle Engine with original character menu v1.3
#------------------------------------------------------------------------------
# Author: Timtrack
# date: 09/11/2025
# Requires: Yanfly Engine Ace - Ace Battle Engine v1.22
#==============================================================================
# Update history:
# 14/07/2025: v1.0 - Initial release
# 05/09/2025: v1.1 - Added an alias for compatibility with menu switch
# 09/11/2025: v1.2 - Restored original item and skill menus
# 09/11/2025: v1.3 - Skills/Item menus are hidden when selecting enemies
#==============================================================================
# Installation: put it below the required scripts
#==============================================================================
$imported = {} if $imported.nil?
$imported["TIM-YEA-ABE-OriginalMenu"] = true
module TIM
module YBE_OCM
#displays the action icon next to the actor's name like in Yanfly Battle
#Engine (true) or remove it to have the vanilla look? (false)
SHOW_ACTOR_ACTION = false
#set the skills and items orgiinal menu:
SKILL_ITEMS_ORIGINAL_MENU = true
end
end
if $imported["TIM-YEA-ABE-OriginalMenu"] && $imported["YEA-BattleEngine"]
#==============================================================================
# Window_BattleStatus
#==============================================================================
class Window_BattleStatus < Window_Selectable
#--------------------------------------------------------------------------
# alias method: col_max
#--------------------------------------------------------------------------
alias ybe_wbstatus_col_max col_max
def col_max; return 1; end
#--------------------------------------------------------------------------
# alias method: draw_item
#--------------------------------------------------------------------------
alias ybe_wbstatus_draw_item draw_item
def draw_item(index)
return if index.nil? #nil case
clear_item(index)
actor = battle_members[index]
return if actor.nil? #nil case
rect = basic_area_rect(index)
draw_basic_area(rect, actor)
draw_gauge_area(gauge_area_rect(index), actor)
draw_actor_action(actor, rect.x, rect.y) if TIM::YBE_OCM::SHOW_ACTOR_ACTION
end
#--------------------------------------------------------------------------
# overwrite method: item_rect
#--------------------------------------------------------------------------
alias ybe_wbstatus_item_rect item_rect
def item_rect(index); super(index); end
#--------------------------------------------------------------------------
# overwrite method: draw_actor_name
#--------------------------------------------------------------------------
alias ybe_ocm_draw_actor_name draw_actor_name
unless TIM::YBE_OCM::SHOW_ACTOR_ACTION
def draw_actor_name(actor, dx, dy, dw = 112)
super
end
end #TIM::YBE_OCM::SHOW_ACTOR_ACTION
end #Window_BattleStatus
#==============================================================================
# Window_BattleStatusAid
#==============================================================================
class Window_BattleStatusAid < Window_BattleStatus
#--------------------------------------------------------------------------
# restore aliased methods: col_max, draw_item, draw_actor_name
#--------------------------------------------------------------------------
def col_max; ybe_wbstatus_col_max; end
def draw_item(index); ybe_wbstatus_draw_item(index); end
def draw_actor_name(actor,dx,dy,dw=112)
ybe_ocm_draw_actor_name(actor,dx,dy,dw)
end
end #Window_BattleStatusAid
if TIM::YBE_OCM::SKILL_ITEMS_ORIGINAL_MENU
#==============================================================================
# Scene_Battle -> restore original windows
#==============================================================================
class Scene_Battle < Scene_Base
#--------------------------------------------------------------------------
# overwrite method: create_skill_window
#--------------------------------------------------------------------------
def create_skill_window
scene_battle_create_skill_window_abe
end
#--------------------------------------------------------------------------
# overwrite method: create_item_window
#--------------------------------------------------------------------------
def create_item_window
scene_battle_create_item_window_abe
end
#--------------------------------------------------------------------------
# overwrite method: command_skill
#--------------------------------------------------------------------------
def command_skill
scene_battle_command_skill_abe
end
#--------------------------------------------------------------------------
# overwrite method: command_item
#--------------------------------------------------------------------------
def command_item
scene_battle_command_item_abe
end
#--------------------------------------------------------------------------
# alias method: on_actor_cancel
#--------------------------------------------------------------------------
alias ybe_ocm_scene_battle_on_actor_cancel on_actor_cancel
def on_actor_cancel
ybe_ocm_scene_battle_on_actor_cancel
@status_window.show
end
#--------------------------------------------------------------------------
# alias method: on_enemy_cancel
#--------------------------------------------------------------------------
alias ybe_ocm_scene_battle_on_enemy_cancel on_enemy_cancel
def on_enemy_cancel
ybe_ocm_scene_battle_on_enemy_cancel
@status_window.show
case @actor_command_window.current_symbol
when :skill
@skill_window.show
when :item
@item_window.show
end
end
#--------------------------------------------------------------------------
# alias method: select_enemy_selection
#--------------------------------------------------------------------------
alias ybe_ocm_scene_battle_select_enemy_selection select_enemy_selection
def select_enemy_selection
@skill_window.hide
@item_window.hide
ybe_ocm_scene_battle_select_enemy_selection
end
end #Scene_Battle
#==============================================================================
# Window_SkillList
#==============================================================================
class Window_SkillList < Window_Selectable
#--------------------------------------------------------------------------
# overwrite method: spacing -> restore original
#--------------------------------------------------------------------------
def spacing; super; end
end # Window_SkillList
#==============================================================================
# Window_ItemList
#==============================================================================
class Window_ItemList < Window_Selectable
#--------------------------------------------------------------------------
# overwrite method: spacing -> restore original
#--------------------------------------------------------------------------
def spacing; super; end
end # Window_ItemList
end #TIM::YBE_OCM::SKILL_ITEMS_ORIGINAL_MENU
end #$imported["TIM-YEA-ABE-OriginalMenu"]
Ok I tested more thoroughly this time and it is actually working just how I was hoping. Really, thanks a lot
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/looking-for-a-way-to-revert-ui-changes-from-ace-battle-engine.180941/