In-battle Miss popup

The popup seems hardcoded in MZ. I have changed the code in windows.js to change the miss display to french and it dosen't work. Is there a solution of some sort ? I would be very surprised that people from different countries would have to resort to english only to create their games.
I have changed the code in windows.js to change the miss display to french and it dosen't work.
Note that you should not change any code directly in the core scripts.

It makes it hard to keep track of your changes, it will get overridden if MZ gets updated, and it will be automatically overridden by any plugins.

You should always put changes into plugins.

I don't know what you tried to change, but paste the below into a text editor, save as a *.js file, and include as a plugin - it works perfectly for me:
Code:
Sprite_Damage.prototype.createMiss = function() {
    const h = this.fontSize();
    const w = Math.floor(h * 3.0);
    const sprite = this.createChildSprite(w, h);
    sprite.bitmap.drawText("Manquer", 0, 0, w, h, "center");
    sprite.dy = 0;
};
Thank you soooo much. I am very grateful. I was asking Chat GPT to write me plugins to override it but in the end, you were much more helpful. Thank you.
I was asking Chat GPT to write me plugins to override it but in the end, you were much more helpful. Thank you.
Quick warning: Disclose this immediately if you ever come seeking help, because a lot of folk here will not assist in debugging a ChatGPT plugin.

Honestly, just make a plugin request if you need something. It'll be more appreciated.
I was asking Chat GPT to write me plugins to override it
AI generators generate material - they make things up.

The Internet is full of articles about how ChatGPT can't reliably solve grade school math problems...and these forums are full of posts from people who have completely made up code that doesn't mean anything.

I don't know why it would make sense to anyone to think that's a good tool to make code for your game.

But I suppose I'm glad it's working.

Original thread: https://forums.rpgmakerweb.com/threads/in-battle-miss-popup.171628/