So, in my hack, I want to promote some units by talking to them, without using a promotion item, the promotion being only based on level.
One of the unit I want to promote is a trainee, and I don’t know how to make him promote after reaching level 10, using a conversation. (there is few chapters with preparation screens in my hack, so I truly want promotion for this trainee to be always accessible once the level is reached).
I also want him to choose between two classes, like a classic promotion from FE8.
I am aware of the Vesly patch for promotion, but I didn’t truly understand it. If someone could help me, I would be very grateful
No idea where I read support from. Lack of sleep. Ignore >.>
One way to do it is use the “Execute event script instead of support conversation” patch. This splits the support into two different events; Event in Game and Event in Support Viewer.
The address assigned to Event in Game will need to be you call during the scene you want to promote during conversation. Somewhere in those events you’ll want to use the Force Promotion event to make it occur.
Should look something like this for promote after support (didn’t test).
You can also add dialogue after the promotion and whatnot, you’re free to do whatever as it’s just a normal event running.
The Event in Support Viewer is the one the game calls for the support conversations menu (under the extras menu with the sound room). This one should only have the support dialogue and whatever calls are needed for the support room.
Thank, but do you think it works with branch promotion? Because I think the “Force promote” event does not allow this…
(Sorry, I didn’t mention it explicitly, but I want the unit who promote to have the choice between 2 classes, like a classic promotion from FE8).
You would want to call the branched promotion within the event to do that; that being said, what exactly were the issues you were having with the auto promotion patch in Builder? Using that seems like a better approach overall (I’m also not sure why the other user suggested a method that relies on activating a support).
I don’t understand how the auto promotion patch work; like, you need to met some conditions, but I do not know what are the conditions or what event to use…
I’m very bad at coding and this kind of thing so, hrm, the answer is maybe basic, and I’m just too blind to see it
No idea where I got support from earlier (probably read conversation). I blame lack of sleep.
There is a patch that gives you a menu prompt to promote if you don’t mind it being a manual promotion. Menu Promote Command is the patch. Branches work with it.
To bring up the promotion branch menu for the active unit, you need to use this command.
Since this is during gameplay, that alone should be enough.
If you wanted to do this during a cutscene, then you’d also need to use the Event Writer patch and write the unit’s deployment byte to 203A964 , and getting said deployment byte is another whole issue that would require another ASMC.
EDIT: You’ll also have to do one of two things:
-Use IGNORE_KEYS to prevent the player from pressing B and cancelling the promotion.
-Check the unit’s class before the promotion, then if after the promotion it’s the same class unset the completion flag so the event can run again.