MZ Change location of battler sprites

Hi there, This is my first post so I'm sorry if it's not right.

I had a question about Actor Sprite locations in MZ, and possibly being able to move them?

I found
Code:
Sprite_Actor.prototype.createMainSprite = function()
and
Code:
Sprite_Actor.prototype.createShadowSprite = function() {

and was messing around with those, but I can't seem to move them in the way I would like. Which would be moving them to be in a row? As in one behind the other, rather than in a line above eachother.

Any help you can provide would be helpful!
I'd rather not use any plugins, so please don't make that your suggestion

I am new to JS but I have knowledge in other languages.
Moderator note: I have moved your post into its own thread.
Are you definitely using MZ? Your profile says you're using MV.

What is your objection to plugins? Even if you're just changing those few functions, you're better off putting your changes into a plugin rather than modifying the core scripts. If you don't, every time you get a new version of MZ and update your core scripts, your changes will be lost. You will have to keep track of all the changes you've made, and reapply them. In a plugin, you won't have to worry about it at all.
Thank you so much!

Honestly, I'm in-between MV and MZ, but MZ is what this question about.

Sorry I was writing it wrong, I want to make this as a plugin, but I didn't want to be recommended a preexisting plugin as an answer.
Alright after careful searching and many trial and error, I finally found it!

This is what I did, using the
JavaScript:
Sprite_Actor.prototype.setActorHome = function(index) {
    this.setHome(600 + index * 32, 280 + index * 48);
};

I just rearranged them with a switch based on their index number.

Now, to figure out how to make damage dependent on their position... any ideas?

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/change-location-of-battler-sprites.135098/