hedge-dev / HMMCodes

Hedge Mod Manager community codes repository
14 stars 16 forks source link

[Sonic Frontiers] BlackboardStatus flags for v1.41 #78

Closed hyperbx closed 9 months ago

hyperbx commented 9 months ago

Due to certain flags likely being represented by enums in no particular order, Sonic Team inserting new enum members can shift the indices of the flags used around the game for BlackboardStatus.

Every update to Sonic Frontiers has seen all of the flags change in some way, and that holds true for v1.41.

Some codes (and even mods using rangers-api) may have unintended behaviour due to setting or checking incorrect flags, so these will have to be looked up again.

Any issues with current known flags should be reported here.

hyperbx commented 9 months ago

As of now, the only known correct flag is CombatFlags.IsSpinDash, as I just looked this one up today to fix Always Unlocked Spin Dash.

hyperbx commented 9 months ago

Fixed in commit https://github.com/hedge-dev/HMMCodes/commit/c44ae97b049189ea74472113c5270d6146de3f5c.