[FE7/8]Tutorial style scripted fights

Video demonstration - link removed

In FE8, the FIG1 command (0x3F40) executes a scripted fight between two units. The FIG2 command (0x3F41) is the same, but with map animations only.

I’m going to refer to 0x3F42 as FIG3, which is not supported but you can add it to Event Assembler by pasting this to Language Raws\Units\Fighting.txt:

##Scripts the details of the next fight.
FIG3, 0x3F42, 8, -game:FE8 -indexMode:8
##Leave as 0
	Attacker, 2, 2
##Leave as 0
	Defender, 4, 2
##Unknown. Leave as 0
	Unknown, 6, 2

FIG3 takes the same queue of SETVALs that FIG1 and FIG2 do, but instead of scripting a fight between two characters, it scripts the outcome of the next fight after it is called. This is how the tutorials walk you through the attacking process.

Now, you do have to be careful when using this, because the attacker and defender are determined by whomever initiates the next fight. Remember that video I linked? If Eirika had waited instead of attacking, she would have been killed next turn by the scripted crit since the attacker and defender roles were switched around. Tutorials can get away with it since they’re on rails.

For FE7, you can do the same using _0xA2 (label for BLDTs). If you remove the tutorial check and attack Batta after Turn 4, he will 0% crit Lyn.


OH MY GOD. This is so inspiring for something very sadistic I had in mind! Thanks! :smiley:


Oh and also be careful because if you script an impossible counter, weird shit happens.

I had Eirika crit counter an archer at 2 range, and she used her Rapier like a magic sword with no spell animation. Except nothing happened and it popped up with a “Rapier broke” message. After the battle the Rapier was still there at full uses, and the archer had taken 3 damage.

Worse, if you try to make someone with no ranged animation counter at range, the game will hang forever.

It’s only safe to use in very controlled conditions.

1 Like

Just to clarify, this is essentially rigging fights, right? But rigs it as “attacker/defender” rather than “character-x/character-y”?

Yes, and it happens during normal combat instead of an event so the player doesn’t necessarily even know that it’s scripted.

Oh my god is that Astra (hint: no)



Awesome way to use that!
Btw, what do you use to make those HQ gifs?

Photoshop: Import > Video frames to layers, mess around with frameskip and duration, Save for web and devices.

1 Like