Flags
General
Flags can be accessed by both their name and index.
For example, if you want to check if the target has the status effect KO
, you can do it via the status effect identifier like this:
or via the status effect name like this:
or this:
Notes
All entries in a metatable (list, flags, ...) start with 0, not 1. This is intended as that way the table key (e.g. 0
-> KO
) is identical to the identifier used by the game.
Last updated