Worked perfectly! Thanks a lot.
I added a quick asmc to this to silently reclass a unit and adjust stats based on the class bases, including magic if you have skillsys.
- Insert ea the reclass hack
- Open the .sym file that appears in the folder with your rom
- Copy the address of
SilentReclassUnit_ASMC

- Put the unit id in memory slot 1, the new class in memory slot 3, and use the asmc command in your events
Here I turned Seth into a general:
If memory slot 3 is 0, it’ll use the default reclass option based on what you write in the installer.
UnitReclassPromoted(Seth, Paladin, General, 0, 0, 0, 0, 0)
This would allow you to reclass by the active unit instead. Seth would become a general if he’s a paladin, and become a paladin if he’s a general.
There are already dismount patches out there, but @Darrman was having an issue, so hopefully this asmc is helpful.
I think this fix broke after the commit you made in November.
Thanks for catching that, I think I’ve fixed it now. ![]()
I also just added this functionality to the silent reclass command:
It is fixed, but now I’m noticing lag sometimes when selecting a unit after another has ended their action.
It shouldn’t be any laggier than before. If you do actions very quickly, then you’ll notice the lag.
To minimize this lag, it works behind the scenes, chipping away at the work each frame that you idle. Each frame you idle it checks one enemy, and when you select a unit, it calculates the danger ranges for the rest of the enemies that it hadn’t calculated yet. When it calculates the rest of them, it’s faster than 1 enemy per frame, but it is laggy enough to notice when completing inputs quickly.
Before:

After:

From my point of view, it looks laggier than before.
That definitely is laggy. I’ve fixed the issue now.

Sorry I didn’t believe you initially - in my testing environment there was no lag, so I figured you were performing actions quicker than it could keep up.
Here I press L and A immediately after selecting Wait with Ephraim, and the lag is visible. There’s nothing I can really do about this lag, but thankfully most players don’t always press L and A after each action.

(And this lag is dependent on the number of enemies / complexity of the map, so quickly pressing L and A will often be less laggy than this.)
Walk Calc Loop
-
Interrupt movement when passing through certain terrain or traps:

-
Run range events when passing through certain terrain or traps:

These range events should have a completion flag, as passing through a large range event area can trigger the event multiple times.

If you have the Less Annoying Fog patch by Leonarth installed, then the unit menu will open when you’re interrupted.

If the PreventGoingBack config is true, then you can’t go back to the start of your unit’s action by pressing B if you triggered a range event by passing through it. (The menu only opens if you have the Less Annoying Fog patch.)

Not all event commands will work while units are moving. For example, the self damage poison patch looks like this when called this way:

Even though it has some limitations, I think it could be useful for some event spaghetti ![]()
Hi there Vesly! Just to confirm if I’m doing it right, when implementing the Stat / Class Expansion patch for FE7, opening ‘Installer.event’ there’s a line called ‘#define statCap 60’.
In this case you would simply change it from 60 to 30, so it has the same caps as vanilla?
Yeah, then the purpose of it would be just to expand the number of classes.
I found another Danger Bones related bug:

Woah, it’s like afterimages
I spent a long time trying to make AoE and Danger Bones use the same palette, but I can’t seem to get that to work without issues, so instead, I’ve changed the palette id for danger bones.
Here’s a summary of the sprite palettes when showing the map:
MMB interface & Myrrh's transformation map sprite: 8
Transformed Myrrh when attacked: 9
Flames weather / AoE damage numbers: 10
LightRune / LinkArena / AoE anims: 11
BlueSMS: 12
RedSMS: 13
GreenSMS: 14
GreySMS: 15
I’ve made the default palette ID for danger bones as 9 now. Danger Bones is off on enemy phase anyway, so the only impact might be if you have enemy Myrrh manaketes:

(The fighter above Seth has the wrong palette during the battle. This seems to be the least disruptive option, but users can choose an alternative id if desired by changing DB_Pal_ID in the installer.)
Now that I’ve changed the palette ID used, the conflicts with AoE are no longer an issue, and I can remove RefreshUnitSprites that was causing after-image problems.

Thanks for your help with finding these issues, @Someone.

