The ID of a raw is always a short (this was the case in the old core too) which is fine for Fire Emblem, for the most part, but can cause issues for other games.
One can get around this by setting the code ID to 0 and using the "fixed" parameter flag on the first parameter. as well as using the "unsafe" code flag.
My suggestion for a solution is to add a code flag to specify the size of the code ID and either make it default to 2 bytes if there is no size specified or add a way to specify the default size of code IDs based on language.
The ID of a raw is always a short (this was the case in the old core too) which is fine for Fire Emblem, for the most part, but can cause issues for other games.
One can get around this by setting the code ID to 0 and using the "fixed" parameter flag on the first parameter. as well as using the "unsafe" code flag.
This is an exmaple from Traps.txt:
My suggestion for a solution is to add a code flag to specify the size of the code ID and either make it default to 2 bytes if there is no size specified or add a way to specify the default size of code IDs based on language.