I need help with finding stuffs in Scripts!

I am currently using the Yanfly Battle Engine for my game. I want to find this set of code in there:

Yanfly.BEC.DefaultActonSetup = [
['CLEAR BATTLE LOG'],
['DISPLAY ACTION']
['IMMORTAL',['TARGETS','TRUE']],
['PERFORM START'],
['WAIT FOR MOVEMENT'],
['CAST ANIMATION'],
['WAIT FOR ANIMATION']
];

Can anyone help me? Please tell me which line is it in, thanks! I will also be very thankful if you can tell me how to remove the face-display in the script.

This is what it looks like at the title:

#==============================================================================
#
# �� Yanfly Engine Ace - Ace Battle Engine v1.22
# -- Last Updated: 2012.03.04
# -- Level: Normal, Hard
# -- Requires: n/a
#
#==============================================================================
Which version of RPG Maker are you using?

You have posted in the Javascript forum, but you have described a script for VX Ace (which does not use Javascript).
Oops! I use RPG VX Ace... I dunno where I shall put this...

EDIT: Oh! I know now. thanks for reminding me!
Ok, then you can press "Report" on the first post and ask for the thread to be moved to "RGSSx Script Support".
A moderator will come around and move the thread.
Yes, we can move things so you don’t need to post again. 🙂
You may as well give up on finding that code part in the mentioned script, because it's not in it.
It doesn't even look like Ruby code, more like JS with all those capital letters and the ; at the end.

But in case you didn't know, CTRL+F is the common key combo to bring up the search box for almost every program.

You can try it out to find draw_actor_face in the script. That line draws the faces. You wanted to remove them, right?
Than just put a # sign at the start of that line in the script and those faces should be gone.
You may as well give up on finding that code part in the mentioned script, because it's not in it.
It doesn't even look like Ruby code, more like JS with all those capital letters and the ; at the end.

But in case you didn't know, CTRL+F is the common key combo to bring up the search box for almost every program.

You can try it out to find draw_actor_face in the script. That line draws the faces. You wanted to remove them, right?
Than just put a # sign at the start of that line in the script and those faces should be gone.

Oh. I've tried the draw_actor_face. This is what it had became:
#--------------------------------------------------------------------------
# overwrite method: draw_face
#--------------------------------------------------------------------------
# def draw_face(face_name, face_index, dx, dy, enabled = true)
# bitmap = Cache.face(face_name)
# fx = [(96 - item_rect(0).width + 1) / 2, 0].max
# fy = face_index / 4 * 96 + 2
# fw = [item_rect(0).width - 4, 92].min
# rect = Rect.new(fx, fy, fw, 92)
# rect = Rect.new(face_index % 4 * 96 + fx, fy, fw, 92)
# contents.blt(dx, dy, bitmap, rect, enabled ? 255 : translucent_alpha)
# bitmap.dispose
# end
But the faces are still there...

I've tried CTRL+F, nothing happened, what's wrong? Or do I need to scroll around and find something highlighted?
draw_face and draw_actor_face is not the same.
You disabled the wrong lines.
You will need to disable the only line which contains draw_actor_face in that battle engine script. There is only one line with that, so it should be easy to find.

You open up the script editor, click on the script slot where you installed Yanfly's Battle Engine script, click on the big right side box containing the code, and hit CTRL+F there. The search box will show up. If it doesn't, you either did something wrong, or your CTRL key is broken, or... I don't know, out of ideas here. 😀
Oh, I figured that out. I need to press enter.

What do I do after disabling the face? There was an empty square where the face should have been. How can i make it so that it looks like the default one?

I've tried disabling the icons that appears at battle:
#--------------------------------------------------------------------------
# overwrite method: draw_item
#--------------------------------------------------------------------------
def draw_item(index)
return if index.nil?
clear_item(index)
actor = battle_members[index]
rect = item_rect(index)
return if actor.nil?
#draw_actor_face(actor, rect.x+2, rect.y+2, actor.alive?)
draw_actor_name(actor, rect.x, rect.y, rect.width-8)
draw_actor_action(actor, rect.x, rect.y)
#draw_actor_icons(actor, rect.x, line_height*1, rect.width)
gx = YEA::BATTLE::BATTLESTATUS_HPGAUGE_Y_PLUS
contents.font.size = YEA::BATTLE::BATTLESTATUS_TEXT_FONT_SIZE
draw_actor_hp(actor, rect.x+2, line_height*2+gx, rect.width-4)
if draw_tp?(actor) && draw_mp?(actor)
dw = rect.width/2-2
dw += 1 if $imported["YEA-CoreEngine"] && YEA::CORE::GAUGE_OUTLINE
draw_actor_tp(actor, rect.x+2, line_height*3, dw)
dw = rect.width - rect.width/2 - 2
draw_actor_mp(actor, rect.x+rect.width/2, line_height*3, dw)
elsif draw_tp?(actor) && !draw_mp?(actor)
draw_actor_tp(actor, rect.x+2, line_height*3, rect.width-4)
else
draw_actor_mp(actor, rect.x+2, line_height*3, rect.width-4)
end
end

But the icon for states got disabled at the same time. Is there any ways for me to have the icons for battle disabled WITH the icons for states not disabled?

Original thread: https://forums.rpgmakerweb.com/threads/i-need-help-with-finding-stuffs-in-scripts.94318/