Need help with Window_Base

So, I have been messing around with the Java plugins lately and I have found Window_Base which handles the display in the game's windows.

I tried to tinker with it so that it displays the sprites instead of the faces but I found a problem; instead of displaying the sprites, it displayed the charsets! I wanted my game to display sprites because faces are not well suited for an 8-bit game. I tried Victor Sant's Sprites in Windows but I don't want two plugins for just one and besides it's tailored for SV sprites.

The part of the code I tinkered with was at Window_Base.prototype.drawFace. I cannot post the code cause I'm typing this in mobile. Any suggestions to what may I do? Or any patch plugin? Any help is appreciated.
Not directly about your problem, but about something else you mentioned:

Window_Base is not a plugin, it is a core file. And you should not edit the core files at all - you should write a plugin that overrides the core files.
Because after you edit the core files, you won't be able to ever update your project again, because updates usually rewrite the core files and that would remove your changes (which by the way is one reason why the projects are never updated automatically, to give you the option to copy all core changes to the update manually)
Don't change Window_Base.prototype.drawFace. That is a method whose purpose is just that: drawing faces. And Window_Base is used for every window there is.

Go to the window class that you want to modify and instead of executing drawFace, execute the drawCharacter method. It's a much simpler change.
Don't change Window_Base.prototype.drawFace. That is a method whose purpose is just that: drawing faces. And Window_Base is used for every window there is.

Go to the window class that you want to modify and instead of executing drawFace, execute the drawCharacter method. It's a much simpler change.

OK. How do I exactly do this? I've backed up the core script so I can edit it as I like and learn on the process. Don't worry, I won't do something stupid (I hope so.) I just wanted to display sprites on the windows where faces would normally show.
You should start by finding out what windows are those. Then search for drawFace in their code and replace it with drawCharacter
OK, thanks for the help guys, I think I may need to learn JavaScript and a way to overwrite or alias the windows. Hopefully make it as my first plugin too. I'll update if I make it.

UPDATE: Ok, I was able to display the character and I was able to identify what window did what, but how do I control the placement of the sprites? In some windows it appears at the edge and in some windows it doesn't at all. Maybe it has to do with the x and y but I'm not sure as how to do this.

UPDATE: NVM, figured it out. Once again thanks.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-window_base.74554/