Crossposting my avatar / my unit hack to make it easy to find in the future. If you wish to post about it, please do so on that thread.
Additionally, I want to explain some changes to my Replace Text hack.
It’s now been moved into the Avatar folder, although each can be installed without the other.
It now only searches for text starting with < to avoid lag, unless you change ControlCodesStartWithBracket to 0. I don’t recommend this. The default setup is for some common pronouns to go with the avatar hack.
But I’ve now also added these codes to make conditional dialogue easier:
<ifFlagXXX><endif> // replace XXX with flag e.g. 0B0 is casual mode
<ifAliveXX><endif> // replace XX for 01 for Eirika
<ifDeadXX><endif>
<ifMissingXX><endif>
This functionality already exists in the event engine, but doing so is an inconvenience:
<ifFlag01>[OpenMidRight]Flag 1 is on...[A]
<ifMissing03>[OpenMidRight]Gilliam is unrecruited...[A]<endif><endif>
<ifAlive03>[OpenMidRight]Gilliam is alive...[A]<endif>
<ifDead03>[OpenMidRight]Gilliam is dead...[A]<endif>
Here I’ve nested the unrecruited line to only show up if flag01 is also on.

This is all the same conversation, it just varies based on units and flags. I think this makes conditional dialogue much more convenient to handle. Hope this helps ![]()
I’m willing to add a few more conditional <if_> codes if anyone has some suggestions, as long as they are simple enough to check.
