Thanks a lot for your reply, I really appreciate it.
Probably the easiest way to try is put a script in the enemy's post-attack that checks its MP. If it's 0, force-inflict the death status. You could also set its HP to 0. Normally when a game wants to out-right kill an enemy it sets its 4020, 4022, 4023, and 4024 values to 0. I don't know if this causes the death animation, but it might.
Yeah, in theory, I know what to do... And if I had to do this with FF3usMe, this wouldn't be a problem
To tell you the truth, I kinda hoped an answer such as : "insert 3 lines between the 0x012 and 0x013 offsets, and type in the first one : 14 80 54, in the second one : 92, and in the third one : 10 00 82". Obviously, I'm writing rubbish, but it was just to show you the only kind of answer that would actually help me. I don't think I'll need any more AI editing than this anyway, so I promise : once I know what to type to get the "death at zero MP" effect, I won't bother you (or anyone else for that matter) anymore.
Trust me, if I knew how to make a script that checks for an enemy's MP and how to set an enemy's HP to 0, I wouldn't have created this topic. I appreciate the fact that you replied, though (and I don't really care if such a script doesn't cause the death animation, the end result is all that matters to me).
About your Mono Drive question:
For starters, there's no attack with the index 49 (which is L4 Suicide) in the scenes with Mono Drive. Fire is 1B.
Oh yeah, I said "Fire", but in my patch, Mono Drive actually uses L4 Suicide (which was turned into an Enemy Skill called Fury that casts the Fury status (there are no Hypers and Tranquilizers anymore)). And with one "60 49" line, it works normally (even though the L4 suicide data doesn't exist in its scene file, heh).
Secondly, you can't just push values to the stack, that can seriously screw with the logic of the script.
Such lines tell me I really need a better explanation about pushing, poping, and the stack in general... What do these two bytes (60 49) have to do with pushing values to the stack ? I thought they just meant : "cast L4 Suicide on target". Because yeah, that's what they do.
Thirdly, you'll have to do the entire "perform action combo" as I call it. Push 20, then the attack index, then run command (60 20 60 1B 92). You can add all this where you put in that extra 60 49 to make him do fire whenever he gets to that segment of script.
Okay, thanks a lot ! Now this is the kind of answer I like
So in place of my 60 49, I can add those three lines :
60 20
60 49
92
and it will work ? I'm going to try this right away
And if I want another enemy to double-cast, or perform a random attack twice in a row, will this same script work ? Such as 60 20 60 *desired attack ID* 92 ?
EDIT:Well, it doesn't seem to work. At first, Mono Drive kept displaying the messages "Enemy sighted!" and "Warning! Warning!" ; it didn't attack anymore. So, I decided to add a 92 just above the code you gave me, and it fixed the problem. Still, Mono Drive still casts L4 Suicide only once per turn, not twice. I don't know what I'm doing wrong here (oh yeah, and if you're wondering, I don't want Mono Drive to cast two L4 Suicide per turn; I'm doing this for testing purposes - that way I'd know what to do to make any enemy act twice (or more) a turn).