pokeemerald/include/constants/flags.h
2017-12-16 01:08:55 +01:00

1579 lines
63 KiB
C

#ifndef GUARD_CONSTANTS_FLAGS_H
#define GUARD_CONSTANTS_FLAGS_H
#define FLAG_0x001 0x1
#define FLAG_0x002 0x2
#define FLAG_0x003 0x3
#define FLAG_0x004 0x4
#define FLAG_0x005 0x5
#define FLAG_0x006 0x6
#define FLAG_0x007 0x7
#define FLAG_0x008 0x8
#define FLAG_0x009 0x9
#define FLAG_0x00A 0xA
#define FLAG_0x00B 0xB
#define FLAG_0x00C 0xC
#define FLAG_0x00D 0xD
#define FLAG_0x00E 0xE
#define FLAG_0x00F 0xF
#define FLAG_0x010 0x10
#define FLAG_0x011 0x11
#define FLAG_0x012 0x12
#define FLAG_0x013 0x13
#define FLAG_0x014 0x14
#define FLAG_0x015 0x15
#define FLAG_0x016 0x16
#define FLAG_0x017 0x17
#define FLAG_0x018 0x18
#define FLAG_0x019 0x19
#define FLAG_0x01A 0x1A
#define FLAG_0x01B 0x1B
#define FLAG_0x01C 0x1C
#define FLAG_0x01D 0x1D
#define FLAG_0x01E 0x1E
#define FLAG_0x01F 0x1F
#define FLAG_0x020 0x20
#define FLAG_0x021 0x21
#define FLAG_0x022 0x22
#define FLAG_0x023 0x23
#define FLAG_0x024 0x24
#define FLAG_0x025 0x25
#define FLAG_0x026 0x26
#define FLAG_0x027 0x27
#define FLAG_0x028 0x28
#define FLAG_0x029 0x29
#define FLAG_0x02A 0x2A
#define FLAG_0x02B 0x2B
#define FLAG_0x02C 0x2C
#define FLAG_0x02D 0x2D
#define FLAG_0x02E 0x2E
#define FLAG_0x02F 0x2F
#define FLAG_0x030 0x30
#define FLAG_0x031 0x31
#define FLAG_0x032 0x32
#define FLAG_0x033 0x33
#define FLAG_0x034 0x34
#define FLAG_0x035 0x35
#define FLAG_0x036 0x36
#define FLAG_0x037 0x37
#define FLAG_0x038 0x38
#define FLAG_0x039 0x39
#define FLAG_0x03A 0x3A
#define FLAG_0x03B 0x3B
#define FLAG_0x03C 0x3C
#define FLAG_0x03D 0x3D
#define FLAG_0x03E 0x3E
#define FLAG_0x03F 0x3F
#define FLAG_0x040 0x40
#define FLAG_0x041 0x41
#define FLAG_0x042 0x42
#define FLAG_0x043 0x43
#define FLAG_0x044 0x44
#define FLAG_0x045 0x45
#define FLAG_0x046 0x46
#define FLAG_0x047 0x47
#define FLAG_0x048 0x48
#define FLAG_0x049 0x49
#define FLAG_0x04A 0x4A
#define FLAG_0x04B 0x4B
#define FLAG_0x04C 0x4C
#define FLAG_0x04D 0x4D
#define FLAG_0x04E 0x4E
#define FLAG_0x04F 0x4F
#define FLAG_0x050 0x50
#define FLAG_0x051 0x51
#define FLAG_0x052 0x52
#define FLAG_LEGENDARIES_IN_SOOTOPOLIS 0x53
#define FLAG_0x054 0x54
#define FLAG_0x055 0x55
#define FLAG_0x056 0x56
#define FLAG_0x057 0x57
#define FLAG_0x058 0x58
#define FLAG_0x059 0x59
#define FLAG_0x05A 0x5A
#define FLAG_0x05B 0x5B
#define FLAG_0x05C 0x5C
#define FLAG_0x05D 0x5D
#define FLAG_0x05E 0x5E
#define FLAG_0x05F 0x5F
#define FLAG_0x060 0x60
#define FLAG_0x061 0x61
#define FLAG_0x062 0x62
#define FLAG_0x063 0x63
#define FLAG_0x064 0x64
#define FLAG_0x065 0x65
#define FLAG_0x066 0x66
#define FLAG_0x067 0x67
#define FLAG_0x068 0x68
#define FLAG_0x069 0x69
#define FLAG_0x06A 0x6A
#define FLAG_0x06B 0x6B
#define FLAG_0x06C 0x6C
#define FLAG_0x06D 0x6D
#define FLAG_0x06E 0x6E
#define FLAG_0x06F 0x6F
#define FLAG_0x070 0x70
#define FLAG_0x071 0x71
#define FLAG_0x072 0x72
#define FLAG_0x073 0x73
#define FLAG_0x074 0x74
#define FLAG_0x075 0x75
#define FLAG_0x076 0x76
#define FLAG_0x077 0x77
#define FLAG_0x078 0x78
#define FLAG_0x079 0x79
#define FLAG_0x07A 0x7A
#define FLAG_0x07B 0x7B
#define FLAG_0x07C 0x7C
#define FLAG_0x07D 0x7D
#define FLAG_0x07E 0x7E
#define FLAG_0x07F 0x7F
#define FLAG_0x080 0x80
#define FLAG_0x081 0x81
#define FLAG_0x082 0x82
#define FLAG_0x083 0x83
#define FLAG_0x084 0x84
#define FLAG_0x085 0x85
#define FLAG_PENDING_DAYCARE_EGG 0x86
#define FLAG_0x087 0x87
#define FLAG_0x088 0x88
#define FLAG_0x089 0x89
#define FLAG_0x08A 0x8A
#define FLAG_0x08B 0x8B
#define FLAG_0x08C 0x8C
#define FLAG_0x08D 0x8D
#define FLAG_0x08E 0x8E
#define FLAG_0x08F 0x8F
#define FLAG_0x090 0x90
#define FLAG_0x091 0x91
#define FLAG_0x092 0x92
#define FLAG_0x093 0x93
#define FLAG_0x094 0x94
#define FLAG_0x095 0x95
#define FLAG_0x096 0x96
#define FLAG_0x097 0x97
#define FLAG_0x098 0x98
#define FLAG_0x099 0x99
#define FLAG_0x09A 0x9A
#define FLAG_0x09B 0x9B
#define FLAG_0x09C 0x9C
#define FLAG_0x09D 0x9D
#define FLAG_0x09E 0x9E
#define FLAG_0x09F 0x9F
#define FLAG_0x0A0 0xA0
#define FLAG_0x0A1 0xA1
#define FLAG_0x0A2 0xA2
#define FLAG_0x0A3 0xA3
#define FLAG_0x0A4 0xA4
#define FLAG_0x0A5 0xA5
#define FLAG_0x0A6 0xA6
#define FLAG_0x0A7 0xA7
#define FLAG_0x0A8 0xA8
#define FLAG_0x0A9 0xA9
#define FLAG_0x0AA 0xAA
#define FLAG_0x0AB 0xAB
#define FLAG_0x0AC 0xAC
#define FLAG_0x0AD 0xAD
#define FLAG_0x0AE 0xAE
#define FLAG_0x0AF 0xAF
#define FLAG_0x0B0 0xB0
#define FLAG_0x0B1 0xB1
#define FLAG_0x0B2 0xB2
#define FLAG_0x0B3 0xB3
#define FLAG_0x0B4 0xB4
#define FLAG_0x0B5 0xB5
#define FLAG_0x0B6 0xB6
#define FLAG_0x0B7 0xB7
#define FLAG_0x0B8 0xB8
#define FLAG_0x0B9 0xB9
#define FLAG_0x0BA 0xBA
#define FLAG_0x0BB 0xBB
#define FLAG_0x0BC 0xBC
#define FLAG_0x0BD 0xBD
#define FLAG_0x0BE 0xBE
#define FLAG_0x0BF 0xBF
#define FLAG_0x0C0 0xC0
#define FLAG_0x0C1 0xC1
#define FLAG_0x0C2 0xC2
#define FLAG_0x0C3 0xC3
#define FLAG_0x0C4 0xC4
#define FLAG_0x0C5 0xC5
#define FLAG_0x0C6 0xC6
#define FLAG_0x0C7 0xC7
#define FLAG_0x0C8 0xC8
#define FLAG_0x0C9 0xC9
#define FLAG_0x0CA 0xCA
#define FLAG_0x0CB 0xCB
#define FLAG_0x0CC 0xCC
#define FLAG_0x0CD 0xCD
#define FLAG_0x0CE 0xCE
#define FLAG_0x0CF 0xCF
#define FLAG_0x0D0 0xD0
#define FLAG_0x0D1 0xD1
#define FLAG_0x0D2 0xD2
#define FLAG_0x0D3 0xD3
#define FLAG_0x0D4 0xD4
#define FLAG_0x0D5 0xD5
#define FLAG_0x0D6 0xD6
#define FLAG_0x0D7 0xD7
#define FLAG_0x0D8 0xD8
#define FLAG_0x0D9 0xD9
#define FLAG_0x0DA 0xDA
#define FLAG_0x0DB 0xDB
#define FLAG_0x0DC 0xDC
#define FLAG_0x0DD 0xDD
#define FLAG_0x0DE 0xDE
#define FLAG_0x0DF 0xDF
#define FLAG_0x0E0 0xE0
#define FLAG_0x0E1 0xE1
#define FLAG_0x0E2 0xE2
#define FLAG_0x0E3 0xE3
#define FLAG_0x0E4 0xE4
#define FLAG_0x0E5 0xE5
#define FLAG_0x0E6 0xE6
#define FLAG_0x0E7 0xE7
#define FLAG_0x0E8 0xE8
#define FLAG_0x0E9 0xE9
#define FLAG_0x0EA 0xEA
#define FLAG_0x0EB 0xEB
#define FLAG_0x0EC 0xEC
#define FLAG_0x0ED 0xED
#define FLAG_0x0EE 0xEE
#define FLAG_0x0EF 0xEF
#define FLAG_0x0F0 0xF0
#define FLAG_0x0F1 0xF1
#define FLAG_0x0F2 0xF2
#define FLAG_0x0F3 0xF3
#define FLAG_0x0F4 0xF4
#define FLAG_0x0F5 0xF5
#define FLAG_0x0F6 0xF6
#define FLAG_0x0F7 0xF7
#define FLAG_0x0F8 0xF8
#define FLAG_0x0F9 0xF9
#define FLAG_0x0FA 0xFA
#define FLAG_0x0FB 0xFB
#define FLAG_0x0FC 0xFC
#define FLAG_0x0FD 0xFD
#define FLAG_0x0FE 0xFE
#define FLAG_0x0FF 0xFF
#define FLAG_0x100 0x100
#define FLAG_0x101 0x101
#define FLAG_0x102 0x102
#define FLAG_0x103 0x103
#define FLAG_0x104 0x104
#define FLAG_0x105 0x105
#define FLAG_0x106 0x106
#define FLAG_0x107 0x107
#define FLAG_0x108 0x108
#define FLAG_0x109 0x109
#define FLAG_0x10A 0x10A
#define FLAG_0x10B 0x10B
#define FLAG_0x10C 0x10C
#define FLAG_0x10D 0x10D
#define FLAG_0x10E 0x10E
#define FLAG_0x10F 0x10F
#define FLAG_0x110 0x110
#define FLAG_0x111 0x111
#define FLAG_0x112 0x112
#define FLAG_0x113 0x113
#define FLAG_0x114 0x114
#define FLAG_0x115 0x115
#define FLAG_0x116 0x116
#define FLAG_0x117 0x117
#define FLAG_0x118 0x118
#define FLAG_0x119 0x119
#define FLAG_0x11A 0x11A
#define FLAG_0x11B 0x11B
#define FLAG_0x11C 0x11C
#define FLAG_0x11D 0x11D
#define FLAG_0x11E 0x11E
#define FLAG_0x11F 0x11F
#define FLAG_0x120 0x120
#define FLAG_0x121 0x121
#define FLAG_0x122 0x122
#define FLAG_0x123 0x123
#define FLAG_0x124 0x124
#define FLAG_0x125 0x125
#define FLAG_0x126 0x126
#define FLAG_0x127 0x127
#define FLAG_0x128 0x128
#define FLAG_0x129 0x129
#define FLAG_0x12A 0x12A
#define FLAG_0x12B 0x12B
#define FLAG_0x12C 0x12C
#define FLAG_0x12D 0x12D
#define FLAG_0x12E 0x12E
#define FLAG_HAS_MATCH_CALL 0x12F
#define FLAG_0x130 0x130
#define FLAG_0x131 0x131
#define FLAG_0x132 0x132
#define FLAG_0x133 0x133
#define FLAG_0x134 0x134
#define FLAG_0x135 0x135
#define FLAG_0x136 0x136
#define FLAG_0x137 0x137
#define FLAG_0x138 0x138
#define FLAG_0x139 0x139
#define FLAG_0x13A 0x13A
#define FLAG_0x13B 0x13B
#define FLAG_0x13C 0x13C
#define FLAG_0x13D 0x13D
#define FLAG_0x13E 0x13E
#define FLAG_0x13F 0x13F
#define FLAG_0x140 0x140
#define FLAG_0x141 0x141
#define FLAG_0x142 0x142
#define FLAG_0x143 0x143
#define FLAG_0x144 0x144
#define FLAG_0x145 0x145
#define FLAG_0x146 0x146
#define FLAG_0x147 0x147
#define FLAG_0x148 0x148
#define FLAG_0x149 0x149
#define FLAG_0x14A 0x14A
#define FLAG_0x14B 0x14B
#define FLAG_0x14C 0x14C
#define FLAG_0x14D 0x14D
#define FLAG_0x14E 0x14E
#define FLAG_0x14F 0x14F
#define FLAG_0x150 0x150
#define FLAG_0x151 0x151
#define FLAG_0x152 0x152
#define FLAG_0x153 0x153
#define FLAG_0x154 0x154
#define FLAG_0x155 0x155
#define FLAG_0x156 0x156
#define FLAG_0x157 0x157
#define FLAG_0x158 0x158
#define FLAG_0x159 0x159
#define FLAG_0x15A 0x15A
#define FLAG_0x15B 0x15B
#define FLAG_MATCH_CALL_REGISTERED 0x15C
#define FLAG_0x15D 0x15D
#define FLAG_0x15E 0x15E
#define FLAG_0x15F 0x15F
#define FLAG_0x160 0x160
#define FLAG_0x161 0x161
#define FLAG_0x162 0x162
#define FLAG_0x163 0x163
#define FLAG_0x164 0x164
#define FLAG_0x165 0x165
#define FLAG_0x166 0x166
#define FLAG_0x167 0x167
#define FLAG_0x168 0x168
#define FLAG_0x169 0x169
#define FLAG_0x16A 0x16A
#define FLAG_0x16B 0x16B
#define FLAG_0x16C 0x16C
#define FLAG_0x16D 0x16D
#define FLAG_0x16E 0x16E
#define FLAG_0x16F 0x16F
#define FLAG_0x170 0x170
#define FLAG_0x171 0x171
#define FLAG_0x172 0x172
#define FLAG_0x173 0x173
#define FLAG_0x174 0x174
#define FLAG_0x175 0x175
#define FLAG_0x176 0x176
#define FLAG_0x177 0x177
#define FLAG_0x178 0x178
#define FLAG_0x179 0x179
#define FLAG_0x17A 0x17A
#define FLAG_0x17B 0x17B
#define FLAG_0x17C 0x17C
#define FLAG_0x17D 0x17D
#define FLAG_0x17E 0x17E
#define FLAG_0x17F 0x17F
#define FLAG_0x180 0x180
#define FLAG_0x181 0x181
#define FLAG_0x182 0x182
#define FLAG_0x183 0x183
#define FLAG_0x184 0x184
#define FLAG_0x185 0x185
#define FLAG_0x186 0x186
#define FLAG_0x187 0x187
#define FLAG_0x188 0x188
#define FLAG_0x189 0x189
#define FLAG_0x18A 0x18A
#define FLAG_0x18B 0x18B
#define FLAG_0x18C 0x18C
#define FLAG_0x18D 0x18D
#define FLAG_0x18E 0x18E
#define FLAG_0x18F 0x18F
#define FLAG_0x190 0x190
#define FLAG_0x191 0x191
#define FLAG_0x192 0x192
#define FLAG_0x193 0x193
#define FLAG_0x194 0x194
#define FLAG_0x195 0x195
#define FLAG_0x196 0x196
#define FLAG_0x197 0x197
#define FLAG_0x198 0x198
#define FLAG_0x199 0x199
#define FLAG_0x19A 0x19A
#define FLAG_0x19B 0x19B
#define FLAG_0x19C 0x19C
#define FLAG_0x19D 0x19D
#define FLAG_0x19E 0x19E
#define FLAG_0x19F 0x19F
#define FLAG_0x1A0 0x1A0
#define FLAG_0x1A1 0x1A1
#define FLAG_0x1A2 0x1A2
#define FLAG_0x1A3 0x1A3
#define FLAG_0x1A4 0x1A4
#define FLAG_0x1A5 0x1A5
#define FLAG_0x1A6 0x1A6
#define FLAG_0x1A7 0x1A7
#define FLAG_0x1A8 0x1A8
#define FLAG_0x1A9 0x1A9
#define FLAG_0x1AA 0x1AA
#define FLAG_0x1AB 0x1AB
#define FLAG_0x1AC 0x1AC
#define FLAG_0x1AD 0x1AD
#define FLAG_0x1AE 0x1AE
#define FLAG_0x1AF 0x1AF
#define FLAG_0x1B0 0x1B0
#define FLAG_0x1B1 0x1B1
#define FLAG_0x1B2 0x1B2
#define FLAG_0x1B3 0x1B3
#define FLAG_0x1B4 0x1B4
#define FLAG_0x1B5 0x1B5
#define FLAG_0x1B6 0x1B6
#define FLAG_0x1B7 0x1B7
#define FLAG_0x1B8 0x1B8
#define FLAG_0x1B9 0x1B9
#define FLAG_0x1BA 0x1BA
#define FLAG_0x1BB 0x1BB
#define FLAG_0x1BC 0x1BC
#define FLAG_0x1BD 0x1BD
#define FLAG_0x1BE 0x1BE
#define FLAG_0x1BF 0x1BF
#define FLAG_0x1C0 0x1C0
#define FLAG_0x1C1 0x1C1
#define FLAG_0x1C2 0x1C2
#define FLAG_0x1C3 0x1C3
#define FLAG_0x1C4 0x1C4
#define FLAG_0x1C5 0x1C5
#define FLAG_0x1C6 0x1C6
#define FLAG_0x1C7 0x1C7
#define FLAG_0x1C8 0x1C8
#define FLAG_0x1C9 0x1C9
#define FLAG_0x1CA 0x1CA
#define FLAG_0x1CB 0x1CB
#define FLAG_0x1CC 0x1CC
#define FLAG_0x1CD 0x1CD
#define FLAG_0x1CE 0x1CE
#define FLAG_0x1CF 0x1CF
#define FLAG_0x1D0 0x1D0
#define FLAG_0x1D1 0x1D1
#define FLAG_0x1D2 0x1D2
#define FLAG_0x1D3 0x1D3
#define FLAG_0x1D4 0x1D4
#define FLAG_0x1D5 0x1D5
#define FLAG_0x1D6 0x1D6
#define FLAG_0x1D7 0x1D7
#define FLAG_0x1D8 0x1D8
#define FLAG_0x1D9 0x1D9
#define FLAG_0x1DA 0x1DA
#define FLAG_0x1DB 0x1DB
#define FLAG_0x1DC 0x1DC
#define FLAG_0x1DD 0x1DD
#define FLAG_0x1DE 0x1DE
#define FLAG_0x1DF 0x1DF
#define FLAG_0x1E0 0x1E0
#define FLAG_0x1E1 0x1E1
#define FLAG_0x1E2 0x1E2
#define FLAG_0x1E3 0x1E3
#define FLAG_0x1E4 0x1E4
#define FLAG_0x1E5 0x1E5
#define FLAG_0x1E6 0x1E6
#define FLAG_0x1E7 0x1E7
#define FLAG_0x1E8 0x1E8
#define FLAG_0x1E9 0x1E9
#define FLAG_0x1EA 0x1EA
#define FLAG_0x1EB 0x1EB
#define FLAG_0x1EC 0x1EC
#define FLAG_0x1ED 0x1ED
#define FLAG_0x1EE 0x1EE
#define FLAG_0x1EF 0x1EF
#define FLAG_0x1F0 0x1F0
#define FLAG_0x1F1 0x1F1
#define FLAG_0x1F2 0x1F2
#define FLAG_0x1F3 0x1F3
#define FLAG_0x1F4 0x1F4
#define FLAG_0x1F5 0x1F5
#define FLAG_0x1F6 0x1F6
#define FLAG_0x1F7 0x1F7
#define FLAG_0x1F8 0x1F8
#define FLAG_0x1F9 0x1F9
#define FLAG_0x1FA 0x1FA
#define FLAG_0x1FB 0x1FB
#define FLAG_0x1FC 0x1FC
#define FLAG_0x1FD 0x1FD
#define FLAG_0x1FE 0x1FE
#define FLAG_0x1FF 0x1FF
#define FLAG_0x200 0x200
#define FLAG_0x201 0x201
#define FLAG_0x202 0x202
#define FLAG_0x203 0x203
#define FLAG_0x204 0x204
#define FLAG_0x205 0x205
#define FLAG_0x206 0x206
#define FLAG_0x207 0x207
#define FLAG_0x208 0x208
#define FLAG_0x209 0x209
#define FLAG_0x20A 0x20A
#define FLAG_0x20B 0x20B
#define FLAG_0x20C 0x20C
#define FLAG_0x20D 0x20D
#define FLAG_0x20E 0x20E
#define FLAG_0x20F 0x20F
#define FLAG_0x210 0x210
#define FLAG_0x211 0x211
#define FLAG_0x212 0x212
#define FLAG_0x213 0x213
#define FLAG_0x214 0x214
#define FLAG_0x215 0x215
#define FLAG_0x216 0x216
#define FLAG_0x217 0x217
#define FLAG_0x218 0x218
#define FLAG_0x219 0x219
#define FLAG_0x21A 0x21A
#define FLAG_0x21B 0x21B
#define FLAG_0x21C 0x21C
#define FLAG_0x21D 0x21D
#define FLAG_0x21E 0x21E
#define FLAG_0x21F 0x21F
#define FLAG_0x220 0x220
#define FLAG_0x221 0x221
#define FLAG_0x222 0x222
#define FLAG_0x223 0x223
#define FLAG_0x224 0x224
#define FLAG_0x225 0x225
#define FLAG_0x226 0x226
#define FLAG_0x227 0x227
#define FLAG_0x228 0x228
#define FLAG_0x229 0x229
#define FLAG_0x22A 0x22A
#define FLAG_0x22B 0x22B
#define FLAG_0x22C 0x22C
#define FLAG_0x22D 0x22D
#define FLAG_0x22E 0x22E
#define FLAG_0x22F 0x22F
#define FLAG_0x230 0x230
#define FLAG_0x231 0x231
#define FLAG_0x232 0x232
#define FLAG_0x233 0x233
#define FLAG_0x234 0x234
#define FLAG_0x235 0x235
#define FLAG_0x236 0x236
#define FLAG_0x237 0x237
#define FLAG_0x238 0x238
#define FLAG_0x239 0x239
#define FLAG_0x23A 0x23A
#define FLAG_0x23B 0x23B
#define FLAG_0x23C 0x23C
#define FLAG_0x23D 0x23D
#define FLAG_0x23E 0x23E
#define FLAG_0x23F 0x23F
#define FLAG_0x240 0x240
#define FLAG_0x241 0x241
#define FLAG_0x242 0x242
#define FLAG_0x243 0x243
#define FLAG_0x244 0x244
#define FLAG_0x245 0x245
#define FLAG_0x246 0x246
#define FLAG_0x247 0x247
#define FLAG_0x248 0x248
#define FLAG_0x249 0x249
#define FLAG_0x24A 0x24A
#define FLAG_0x24B 0x24B
#define FLAG_0x24C 0x24C
#define FLAG_0x24D 0x24D
#define FLAG_0x24E 0x24E
#define FLAG_0x24F 0x24F
#define FLAG_0x250 0x250
#define FLAG_0x251 0x251
#define FLAG_0x252 0x252
#define FLAG_0x253 0x253
#define FLAG_0x254 0x254
#define FLAG_0x255 0x255
#define FLAG_0x256 0x256
#define FLAG_0x257 0x257
#define FLAG_0x258 0x258
#define FLAG_0x259 0x259
#define FLAG_0x25A 0x25A
#define FLAG_0x25B 0x25B
#define FLAG_0x25C 0x25C
#define FLAG_0x25D 0x25D
#define FLAG_0x25E 0x25E
#define FLAG_0x25F 0x25F
#define FLAG_0x260 0x260
#define FLAG_0x261 0x261
#define FLAG_0x262 0x262
#define FLAG_0x263 0x263
#define FLAG_0x264 0x264
#define FLAG_0x265 0x265
#define FLAG_0x266 0x266
#define FLAG_0x267 0x267
#define FLAG_0x268 0x268
#define FLAG_0x269 0x269
#define FLAG_0x26A 0x26A
#define FLAG_0x26B 0x26B
#define FLAG_0x26C 0x26C
#define FLAG_0x26D 0x26D
#define FLAG_0x26E 0x26E
#define FLAG_0x26F 0x26F
#define FLAG_0x270 0x270
#define FLAG_0x271 0x271
#define FLAG_0x272 0x272
#define FLAG_0x273 0x273
#define FLAG_0x274 0x274
#define FLAG_0x275 0x275
#define FLAG_0x276 0x276
#define FLAG_0x277 0x277
#define FLAG_0x278 0x278
#define FLAG_0x279 0x279
#define FLAG_0x27A 0x27A
#define FLAG_0x27B 0x27B
#define FLAG_0x27C 0x27C
#define FLAG_0x27D 0x27D
#define FLAG_0x27E 0x27E
#define FLAG_0x27F 0x27F
#define FLAG_0x280 0x280
#define FLAG_0x281 0x281
#define FLAG_0x282 0x282
#define FLAG_0x283 0x283
#define FLAG_0x284 0x284
#define FLAG_0x285 0x285
#define FLAG_0x286 0x286
#define FLAG_0x287 0x287
#define FLAG_0x288 0x288
#define FLAG_0x289 0x289
#define FLAG_0x28A 0x28A
#define FLAG_0x28B 0x28B
#define FLAG_0x28C 0x28C
#define FLAG_0x28D 0x28D
#define FLAG_0x28E 0x28E
#define FLAG_0x28F 0x28F
#define FLAG_0x290 0x290
#define FLAG_0x291 0x291
#define FLAG_0x292 0x292
#define FLAG_0x293 0x293
#define FLAG_0x294 0x294
#define FLAG_0x295 0x295
#define FLAG_0x296 0x296
#define FLAG_0x297 0x297
#define FLAG_0x298 0x298
#define FLAG_0x299 0x299
#define FLAG_0x29A 0x29A
#define FLAG_0x29B 0x29B
#define FLAG_0x29C 0x29C
#define FLAG_0x29D 0x29D
#define FLAG_0x29E 0x29E
#define FLAG_0x29F 0x29F
#define FLAG_0x2A0 0x2A0
#define FLAG_0x2A1 0x2A1
#define FLAG_0x2A2 0x2A2
#define FLAG_0x2A3 0x2A3
#define FLAG_0x2A4 0x2A4
#define FLAG_0x2A5 0x2A5
#define FLAG_0x2A6 0x2A6
#define FLAG_0x2A7 0x2A7
#define FLAG_0x2A8 0x2A8
#define FLAG_0x2A9 0x2A9
#define FLAG_0x2AA 0x2AA
#define FLAG_0x2AB 0x2AB
#define FLAG_0x2AC 0x2AC
#define FLAG_0x2AD 0x2AD
#define FLAG_0x2AE 0x2AE
#define FLAG_0x2AF 0x2AF
#define FLAG_0x2B0 0x2B0
#define FLAG_0x2B1 0x2B1
#define FLAG_0x2B2 0x2B2
#define FLAG_0x2B3 0x2B3
#define FLAG_0x2B4 0x2B4
#define FLAG_0x2B5 0x2B5
#define FLAG_0x2B6 0x2B6
#define FLAG_0x2B7 0x2B7
#define FLAG_0x2B8 0x2B8
#define FLAG_0x2B9 0x2B9
#define FLAG_0x2BA 0x2BA
#define FLAG_0x2BB 0x2BB
#define FLAG_0x2BC 0x2BC
#define FLAG_0x2BD 0x2BD
#define FLAG_0x2BE 0x2BE
#define FLAG_0x2BF 0x2BF
#define FLAG_0x2C0 0x2C0
#define FLAG_0x2C1 0x2C1
#define FLAG_0x2C2 0x2C2
#define FLAG_0x2C3 0x2C3
#define FLAG_0x2C4 0x2C4
#define FLAG_0x2C5 0x2C5
#define FLAG_0x2C6 0x2C6
#define FLAG_0x2C7 0x2C7
#define FLAG_0x2C8 0x2C8
#define FLAG_0x2C9 0x2C9
#define FLAG_0x2CA 0x2CA
#define FLAG_0x2CB 0x2CB
#define FLAG_0x2CC 0x2CC
#define FLAG_0x2CD 0x2CD
#define FLAG_0x2CE 0x2CE
#define FLAG_0x2CF 0x2CF
#define FLAG_0x2D0 0x2D0
#define FLAG_0x2D1 0x2D1
#define FLAG_0x2D2 0x2D2
#define FLAG_0x2D3 0x2D3
#define FLAG_0x2D4 0x2D4
#define FLAG_0x2D5 0x2D5
#define FLAG_0x2D6 0x2D6
#define FLAG_0x2D7 0x2D7
#define FLAG_0x2D8 0x2D8
#define FLAG_0x2D9 0x2D9
#define FLAG_0x2DA 0x2DA
#define FLAG_0x2DB 0x2DB
#define FLAG_0x2DC 0x2DC
#define FLAG_0x2DD 0x2DD
#define FLAG_0x2DE 0x2DE
#define FLAG_0x2DF 0x2DF
#define FLAG_0x2E0 0x2E0
#define FLAG_0x2E1 0x2E1
#define FLAG_0x2E2 0x2E2
#define FLAG_0x2E3 0x2E3
#define FLAG_0x2E4 0x2E4
#define FLAG_0x2E5 0x2E5
#define FLAG_0x2E6 0x2E6
#define FLAG_0x2E7 0x2E7
#define FLAG_0x2E8 0x2E8
#define FLAG_0x2E9 0x2E9
#define FLAG_0x2EA 0x2EA
#define FLAG_0x2EB 0x2EB
#define FLAG_0x2EC 0x2EC
#define FLAG_0x2ED 0x2ED
#define FLAG_0x2EE 0x2EE
#define FLAG_0x2EF 0x2EF
#define FLAG_0x2F0 0x2F0
#define FLAG_0x2F1 0x2F1
#define FLAG_0x2F2 0x2F2
#define FLAG_0x2F3 0x2F3
#define FLAG_0x2F4 0x2F4
#define FLAG_0x2F5 0x2F5
#define FLAG_0x2F6 0x2F6
#define FLAG_0x2F7 0x2F7
#define FLAG_0x2F8 0x2F8
#define FLAG_0x2F9 0x2F9
#define FLAG_0x2FA 0x2FA
#define FLAG_0x2FB 0x2FB
#define FLAG_0x2FC 0x2FC
#define FLAG_0x2FD 0x2FD
#define FLAG_0x2FE 0x2FE
#define FLAG_0x2FF 0x2FF
#define FLAG_0x300 0x300
#define FLAG_0x301 0x301
#define FLAG_0x302 0x302
#define FLAG_0x303 0x303
#define FLAG_0x304 0x304
#define FLAG_0x305 0x305
#define FLAG_0x306 0x306
#define FLAG_0x307 0x307
#define FLAG_0x308 0x308
#define FLAG_0x309 0x309
#define FLAG_0x30A 0x30A
#define FLAG_0x30B 0x30B
#define FLAG_0x30C 0x30C
#define FLAG_0x30D 0x30D
#define FLAG_0x30E 0x30E
#define FLAG_0x30F 0x30F
#define FLAG_0x310 0x310
#define FLAG_0x311 0x311
#define FLAG_0x312 0x312
#define FLAG_0x313 0x313
#define FLAG_0x314 0x314
#define FLAG_0x315 0x315
#define FLAG_0x316 0x316
#define FLAG_0x317 0x317
#define FLAG_0x318 0x318
#define FLAG_0x319 0x319
#define FLAG_0x31A 0x31A
#define FLAG_0x31B 0x31B
#define FLAG_0x31C 0x31C
#define FLAG_0x31D 0x31D
#define FLAG_0x31E 0x31E
#define FLAG_0x31F 0x31F
#define FLAG_0x320 0x320
#define FLAG_0x321 0x321
#define FLAG_0x322 0x322
#define FLAG_0x323 0x323
#define FLAG_0x324 0x324
#define FLAG_0x325 0x325
#define FLAG_0x326 0x326
#define FLAG_0x327 0x327
#define FLAG_0x328 0x328
#define FLAG_0x329 0x329
#define FLAG_0x32A 0x32A
#define FLAG_0x32B 0x32B
#define FLAG_0x32C 0x32C
#define FLAG_0x32D 0x32D
#define FLAG_0x32E 0x32E
#define FLAG_0x32F 0x32F
#define FLAG_0x330 0x330
#define FLAG_0x331 0x331
#define FLAG_0x332 0x332
#define FLAG_0x333 0x333
#define FLAG_0x334 0x334
#define FLAG_0x335 0x335
#define FLAG_0x336 0x336
#define FLAG_0x337 0x337
#define FLAG_0x338 0x338
#define FLAG_0x339 0x339
#define FLAG_0x33A 0x33A
#define FLAG_0x33B 0x33B
#define FLAG_0x33C 0x33C
#define FLAG_0x33D 0x33D
#define FLAG_0x33E 0x33E
#define FLAG_0x33F 0x33F
#define FLAG_0x340 0x340
#define FLAG_0x341 0x341
#define FLAG_0x342 0x342
#define FLAG_0x343 0x343
#define FLAG_0x344 0x344
#define FLAG_0x345 0x345
#define FLAG_0x346 0x346
#define FLAG_0x347 0x347
#define FLAG_0x348 0x348
#define FLAG_0x349 0x349
#define FLAG_0x34A 0x34A
#define FLAG_0x34B 0x34B
#define FLAG_0x34C 0x34C
#define FLAG_0x34D 0x34D
#define FLAG_0x34E 0x34E
#define FLAG_0x34F 0x34F
#define FLAG_0x350 0x350
#define FLAG_0x351 0x351
#define FLAG_0x352 0x352
#define FLAG_0x353 0x353
#define FLAG_0x354 0x354
#define FLAG_0x355 0x355
#define FLAG_0x356 0x356
#define FLAG_0x357 0x357
#define FLAG_0x358 0x358
#define FLAG_0x359 0x359
#define FLAG_0x35A 0x35A
#define FLAG_0x35B 0x35B
#define FLAG_0x35C 0x35C
#define FLAG_0x35D 0x35D
#define FLAG_0x35E 0x35E
#define FLAG_0x35F 0x35F
#define FLAG_0x360 0x360
#define FLAG_0x361 0x361
#define FLAG_0x362 0x362
#define FLAG_0x363 0x363
#define FLAG_0x364 0x364
#define FLAG_0x365 0x365
#define FLAG_0x366 0x366
#define FLAG_0x367 0x367
#define FLAG_0x368 0x368
#define FLAG_0x369 0x369
#define FLAG_0x36A 0x36A
#define FLAG_0x36B 0x36B
#define FLAG_0x36C 0x36C
#define FLAG_0x36D 0x36D
#define FLAG_0x36E 0x36E
#define FLAG_0x36F 0x36F
#define FLAG_0x370 0x370
#define FLAG_0x371 0x371
#define FLAG_0x372 0x372
#define FLAG_0x373 0x373
#define FLAG_0x374 0x374
#define FLAG_0x375 0x375
#define FLAG_0x376 0x376
#define FLAG_0x377 0x377
#define FLAG_0x378 0x378
#define FLAG_0x379 0x379
#define FLAG_0x37A 0x37A
#define FLAG_0x37B 0x37B
#define FLAG_0x37C 0x37C
#define FLAG_0x37D 0x37D
#define FLAG_0x37E 0x37E
#define FLAG_0x37F 0x37F
#define FLAG_0x380 0x380
#define FLAG_0x381 0x381
#define FLAG_0x382 0x382
#define FLAG_0x383 0x383
#define FLAG_0x384 0x384
#define FLAG_0x385 0x385
#define FLAG_0x386 0x386
#define FLAG_0x387 0x387
#define FLAG_0x388 0x388
#define FLAG_0x389 0x389
#define FLAG_0x38A 0x38A
#define FLAG_0x38B 0x38B
#define FLAG_0x38C 0x38C
#define FLAG_0x38D 0x38D
#define FLAG_0x38E 0x38E
#define FLAG_0x38F 0x38F
#define FLAG_0x390 0x390
#define FLAG_0x391 0x391
#define FLAG_0x392 0x392
#define FLAG_0x393 0x393
#define FLAG_0x394 0x394
#define FLAG_0x395 0x395
#define FLAG_0x396 0x396
#define FLAG_0x397 0x397
#define FLAG_0x398 0x398
#define FLAG_0x399 0x399
#define FLAG_0x39A 0x39A
#define FLAG_0x39B 0x39B
#define FLAG_0x39C 0x39C
#define FLAG_0x39D 0x39D
#define FLAG_0x39E 0x39E
#define FLAG_0x39F 0x39F
#define FLAG_0x3A0 0x3A0
#define FLAG_0x3A1 0x3A1
#define FLAG_0x3A2 0x3A2
#define FLAG_0x3A3 0x3A3
#define FLAG_0x3A4 0x3A4
#define FLAG_0x3A5 0x3A5
#define FLAG_0x3A6 0x3A6
#define FLAG_0x3A7 0x3A7
#define FLAG_0x3A8 0x3A8
#define FLAG_0x3A9 0x3A9
#define FLAG_0x3AA 0x3AA
#define FLAG_0x3AB 0x3AB
#define FLAG_0x3AC 0x3AC
#define FLAG_0x3AD 0x3AD
#define FLAG_0x3AE 0x3AE
#define FLAG_0x3AF 0x3AF
#define FLAG_0x3B0 0x3B0
#define FLAG_0x3B1 0x3B1
#define FLAG_0x3B2 0x3B2
#define FLAG_0x3B3 0x3B3
#define FLAG_0x3B4 0x3B4
#define FLAG_0x3B5 0x3B5
#define FLAG_0x3B6 0x3B6
#define FLAG_0x3B7 0x3B7
#define FLAG_0x3B8 0x3B8
#define FLAG_0x3B9 0x3B9
#define FLAG_0x3BA 0x3BA
#define FLAG_0x3BB 0x3BB
#define FLAG_0x3BC 0x3BC
#define FLAG_0x3BD 0x3BD
#define FLAG_0x3BE 0x3BE
#define FLAG_0x3BF 0x3BF
#define FLAG_0x3C0 0x3C0
#define FLAG_0x3C1 0x3C1
#define FLAG_0x3C2 0x3C2
#define FLAG_0x3C3 0x3C3
#define FLAG_0x3C4 0x3C4
#define FLAG_0x3C5 0x3C5
#define FLAG_0x3C6 0x3C6
#define FLAG_0x3C7 0x3C7
#define FLAG_0x3C8 0x3C8
#define FLAG_0x3C9 0x3C9
#define FLAG_0x3CA 0x3CA
#define FLAG_0x3CB 0x3CB
#define FLAG_0x3CC 0x3CC
#define FLAG_0x3CD 0x3CD
#define FLAG_0x3CE 0x3CE
#define FLAG_0x3CF 0x3CF
#define FLAG_0x3D0 0x3D0
#define FLAG_0x3D1 0x3D1
#define FLAG_0x3D2 0x3D2
#define FLAG_0x3D3 0x3D3
#define FLAG_0x3D4 0x3D4
#define FLAG_0x3D5 0x3D5
#define FLAG_0x3D6 0x3D6
#define FLAG_0x3D7 0x3D7
#define FLAG_0x3D8 0x3D8
#define FLAG_0x3D9 0x3D9
#define FLAG_0x3DA 0x3DA
#define FLAG_0x3DB 0x3DB
#define FLAG_0x3DC 0x3DC
#define FLAG_0x3DD 0x3DD
#define FLAG_0x3DE 0x3DE
#define FLAG_0x3DF 0x3DF
#define FLAG_0x3E0 0x3E0
#define FLAG_0x3E1 0x3E1
#define FLAG_0x3E2 0x3E2
#define FLAG_0x3E3 0x3E3
#define FLAG_0x3E4 0x3E4
#define FLAG_0x3E5 0x3E5
#define FLAG_0x3E6 0x3E6
#define FLAG_0x3E7 0x3E7
#define FLAG_0x3E8 0x3E8
#define FLAG_0x3E9 0x3E9
#define FLAG_0x3EA 0x3EA
#define FLAG_0x3EB 0x3EB
#define FLAG_0x3EC 0x3EC
#define FLAG_0x3ED 0x3ED
#define FLAG_0x3EE 0x3EE
#define FLAG_0x3EF 0x3EF
#define FLAG_0x3F0 0x3F0
#define FLAG_0x3F1 0x3F1
#define FLAG_0x3F2 0x3F2
#define FLAG_0x3F3 0x3F3
#define FLAG_0x3F4 0x3F4
#define FLAG_0x3F5 0x3F5
#define FLAG_0x3F6 0x3F6
#define FLAG_0x3F7 0x3F7
#define FLAG_0x3F8 0x3F8
#define FLAG_0x3F9 0x3F9
#define FLAG_0x3FA 0x3FA
#define FLAG_0x3FB 0x3FB
#define FLAG_0x3FC 0x3FC
#define FLAG_0x3FD 0x3FD
#define FLAG_0x3FE 0x3FE
#define FLAG_0x3FF 0x3FF
#define FLAG_0x400 0x400
#define FLAG_0x401 0x401
#define FLAG_0x402 0x402
#define FLAG_0x403 0x403
#define FLAG_0x404 0x404
#define FLAG_0x405 0x405
#define FLAG_0x406 0x406
#define FLAG_0x407 0x407
#define FLAG_0x408 0x408
#define FLAG_0x409 0x409
#define FLAG_0x40A 0x40A
#define FLAG_0x40B 0x40B
#define FLAG_0x40C 0x40C
#define FLAG_0x40D 0x40D
#define FLAG_0x40E 0x40E
#define FLAG_0x40F 0x40F
#define FLAG_0x410 0x410
#define FLAG_0x411 0x411
#define FLAG_0x412 0x412
#define FLAG_0x413 0x413
#define FLAG_0x414 0x414
#define FLAG_0x415 0x415
#define FLAG_0x416 0x416
#define FLAG_0x417 0x417
#define FLAG_0x418 0x418
#define FLAG_0x419 0x419
#define FLAG_0x41A 0x41A
#define FLAG_0x41B 0x41B
#define FLAG_0x41C 0x41C
#define FLAG_0x41D 0x41D
#define FLAG_0x41E 0x41E
#define FLAG_0x41F 0x41F
#define FLAG_0x420 0x420
#define FLAG_0x421 0x421
#define FLAG_0x422 0x422
#define FLAG_0x423 0x423
#define FLAG_0x424 0x424
#define FLAG_0x425 0x425
#define FLAG_0x426 0x426
#define FLAG_0x427 0x427
#define FLAG_0x428 0x428
#define FLAG_0x429 0x429
#define FLAG_0x42A 0x42A
#define FLAG_0x42B 0x42B
#define FLAG_0x42C 0x42C
#define FLAG_0x42D 0x42D
#define FLAG_0x42E 0x42E
#define FLAG_0x42F 0x42F
#define FLAG_0x430 0x430
#define FLAG_0x431 0x431
#define FLAG_0x432 0x432
#define FLAG_0x433 0x433
#define FLAG_0x434 0x434
#define FLAG_0x435 0x435
#define FLAG_0x436 0x436
#define FLAG_0x437 0x437
#define FLAG_0x438 0x438
#define FLAG_0x439 0x439
#define FLAG_0x43A 0x43A
#define FLAG_0x43B 0x43B
#define FLAG_0x43C 0x43C
#define FLAG_0x43D 0x43D
#define FLAG_0x43E 0x43E
#define FLAG_0x43F 0x43F
#define FLAG_0x440 0x440
#define FLAG_0x441 0x441
#define FLAG_0x442 0x442
#define FLAG_0x443 0x443
#define FLAG_0x444 0x444
#define FLAG_0x445 0x445
#define FLAG_0x446 0x446
#define FLAG_0x447 0x447
#define FLAG_0x448 0x448
#define FLAG_0x449 0x449
#define FLAG_0x44A 0x44A
#define FLAG_0x44B 0x44B
#define FLAG_0x44C 0x44C
#define FLAG_0x44D 0x44D
#define FLAG_0x44E 0x44E
#define FLAG_0x44F 0x44F
#define FLAG_0x450 0x450
#define FLAG_0x451 0x451
#define FLAG_0x452 0x452
#define FLAG_0x453 0x453
#define FLAG_0x454 0x454
#define FLAG_0x455 0x455
#define FLAG_0x456 0x456
#define FLAG_0x457 0x457
#define FLAG_0x458 0x458
#define FLAG_0x459 0x459
#define FLAG_0x45A 0x45A
#define FLAG_0x45B 0x45B
#define FLAG_0x45C 0x45C
#define FLAG_0x45D 0x45D
#define FLAG_0x45E 0x45E
#define FLAG_0x45F 0x45F
#define FLAG_0x460 0x460
#define FLAG_0x461 0x461
#define FLAG_0x462 0x462
#define FLAG_0x463 0x463
#define FLAG_0x464 0x464
#define FLAG_0x465 0x465
#define FLAG_0x466 0x466
#define FLAG_0x467 0x467
#define FLAG_0x468 0x468
#define FLAG_0x469 0x469
#define FLAG_0x46A 0x46A
#define FLAG_0x46B 0x46B
#define FLAG_0x46C 0x46C
#define FLAG_0x46D 0x46D
#define FLAG_0x46E 0x46E
#define FLAG_0x46F 0x46F
#define FLAG_0x470 0x470
#define FLAG_0x471 0x471
#define FLAG_0x472 0x472
#define FLAG_0x473 0x473
#define FLAG_0x474 0x474
#define FLAG_0x475 0x475
#define FLAG_0x476 0x476
#define FLAG_0x477 0x477
#define FLAG_0x478 0x478
#define FLAG_0x479 0x479
#define FLAG_0x47A 0x47A
#define FLAG_0x47B 0x47B
#define FLAG_0x47C 0x47C
#define FLAG_0x47D 0x47D
#define FLAG_0x47E 0x47E
#define FLAG_0x47F 0x47F
#define FLAG_0x480 0x480
#define FLAG_0x481 0x481
#define FLAG_0x482 0x482
#define FLAG_0x483 0x483
#define FLAG_0x484 0x484
#define FLAG_0x485 0x485
#define FLAG_0x486 0x486
#define FLAG_0x487 0x487
#define FLAG_0x488 0x488
#define FLAG_0x489 0x489
#define FLAG_0x48A 0x48A
#define FLAG_0x48B 0x48B
#define FLAG_0x48C 0x48C
#define FLAG_0x48D 0x48D
#define FLAG_0x48E 0x48E
#define FLAG_0x48F 0x48F
#define FLAG_0x490 0x490
#define FLAG_0x491 0x491
#define FLAG_0x492 0x492
#define FLAG_0x493 0x493
#define FLAG_0x494 0x494
#define FLAG_0x495 0x495
#define FLAG_0x496 0x496
#define FLAG_0x497 0x497
#define FLAG_0x498 0x498
#define FLAG_0x499 0x499
#define FLAG_0x49A 0x49A
#define FLAG_0x49B 0x49B
#define FLAG_0x49C 0x49C
#define FLAG_0x49D 0x49D
#define FLAG_0x49E 0x49E
#define FLAG_0x49F 0x49F
#define FLAG_0x4A0 0x4A0
#define FLAG_0x4A1 0x4A1
#define FLAG_0x4A2 0x4A2
#define FLAG_0x4A3 0x4A3
#define FLAG_0x4A4 0x4A4
#define FLAG_0x4A5 0x4A5
#define FLAG_0x4A6 0x4A6
#define FLAG_0x4A7 0x4A7
#define FLAG_0x4A8 0x4A8
#define FLAG_0x4A9 0x4A9
#define FLAG_0x4AA 0x4AA
#define FLAG_0x4AB 0x4AB
#define FLAG_0x4AC 0x4AC
#define FLAG_0x4AD 0x4AD
#define FLAG_0x4AE 0x4AE
#define FLAG_0x4AF 0x4AF
#define FLAG_0x4B0 0x4B0
#define FLAG_0x4B1 0x4B1
#define FLAG_0x4B2 0x4B2
#define FLAG_0x4B3 0x4B3
#define FLAG_0x4B4 0x4B4
#define FLAG_0x4B5 0x4B5
#define FLAG_0x4B6 0x4B6
#define FLAG_0x4B7 0x4B7
#define FLAG_0x4B8 0x4B8
#define FLAG_0x4B9 0x4B9
#define FLAG_0x4BA 0x4BA
#define FLAG_0x4BB 0x4BB
#define FLAG_0x4BC 0x4BC
#define FLAG_0x4BD 0x4BD
#define FLAG_0x4BE 0x4BE
#define FLAG_0x4BF 0x4BF
#define FLAG_0x4C0 0x4C0
#define FLAG_0x4C1 0x4C1
#define FLAG_0x4C2 0x4C2
#define FLAG_0x4C3 0x4C3
#define FLAG_0x4C4 0x4C4
#define FLAG_0x4C5 0x4C5
#define FLAG_0x4C6 0x4C6
#define FLAG_0x4C7 0x4C7
#define FLAG_0x4C8 0x4C8
#define FLAG_0x4C9 0x4C9
#define FLAG_0x4CA 0x4CA
#define FLAG_0x4CB 0x4CB
#define FLAG_0x4CC 0x4CC
#define FLAG_0x4CD 0x4CD
#define FLAG_0x4CE 0x4CE
#define FLAG_0x4CF 0x4CF
#define FLAG_0x4D0 0x4D0
#define FLAG_0x4D1 0x4D1
#define FLAG_0x4D2 0x4D2
#define FLAG_0x4D3 0x4D3
#define FLAG_0x4D4 0x4D4
#define FLAG_0x4D5 0x4D5
#define FLAG_0x4D6 0x4D6
#define FLAG_0x4D7 0x4D7
#define FLAG_0x4D8 0x4D8
#define FLAG_0x4D9 0x4D9
#define FLAG_0x4DA 0x4DA
#define FLAG_0x4DB 0x4DB
#define FLAG_0x4DC 0x4DC
#define FLAG_0x4DD 0x4DD
#define FLAG_0x4DE 0x4DE
#define FLAG_0x4DF 0x4DF
#define FLAG_0x4E0 0x4E0
#define FLAG_0x4E1 0x4E1
#define FLAG_0x4E2 0x4E2
#define FLAG_0x4E3 0x4E3
#define FLAG_0x4E4 0x4E4
#define FLAG_0x4E5 0x4E5
#define FLAG_0x4E6 0x4E6
#define FLAG_0x4E7 0x4E7
#define FLAG_0x4E8 0x4E8
#define FLAG_0x4E9 0x4E9
#define FLAG_0x4EA 0x4EA
#define FLAG_0x4EB 0x4EB
#define FLAG_0x4EC 0x4EC
#define FLAG_0x4ED 0x4ED
#define FLAG_0x4EE 0x4EE
#define FLAG_0x4EF 0x4EF
#define FLAG_0x4F0 0x4F0
#define FLAG_0x4F1 0x4F1
#define FLAG_0x4F2 0x4F2
#define FLAG_0x4F3 0x4F3
#define FLAG_0x4F4 0x4F4
#define FLAG_0x4F5 0x4F5
#define FLAG_0x4F6 0x4F6
#define FLAG_0x4F7 0x4F7
#define FLAG_0x4F8 0x4F8
#define FLAG_0x4F9 0x4F9
#define FLAG_0x4FA 0x4FA
#define FLAG_0x4FB 0x4FB
#define FLAG_0x4FC 0x4FC
#define FLAG_0x4FD 0x4FD
#define FLAG_0x4FE 0x4FE
#define FLAG_0x4FF 0x4FF
#define FLAG_TRAINER_FLAG_START 0x500
#define TRAINERS_FLAG_NO 0x356
#define CODE_FLAGS (FLAG_TRAINER_FLAG_START + TRAINERS_FLAG_NO + 0xA) // 0x860
// SYSTEM FLAGS
// 0x860
#define FLAG_SYS_POKEMON_GET (CODE_FLAGS + 0)
#define FLAG_SYS_POKEDEX_GET (CODE_FLAGS + 1)
#define FLAG_SYS_POKENAV_GET (CODE_FLAGS + 2)
// third one appears unused
#define FLAG_SYS_GAME_CLEAR (CODE_FLAGS + 4)
#define FLAG_SYS_CHAT_USED (CODE_FLAGS + 5)
#define FLAG_SYS_HIPSTER_MEET (CODE_FLAGS + 6)
// badges
#define FLAG_BADGE01_GET (CODE_FLAGS + 7)
#define FLAG_BADGE02_GET (CODE_FLAGS + 8)
#define FLAG_BADGE03_GET (CODE_FLAGS + 9)
#define FLAG_BADGE04_GET (CODE_FLAGS + 0xA)
#define FLAG_BADGE05_GET (CODE_FLAGS + 0xB)
#define FLAG_BADGE06_GET (CODE_FLAGS + 0xC)
#define FLAG_BADGE07_GET (CODE_FLAGS + 0xD)
#define FLAG_BADGE08_GET (CODE_FLAGS + 0xE)
// cities and towns
#define FLAG_VISITED_LITTLEROOT_TOWN (CODE_FLAGS + 0xF)
#define FLAG_VISITED_OLDALE_TOWN (CODE_FLAGS + 0x10)
#define FLAG_VISITED_DEWFORD_TOWN (CODE_FLAGS + 0x11)
#define FLAG_VISITED_LAVARIDGE_TOWN (CODE_FLAGS + 0x12)
#define FLAG_VISITED_FALLARBOR_TOWN (CODE_FLAGS + 0x13)
#define FLAG_VISITED_VERDANTURF_TOWN (CODE_FLAGS + 0x14)
#define FLAG_VISITED_PACIFIDLOG_TOWN (CODE_FLAGS + 0x15)
#define FLAG_VISITED_PETALBURG_CITY (CODE_FLAGS + 0x16)
#define FLAG_VISITED_SLATEPORT_CITY (CODE_FLAGS + 0x17)
#define FLAG_VISITED_MAUVILLE_CITY (CODE_FLAGS + 0x18)
#define FLAG_VISITED_RUSTBORO_CITY (CODE_FLAGS + 0x19)
#define FLAG_VISITED_FORTREE_CITY (CODE_FLAGS + 0x1A)
#define FLAG_VISITED_LILYCOVE_CITY (CODE_FLAGS + 0x1B)
#define FLAG_VISITED_MOSSDEEP_CITY (CODE_FLAGS + 0x1C)
#define FLAG_VISITED_SOOTOPOLIS_CITY (CODE_FLAGS + 0x1D)
#define FLAG_VISITED_EVER_GRANDE_CITY (CODE_FLAGS + 0x1E)
#define FLAG_0x87F (CODE_FLAGS + 0x1F)
#define FLAG_0x880 (CODE_FLAGS + 0x20)
#define FLAG_0x881 (CODE_FLAGS + 0x21)
#define FLAG_0x882 (CODE_FLAGS + 0x22)
#define FLAG_0x883 (CODE_FLAGS + 0x23)
#define FLAG_0x884 (CODE_FLAGS + 0x24)
#define FLAG_0x885 (CODE_FLAGS + 0x25)
#define FLAG_0x886 (CODE_FLAGS + 0x26)
#define FLAG_0x887 (CODE_FLAGS + 0x27)
#define FLAG_SYS_USE_FLASH (CODE_FLAGS + 0x28)
#define FLAG_SYS_USE_STRENGTH (CODE_FLAGS + 0x29)
#define FLAG_SYS_WEATHER_CTRL (CODE_FLAGS + 0x2A)
#define FLAG_SYS_CYCLING_ROAD (CODE_FLAGS + 0x2B)
#define FLAG_SYS_SAFARI_MODE (CODE_FLAGS + 0x2C)
#define FLAG_SYS_CRUISE_MODE (CODE_FLAGS + 0x2D)
#define FLAG_0x88E (CODE_FLAGS + 0x2E)
#define FLAG_0x88F (CODE_FLAGS + 0x2F)
#define FLAG_SYS_TV_HOME (CODE_FLAGS + 0x30)
#define FLAG_SYS_TV_WATCH (CODE_FLAGS + 0x31)
#define FLAG_SYS_TV_START (CODE_FLAGS + 0x32)
#define FLAG_SYS_POPWORD_INPUT (CODE_FLAGS + 0x33)
#define FLAG_SYS_MIX_RECORD (CODE_FLAGS + 0x34)
#define FLAG_SYS_CLOCK_SET (CODE_FLAGS + 0x35)
#define FLAG_SYS_NATIONAL_DEX (CODE_FLAGS + 0x36)
#define FLAG_SYS_CAVE_SHIP (CODE_FLAGS + 0x37)
#define FLAG_SYS_CAVE_WONDER (CODE_FLAGS + 0x38)
#define FLAG_SYS_CAVE_BATTLE (CODE_FLAGS + 0x39)
#define FLAG_SYS_SHOAL_TIDE (CODE_FLAGS + 0x3A)
#define FLAG_SYS_RIBBON_GET (CODE_FLAGS + 0x3B)
#define FLAG_0x89C (CODE_FLAGS + 0x3C)
#define FLAG_0x89D (CODE_FLAGS + 0x3D)
#define FLAG_0x89E (CODE_FLAGS + 0x3E)
#define FLAG_0x89F (CODE_FLAGS + 0x3F)
#define FLAG_0x8A0 (CODE_FLAGS + 0x40)
#define FLAG_0x8A1 (CODE_FLAGS + 0x41)
#define FLAG_0x8A2 (CODE_FLAGS + 0x42)
#define FLAG_0x8A3 (CODE_FLAGS + 0x43)
#define FLAG_0x8A4 (CODE_FLAGS + 0x44)
#define FLAG_0x8A5 (CODE_FLAGS + 0x45)
#define FLAG_0x8A6 (CODE_FLAGS + 0x46)
#define FLAG_0x8A7 (CODE_FLAGS + 0x47)
#define FLAG_UNLOCK_BATTLE_FRONTIER (CODE_FLAGS + 0x48)
#define FLAG_UNLOCK_SOUTHERN_ISLAND (CODE_FLAGS + 0x49)
#define FLAG_0x8AA (CODE_FLAGS + 0x4A)
#define FLAG_SYS_PC_LANETTE (CODE_FLAGS + 0x4B)
#define FLAG_SYS_MYSTERY_EVENT_ENABLE (CODE_FLAGS + 0x4C)
#define FLAG_SYS_ENC_UP_ITEM (CODE_FLAGS + 0x4D)
#define FLAG_SYS_ENC_DOWN_ITEM (CODE_FLAGS + 0x4E)
#define FLAG_SYS_BRAILLE_DIG (CODE_FLAGS + 0x4F)
#define FLAG_SYS_BRAILLE_STRENGTH (CODE_FLAGS + 0x50)
#define FLAG_SYS_BRAILLE_WAIT (CODE_FLAGS + 0x51)
#define FLAG_SYS_BRAILLE_FLY (CODE_FLAGS + 0x52)
#define FLAG_SYS_HAS_EON_TICKET (CODE_FLAGS + 0x53)
#define FLAG_SYS_POKEMON_LEAGUE_FLY (CODE_FLAGS + 0x54)
#define FLAG_0x8B5 (CODE_FLAGS + 0x55)
#define FLAG_0x8B6 (CODE_FLAGS + 0x56)
#define FLAG_0x8B7 (CODE_FLAGS + 0x57)
#define FLAG_0x8B8 (CODE_FLAGS + 0x58)
#define FLAG_0x8B9 (CODE_FLAGS + 0x59)
#define FLAG_0x8BA (CODE_FLAGS + 0x5A)
#define FLAG_0x8BB (CODE_FLAGS + 0x5B)
#define FLAG_0x8BC (CODE_FLAGS + 0x5C)
#define FLAG_SYS_TV_LATI (CODE_FLAGS + 0x5D)
#define FLAG_0x8BE (CODE_FLAGS + 0x5E)
#define FLAG_SYS_SHOAL_ITEM (CODE_FLAGS + 0x5F)
#define FLAG_SYS_B_DASH (CODE_FLAGS + 0x60) // got Running Shoes
#define FLAG_SYS_CTRL_OBJ_DELETE (CODE_FLAGS + 0x61)
#define FLAG_SYS_RESET_RTC_ENABLE (CODE_FLAGS + 0x62)
#define FLAG_0x8C3 (CODE_FLAGS + 0x63)
#define FLAG_SYS_TOWER_SILVER (CODE_FLAGS + 0x64)
#define FLAG_SYS_TOWER_GOLD (CODE_FLAGS + 0x65)
#define FLAG_SYS_DOME_SILVER (CODE_FLAGS + 0x66)
#define FLAG_SYS_DOME_GOLD (CODE_FLAGS + 0x67)
#define FLAG_SYS_PALACE_SILVER (CODE_FLAGS + 0x68)
#define FLAG_SYS_PALACE_GOLD (CODE_FLAGS + 0x69)
#define FLAG_SYS_ARENA_SILVER (CODE_FLAGS + 0x6A)
#define FLAG_SYS_ARENA_GOLD (CODE_FLAGS + 0x6B)
#define FLAG_SYS_FACTORY_SILVER (CODE_FLAGS + 0x6C)
#define FLAG_SYS_FACTORY_GOLD (CODE_FLAGS + 0x6D)
#define FLAG_SYS_PIKE_SILVER (CODE_FLAGS + 0x6E)
#define FLAG_SYS_PIKE_GOLD (CODE_FLAGS + 0x6F)
#define FLAG_SYS_PYRAMID_SILVER (CODE_FLAGS + 0x70)
#define FLAG_SYS_PYRAMID_GOLD (CODE_FLAGS + 0x71)
#define FLAG_SYS_FRONTIER_PASS (CODE_FLAGS + 0x72)
#define FLAG_0x8D3 (CODE_FLAGS + 0x73)
#define FLAG_0x8D4 (CODE_FLAGS + 0x74)
#define FLAG_0x8D5 (CODE_FLAGS + 0x75)
#define FLAG_0x8D6 (CODE_FLAGS + 0x76)
#define FLAG_SYS_STORAGE_UNKNOWN_FLAG (CODE_FLAGS + 0x77)
#define FLAG_0x8D8 (CODE_FLAGS + 0x78)
#define FLAG_0x8D9 (CODE_FLAGS + 0x79)
#define FLAG_0x8DA (CODE_FLAGS + 0x7A)
#define FLAG_SYS_MYSTERY_GIFT_ENABLE (CODE_FLAGS + 0x7B)
#define FLAG_0x8DC (CODE_FLAGS + 0x7C)
#define FLAG_0x8DD (CODE_FLAGS + 0x7D)
#define FLAG_0x8DE (CODE_FLAGS + 0x7E)
#define FLAG_0x8DF (CODE_FLAGS + 0x7F)
#define FLAG_0x8E0 (CODE_FLAGS + 0x80)
#define FLAG_0x8E1 (CODE_FLAGS + 0x81)
#define FLAG_0x8E2 (CODE_FLAGS + 0x82)
#define FLAG_0x8E3 (CODE_FLAGS + 0x83)
#define FLAG_0x8E4 (CODE_FLAGS + 0x84)
#define FLAG_0x8E5 (CODE_FLAGS + 0x85)
#define FLAG_0x8E6 (CODE_FLAGS + 0x86)
#define FLAG_0x8E7 (CODE_FLAGS + 0x87)
#define FLAG_0x8E8 (CODE_FLAGS + 0x88)
#define FLAG_0x8E9 (CODE_FLAGS + 0x89)
#define FLAG_0x8EA (CODE_FLAGS + 0x8A)
#define FLAG_0x8EB (CODE_FLAGS + 0x8B)
#define FLAG_0x8EC (CODE_FLAGS + 0x8C)
#define FLAG_0x8ED (CODE_FLAGS + 0x8D)
#define FLAG_0x8EE (CODE_FLAGS + 0x8E)
#define FLAG_0x8EF (CODE_FLAGS + 0x8F)
#define FLAG_0x8F0 (CODE_FLAGS + 0x90)
#define FLAG_0x8F1 (CODE_FLAGS + 0x91)
#define FLAG_0x8F2 (CODE_FLAGS + 0x92)
#define FLAG_0x8F3 (CODE_FLAGS + 0x93)
#define FLAG_0x8F4 (CODE_FLAGS + 0x94)
#define FLAG_0x8F5 (CODE_FLAGS + 0x95)
#define FLAG_0x8F6 (CODE_FLAGS + 0x96)
#define FLAG_0x8F7 (CODE_FLAGS + 0x97)
#define FLAG_0x8F8 (CODE_FLAGS + 0x98)
#define FLAG_0x8F9 (CODE_FLAGS + 0x99)
#define FLAG_0x8FA (CODE_FLAGS + 0x9A)
#define FLAG_0x8FB (CODE_FLAGS + 0x9B)
#define FLAG_0x8FC (CODE_FLAGS + 0x9C)
#define FLAG_0x8FD (CODE_FLAGS + 0x9D)
#define FLAG_0x8FE (CODE_FLAGS + 0x9E)
#define FLAG_0x8FF (CODE_FLAGS + 0x9F)
#define FLAG_0x900 (CODE_FLAGS + 0xA0)
#define FLAG_0x901 (CODE_FLAGS + 0xA1)
#define FLAG_0x902 (CODE_FLAGS + 0xA2)
#define FLAG_0x903 (CODE_FLAGS + 0xA3)
#define FLAG_0x904 (CODE_FLAGS + 0xA4)
#define FLAG_0x905 (CODE_FLAGS + 0xA5)
#define FLAG_0x906 (CODE_FLAGS + 0xA6)
#define FLAG_0x907 (CODE_FLAGS + 0xA7)
#define FLAG_0x908 (CODE_FLAGS + 0xA8)
#define FLAG_0x909 (CODE_FLAGS + 0xA9)
#define FLAG_0x90A (CODE_FLAGS + 0xAA)
#define FLAG_0x90B (CODE_FLAGS + 0xAB)
#define FLAG_0x90C (CODE_FLAGS + 0xAC)
#define FLAG_0x90D (CODE_FLAGS + 0xAD)
#define FLAG_0x90E (CODE_FLAGS + 0xAE)
#define FLAG_0x90F (CODE_FLAGS + 0xAF)
#define FLAG_0x910 (CODE_FLAGS + 0xB0)
#define FLAG_0x911 (CODE_FLAGS + 0xB1)
#define FLAG_0x912 (CODE_FLAGS + 0xB2)
#define FLAG_0x913 (CODE_FLAGS + 0xB3)
#define FLAG_0x914 (CODE_FLAGS + 0xB4)
#define FLAG_0x915 (CODE_FLAGS + 0xB5)
#define FLAG_0x916 (CODE_FLAGS + 0xB6)
#define FLAG_0x917 (CODE_FLAGS + 0xB7)
#define FLAG_0x918 (CODE_FLAGS + 0xB8)
#define FLAG_0x919 (CODE_FLAGS + 0xB9)
#define FLAG_0x91A (CODE_FLAGS + 0xBA)
#define FLAG_0x91B (CODE_FLAGS + 0xBB)
#define FLAG_0x91C (CODE_FLAGS + 0xBC)
#define FLAG_0x91D (CODE_FLAGS + 0xBD)
#define FLAG_0x91E (CODE_FLAGS + 0xBE)
#define FLAG_0x91F (CODE_FLAGS + 0xBF)
#define FLAG_0x920 (CODE_FLAGS + 0xC0)
#define FLAG_0x921 (CODE_FLAGS + 0xC1)
#define FLAG_0x922 (CODE_FLAGS + 0xC2)
#define FLAG_0x923 (CODE_FLAGS + 0xC3)
#define FLAG_0x924 (CODE_FLAGS + 0xC4)
#define FLAG_0x925 (CODE_FLAGS + 0xC5)
#define FLAG_0x926 (CODE_FLAGS + 0xC6)
#define FLAG_0x927 (CODE_FLAGS + 0xC7)
#define FLAG_0x928 (CODE_FLAGS + 0xC8)
#define FLAG_0x929 (CODE_FLAGS + 0xC9)
#define FLAG_0x92A (CODE_FLAGS + 0xCA)
#define FLAG_0x92B (CODE_FLAGS + 0xCB)
#define FLAG_0x92C (CODE_FLAGS + 0xCC)
#define FLAG_0x92D (CODE_FLAGS + 0xCD)
#define FLAG_0x92E (CODE_FLAGS + 0xCE)
#define FLAG_0x92F (CODE_FLAGS + 0xCF)
#define FLAG_0x930 (CODE_FLAGS + 0xD0)
#define FLAG_0x931 (CODE_FLAGS + 0xD1)
#define FLAG_0x932 (CODE_FLAGS + 0xD2)
#define FLAG_0x933 (CODE_FLAGS + 0xD3)
#define FLAG_0x934 (CODE_FLAGS + 0xD4)
#define FLAG_0x935 (CODE_FLAGS + 0xD5)
#define FLAG_0x936 (CODE_FLAGS + 0xD6)
#define FLAG_0x937 (CODE_FLAGS + 0xD7)
#define FLAG_0x938 (CODE_FLAGS + 0xD8)
#define FLAG_0x939 (CODE_FLAGS + 0xD9)
#define FLAG_0x93A (CODE_FLAGS + 0xDA)
#define FLAG_0x93B (CODE_FLAGS + 0xDB)
#define FLAG_0x93C (CODE_FLAGS + 0xDC)
#define FLAG_0x93D (CODE_FLAGS + 0xDD)
#define FLAG_0x93E (CODE_FLAGS + 0xDE)
#define FLAG_0x93F (CODE_FLAGS + 0xDF)
#define FLAG_0x940 (CODE_FLAGS + 0xE0)
#define FLAG_0x941 (CODE_FLAGS + 0xE1)
#define FLAG_0x942 (CODE_FLAGS + 0xE2)
#define FLAG_0x943 (CODE_FLAGS + 0xE3)
#define FLAG_0x944 (CODE_FLAGS + 0xE4)
#define FLAG_0x945 (CODE_FLAGS + 0xE5)
#define FLAG_0x946 (CODE_FLAGS + 0xE6)
#define FLAG_0x947 (CODE_FLAGS + 0xE7)
#define FLAG_0x948 (CODE_FLAGS + 0xE8)
#define FLAG_0x949 (CODE_FLAGS + 0xE9)
#define FLAG_0x94A (CODE_FLAGS + 0xEA)
#define FLAG_0x94B (CODE_FLAGS + 0xEB)
#define FLAG_0x94C (CODE_FLAGS + 0xEC)
#define FLAG_0x94D (CODE_FLAGS + 0xED)
#define FLAG_0x94E (CODE_FLAGS + 0xEE)
#define FLAG_0x94F (CODE_FLAGS + 0xEF)
#define FLAG_0x950 (CODE_FLAGS + 0xF0)
#define FLAG_0x951 (CODE_FLAGS + 0xF1)
#define FLAG_0x952 (CODE_FLAGS + 0xF2)
#define FLAG_0x953 (CODE_FLAGS + 0xF3)
#define FLAG_0x954 (CODE_FLAGS + 0xF4)
#define FLAG_0x955 (CODE_FLAGS + 0xF5)
#define FLAG_0x956 (CODE_FLAGS + 0xF6)
#define FLAG_0x957 (CODE_FLAGS + 0xF7)
#define FLAG_0x958 (CODE_FLAGS + 0xF8)
#define FLAG_0x959 (CODE_FLAGS + 0xF9)
#define FLAG_0x95A (CODE_FLAGS + 0xFA)
#define FLAG_0x95B (CODE_FLAGS + 0xFB)
#define FLAG_0x95C (CODE_FLAGS + 0xFC)
#define FLAG_0x95D (CODE_FLAGS + 0xFD)
#define FLAG_0x95E (CODE_FLAGS + 0xFE)
#define FLAG_0x95F (CODE_FLAGS + 0xFF)
// SPECIAL FLAGS (unknown purpose)
#define FLAG_SPECIAL_FLAG_0x4000 0x4000
#define FLAG_SPECIAL_FLAG_0x4001 0x4001
#define FLAG_SPECIAL_FLAG_0x4002 0x4002
#define FLAG_SPECIAL_FLAG_0x4003 0x4003
#define FLAG_SPECIAL_FLAG_0x4004 0x4004
#endif // GUARD_CONSTANTS_FLAGS_H