MV How to Trigger "Weak" Popup Effect via Script Call

What is the correct script call to make the "Weak" effect appear on a target?
That's not supported by the core scripts, so I'm not sure which of these you want:
  1. A plugin that can show "Weak" popups on demand?
  2. Help making a specific plugin show its popups on demand?
  3. Something else?
My bad for being unclear in my previous message. I had forgotten that the "Weak" popup graphic is not in the default damage.png
1756030202895.png
Let me rephrase. How can I write a script or plugin that allows me to display a text from that area on the damage.png.
How can I write a script or plugin that allows me to display a text from that area on the damage.png.
Ah, OK! 👋

I've moved this thread to JavaScript Support (from MV Support) for now. Thank you.

I'd suggest a plugin that:
  1. Handles relevant data (e.g. a true|false value) on an action result.
  2. Makes the damage sprite check for that data on the result.
  3. Changes the damage sprite frame (i.e. viewport) to that part of the sprite when appropriate.
Suggested references from the core scripts:
  1. Game_ActionResult.prototype.clear and Game_Action.prototype.apply (rpg_objects.js);
  2. Sprite_Damage.prototype.setup (rpg_sprites.js);
  3. Sprite_Damage.prototype.createMiss (rpg_sprites.js).
(I'm giving the information like this because you seem to want to do this yourself. If you'd rather have someone else write/find a plugin for you then I can move the thread to Plugin Requests, where you might get a more appropriate response~)

Original thread: https://forums.rpgmakerweb.com/threads/how-to-trigger-weak-popup-effect-via-script-call.179733/