So uh, how to make an npc to have defeat animation outside battle?
like just interact the npc > add hit animation(make the body red) on the npc > make disappear animation(literally just dissipate) on the npc, had no idea how to do it
i can only make it show skill animation on the npc ._.
Event commands -> show animation. Dissappearing can be done in different ways, depends what is your game mechanics, but you can simply "erase event" for example (in this case it appear again when you re-enter the map). Animations are in database in "Animations" tab, you can create one when enemy flashes red or something.
Btw have you even tried to learned basics of the engine? These things are so rather very easy to figure out when you know how all the event commands works...
One of the suggestions I always make to beginners - open up the event commands window and read through all of them.
Click into each one and see what all of the options are.
You will probably not use every command in every game you make, but it makes sense to know what the editor can do.
Good luck with your project!
(and just to mention it - if you don't want this NPC to respawn after you come back to the map, you wouldn't use Erase Event. You'd set a self switch to switch to a second page on the event)