Skip to content

Suggestion: Allow the size of the ID parameter in raws to be specified #3

@LeonarthCG

Description

@LeonarthCG

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:

FIRE, 0, 6, -language:FE7:FE8 -unsafe -priority:ballista -indexMode:8 -offsetMod:1
4, 0, 1, -fixed

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions