A script to correct

Hello everyone, wanting to create a script that simulates battles with Yu Gi Oh cards in battle, I tried to write a kind of script, but not obviously with words readable by Rpg Maker. I'd like to know how to turn it into a readable script from RPG Maker.
The script to be corrected is in the attached document below
It looks like it's doable by eventing. Why would u need a script?
It looks like it's doable by eventing. Why would u need a script?
I don't think the attack formula can be done through an event, nor the option of not being able to attack or being able to attack. I'd like to write a script to shorten the events
I don't think the attack formula can be done through an event,
It's just a variable subtraction. Why not?

nor the option of not being able to attack or being able to attack.
Isn't it just a conditional branch?

I'd like to write a script to shorten the events
This sentence implies that you have the event in a somewhat working state.
Why not show us what you've done and what you need?
This request, frankly, is not really clear.
It's just a variable subtraction. Why not?


Isn't it just a conditional branch?


This sentence implies that you have the event in a somewhat working state.
Why not show us what you've done and what you need?
This request, frankly, is not really clear.
I just wanted to shorten everything to not write unnecessary lines of code every time there is a battle. I will call the script "YuGiOhBattle" and so every time I battle, I will open the Script box in the list of commands for the event and abbreviate everything.
I have no idea how I could use what I wrote above, even if it is feasible.
I just wanted to shorten everything to not write unnecessary lines of code every time there is a battle. I will call the script "YuGiOhBattle" and so every time I battle, I will open the Script box in the list of commands for the event and abbreviate everything.
I have no idea how I could use what I wrote above, even if it is feasible.
If you want this way, pseudocode is not enough.
You might as well as write a document for the whole battle system.
And that includes a design mockup.

It is not "s script to correct" but "a script to make".
If you want this way, pseudocode is not enough.
You might as well as write a document for the whole battle system.
And that includes a design mockup.

It is not "s script to correct" but "a script to make".
Yes, if you mean that you need a battle scene (even being able to interact with the heroes (whose images will be replaced by cards) to be able to choose them) you are right. So could you help me?
Yes, if you mean that you need a battle scene (even being able to interact with the heroes (whose images will be replaced by cards) to be able to choose them) you are right. So could you help me?
Well, you still ignoring the "make a whole documentation" part. So, I'm not sure if anyone would even able to help you.

Even if there's documentation, making a battle system is a tedious process, so the chance is slim. You could try to widen it by throwing some $$$ but then it should be moved into a different forum.
If no existing battle engine works for you then you will either hope that someone will make one for you (unlikely for free) or you will need to make a request in Classified Request forums thread to see if someone will do this for you for $$$.

Original thread: https://forums.rpgmakerweb.com/threads/a-script-to-correct.120307/