Skip to content

Enum list type

Display a list of enums values for a given type, but render as if it was the corresponding list type.

Options generation

listvar is all the integers from 0 to the amount of enum values for the corresponding type - 1.

Additionally, the list type is overridden to be the one that corresponds to the enum. For Items, it's standard Items List Type (but it will include all standard and key items values), for BadgeType, it's Medals List Type, for Skills, it's the first party member's Skills List Type (but it will include all skills) and for Maps, it's its own list type.

Option's SetText input string

If the list type has not been overridden, this is assumed to be the Maps enum list type in which case, the text is the textual representation of the enum value and the x position of the text is overridden to -2.65.

Otherwise, the behavior is as described in the overridden list type document.

Description box rendering

If the list type has not been overridden, this is assumed to be the Maps enum list type in which case, it uses the default rendering scheme described in Description box rendering where the text is empty.

Otherwise, the behavior is as described in the overridden list type document.

Confirmation handling

Confirmation is handled by MainManager's Update. First, the flagvar of the storeid is set to the selected option (bug?). Then, the list gets destroyed which ends this list's processing and resets the ItemList State Machine.