(Redirected from Persona 5 Royal/Flags)
Flags are single bits that are enabled and disabled in the game's memory for keeping track of certain conditions. In Persona 5, there are 8,960 flags (1,120 bytes of data). When the game is saved, this chunk of data gets saved from range 0x2D66 to 0x31C5 in GAME.DAT. BF scripts can enable and disable flags using the BIT_ON(); and BIT_OFF(); functions.
Flags by Section
Flag Table Section | # of Flags | Sumbits Range (P5) | Sumbits Range (P5R) |
---|---|---|---|
Section 0 | 3702 | 0000 - 2047 | 0000 - 3071 |
Section 1 | 2442 | 2048 - 4095 | 3072 - 6143 |
Section 2 | 5120 | 4096 - 8191 | 6144 - 11263 |
Section 3 | 512 | 8192 - 8447 | 11264 - 11775 |
Section 4 | 512 | 8448 - 8703 | 11776 - 12287 |
Section 5 | 512 | 8704 - 8959 | 12288 - 12799 |