2017-12-05 18:55:48 +01:00
# ifndef GUARD_CONSTANTS_FLAGS_H
# define GUARD_CONSTANTS_FLAGS_H
2017-09-02 21:43:53 +02:00
2019-01-02 22:12:43 +01:00
// Temporary Flags
2018-10-17 18:25:12 +02:00
// These temporary flags are are cleared every time a map is loaded. They are used
// for things like shortening an NPCs introduction text if the player already spoke
// to them once.
2019-01-02 22:12:43 +01:00
# define FLAG_TEMP_1 0x1
# define FLAG_TEMP_2 0x2
# define FLAG_TEMP_3 0x3
# define FLAG_TEMP_4 0x4
# define FLAG_TEMP_5 0x5 // Unused Flag
# define FLAG_TEMP_6 0x6 // Unused Flag
# define FLAG_TEMP_7 0x7 // Unused Flag
# define FLAG_TEMP_8 0x8 // Unused Flag
# define FLAG_TEMP_9 0x9 // Unused Flag
# define FLAG_TEMP_A 0xA // Unused Flag
# define FLAG_TEMP_B 0xB // Unused Flag
# define FLAG_TEMP_C 0xC // Unused Flag
# define FLAG_TEMP_D 0xD // Unused Flag
# define FLAG_TEMP_E 0xE // Unused Flag
# define FLAG_TEMP_F 0xF // Unused Flag
# define FLAG_TEMP_10 0x10 // Unused Flag
# define FLAG_TEMP_11 0x11
# define FLAG_TEMP_12 0x12
# define FLAG_TEMP_13 0x13
# define FLAG_TEMP_14 0x14
# define FLAG_TEMP_15 0x15
# define FLAG_TEMP_16 0x16
# define FLAG_TEMP_17 0x17
# define FLAG_TEMP_18 0x18
# define FLAG_TEMP_19 0x19
# define FLAG_TEMP_1A 0x1A
# define FLAG_TEMP_1B 0x1B
# define FLAG_TEMP_1C 0x1C
# define FLAG_TEMP_1D 0x1D
# define FLAG_TEMP_1E 0x1E
# define FLAG_TEMP_1F 0x1F
2019-01-03 19:13:16 +01:00
# define FLAG_UNUSED_0x020 0x20 // Unused Flag
2019-01-02 22:12:43 +01:00
# define FLAG_UNUSED_0x021 0x21 // Unused Flag
# define FLAG_UNUSED_0x022 0x22 // Unused Flag
# define FLAG_UNUSED_0x023 0x23 // Unused Flag
# define FLAG_UNUSED_0x024 0x24 // Unused Flag
# define FLAG_UNUSED_0x025 0x25 // Unused Flag
# define FLAG_UNUSED_0x026 0x26 // Unused Flag
# define FLAG_UNUSED_0x027 0x27 // Unused Flag
# define FLAG_UNUSED_0x028 0x28 // Unused Flag
# define FLAG_UNUSED_0x029 0x29 // Unused Flag
# define FLAG_UNUSED_0x02A 0x2A // Unused Flag
# define FLAG_UNUSED_0x02B 0x2B // Unused Flag
# define FLAG_UNUSED_0x02C 0x2C // Unused Flag
# define FLAG_UNUSED_0x02D 0x2D // Unused Flag
# define FLAG_UNUSED_0x02E 0x2E // Unused Flag
# define FLAG_UNUSED_0x02F 0x2F // Unused Flag
# define FLAG_UNUSED_0x030 0x30 // Unused Flag
# define FLAG_UNUSED_0x031 0x31 // Unused Flag
# define FLAG_UNUSED_0x032 0x32 // Unused Flag
# define FLAG_UNUSED_0x033 0x33 // Unused Flag
# define FLAG_UNUSED_0x034 0x34 // Unused Flag
# define FLAG_UNUSED_0x035 0x35 // Unused Flag
# define FLAG_UNUSED_0x036 0x36 // Unused Flag
# define FLAG_UNUSED_0x037 0x37 // Unused Flag
# define FLAG_UNUSED_0x038 0x38 // Unused Flag
# define FLAG_UNUSED_0x039 0x39 // Unused Flag
# define FLAG_UNUSED_0x03A 0x3A // Unused Flag
# define FLAG_UNUSED_0x03B 0x3B // Unused Flag
# define FLAG_UNUSED_0x03C 0x3C // Unused Flag
# define FLAG_UNUSED_0x03D 0x3D // Unused Flag
# define FLAG_UNUSED_0x03E 0x3E // Unused Flag
# define FLAG_UNUSED_0x03F 0x3F // Unused Flag
# define FLAG_UNUSED_0x040 0x40 // Unused Flag
# define FLAG_UNUSED_0x041 0x41 // Unused Flag
# define FLAG_UNUSED_0x042 0x42 // Unused Flag
# define FLAG_UNUSED_0x043 0x43 // Unused Flag
# define FLAG_UNUSED_0x044 0x44 // Unused Flag
# define FLAG_UNUSED_0x045 0x45 // Unused Flag
# define FLAG_UNUSED_0x046 0x46 // Unused Flag
# define FLAG_UNUSED_0x047 0x47 // Unused Flag
# define FLAG_UNUSED_0x048 0x48 // Unused Flag
# define FLAG_UNUSED_0x049 0x49 // Unused Flag
# define FLAG_UNUSED_0x04A 0x4A // Unused Flag
# define FLAG_UNUSED_0x04B 0x4B // Unused Flag
# define FLAG_UNUSED_0x04C 0x4C // Unused Flag
# define FLAG_UNUSED_0x04D 0x4D // Unused Flag
# define FLAG_UNUSED_0x04E 0x4E // Unused Flag
# define FLAG_UNUSED_0x04F 0x4F // Unused Flag
// Scripts
# define FLAG_RAYQUAZA_ON_SKY_TOWER_SUMMIT 0x50
# define FLAG_SET_WALL_CLOCK 0x51
# define FLAG_RESCUED_BIRCH 0x52
# define FLAG_LEGENDARIES_IN_SOOTOPOLIS 0x53
# define FLAG_UNUSED_0x054 0x54 // Unused Flag
# define FLAG_UNUSED_0x055 0x55 // Unused Flag
# define FLAG_LINK_CONTEST_POKE_BALL 0x56
# define FLAG_MET_RIVAL_MOM 0x57
# define FLAG_BIRCH_AIDE_MET 0x58
# define FLAG_DECLINED_BIKE 0x59
# define FLAG_RECEIVED_BIKE 0x5A
# define FLAG_WATTSON_REMATCH_AVAILABLE 0x5B
# define FLAG_COLLECTED_ALL_SILVER_SYMBOLS 0x5C
# define FLAG_GOOD_LUCK_SAFARI_ZONE 0x5D // Set after talking to NPC blocking Safari Zone entrance/exit once.
# define FLAG_RECEIVED_WAILMER_PAIL 0x5E
# define FLAG_RECEIVED_POKEBLOCK_CASE 0x5F
# define FLAG_RECEIVED_SECRET_POWER 0x60
# define FLAG_MET_TEAM_AQUA_HARBOR 0x61
# define FLAG_TV_EXPLAINED 0x62
# define FLAG_MAUVILLE_GYM_BARRIERS_STATE 0x63
# define FLAG_MOSSDEEP_GYM_SWITCH_1 0x64
# define FLAG_MOSSDEEP_GYM_SWITCH_2 0x65
# define FLAG_MOSSDEEP_GYM_SWITCH_3 0x66
# define FLAG_MOSSDEEP_GYM_SWITCH_4 0x67
# define FLAG_UNUSED_0x068 0x68 // Unused Flag
# define FLAG_OCEANIC_MUSEUM_MET_REPORTER 0x69
# define FLAG_RECEIVED_HM04 0x6A
# define FLAG_RECEIVED_HM06 0x6B
# define FLAG_FLANNERY_GIVES_BADGE_INFO 0x6C
# define FLAG_RECEIVED_HM05 0x6D
# define FLAG_RECEIVED_HM02 0x6E
# define FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT 0x6F
# define FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE 0x70
# define FLAG_UNUSED_RS_LEGENDARY_BATTLE_DONE 0x71 // Unused Flag. Used in R/S to indicate whether player defeated or caught Groudon/Kyogre in Cave of Origin.
# define FLAG_SCOTT_CALL_NATIONAL_DEX 0x72 // Used in order to activate a phone call from Scott, inviting the player to the SS Tidal.
# define FLAG_RECEIVED_METEORITE 0x73
2019-01-03 02:54:55 +01:00
# define FLAG_ADVENTURE_STARTED 0x74 // RECEIVED Pokédex.
2019-01-02 22:12:43 +01:00
# define FLAG_DEFEATED_MAGMA_SPACE_CENTER 0x75 // Set when Team Magma is defeated at Mossdeep's Space Center.
# define FLAG_MET_HIDDEN_POWER_GIVER 0x76
# define FLAG_CANCEL_BATTLE_ROOM_CHALLENGE 0x77
# define FLAG_LANDMARK_MIRAGE_TOWER 0x78
# define FLAG_RECEIVED_TM31 0x79
# define FLAG_RECEIVED_HM03 0x7A
# define FLAG_RECEIVED_HM08 0x7B
# define FLAG_REGISTER_RIVAL_POKENAV 0x7C
# define FLAG_DEFEATED_RIVAL_ROUTE_104 0x7D
# define FLAG_DEFEATED_WALLY_VICTORY_ROAD 0x7E
# define FLAG_MET_PRETTY_PETAL_SHOP_OWNER 0x7F
# define FLAG_ENABLE_ROXANNE_FIRST_CALL 0x80 // Set after defeating Brawly. This will activate a call with Roxanne in order to register her.
# define FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN 0x81
# define FLAG_DEFEATED_RIVAL_ROUTE103 0x82
# define FLAG_RECEIVED_DOLL_LANETTE 0x83
# define FLAG_RECEIVED_POTION_OLDALE 0x84
# define FLAG_MOM_SAYS_GOODBYE 0x85
# define FLAG_PENDING_DAYCARE_EGG 0x86
# define FLAG_THANKED_FOR_PLAYING_WITH_WALLY 0x87
# define FLAG_ENABLE_FIRST_WALLY_POKENAV_CALL 0x88 // Set after defeating Wally outside Mauville Gym. Will activate a call later to register Wally.
# define FLAG_RECEIVED_HM01 0x89
# define FLAG_REGISTER_WINONA_POKENAV 0x8A // Set after obtaining registering Winona, and cleared after Scott's call.
# define FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY 0x8B
# define FLAG_RECEIVED_6_SODA_POP 0x8C
# define FLAG_DEFEATED_SEASHORE_HOUSE 0x8D
# define FLAG_DEVON_GOODS_STOLEN 0x8E
# define FLAG_RECOVERED_DEVON_GOODS 0x8F
# define FLAG_RETURNED_DEVON_GOODS 0x90
# define FLAG_CAUGHT_LUGIA 0x91
# define FLAG_CAUGHT_HO_OH 0x92
# define FLAG_MR_BRINEY_SAILING_INTRO 0x93
# define FLAG_DOCK_REJECTED_DEVON_GOODS 0x94
# define FLAG_DELIVERED_DEVON_GOODS 0x95
# define FLAG_UNUSED_0x096 0x96 // Unused Flag
# define FLAG_RECEIVED_CASTFORM 0x97
# define FLAG_RECEIVED_SUPER_ROD 0x98
# define FLAG_RUSTBORO_NPC_TRADE_COMPLETED 0x99
# define FLAG_PACIFIDLOG_NPC_TRADE_COMPLETED 0x9A
# define FLAG_FORTREE_NPC_TRADE_COMPLETED 0x9B
# define FLAG_BATTLE_FRONTIER_TRADE_DONE 0x9C
# define FLAG_FORCE_MIRAGE_TOWER_VISIBLE 0x9D
# define FLAG_SOOTOPOLIS_ARCHIE_MAXIE_LEAVE 0x9E
# define FLAG_INTERACTED_WITH_DEVON_EMPLOYEE_GOODS_STOLEN 0x9F
# define FLAG_COOL_PAINTING_MADE 0xA0
# define FLAG_BEAUTY_PAINTING_MADE 0xA1
# define FLAG_CUTE_PAINTING_MADE 0xA2
# define FLAG_SMART_PAINTING_MADE 0xA3
# define FLAG_TOUGH_PAINTING_MADE 0xA4
# define FLAG_RECEIVED_TM39 0xA5
# define FLAG_RECEIVED_TM08 0xA6
# define FLAG_RECEIVED_TM34 0xA7
# define FLAG_RECEIVED_TM50 0xA8
# define FLAG_RECEIVED_TM42 0xA9
# define FLAG_RECEIVED_TM40 0xAA
# define FLAG_RECEIVED_TM04 0xAB
# define FLAG_RECEIVED_TM03 0xAC
# define FLAG_DECORATION_0 0xAD
# define FLAG_DECORATION_1 0xAE
# define FLAG_DECORATION_2 0xAF
# define FLAG_DECORATION_3 0xB0
# define FLAG_DECORATION_4 0xB1
# define FLAG_DECORATION_5 0xB2
# define FLAG_DECORATION_6 0xB3
# define FLAG_DECORATION_7 0xB4
# define FLAG_DECORATION_8 0xB5
# define FLAG_DECORATION_9 0xB6
# define FLAG_DECORATION_10 0xB7
# define FLAG_DECORATION_11 0xB8
# define FLAG_DECORATION_12 0xB9
# define FLAG_DECORATION_13 0xBA
# define FLAG_DECORATION_14 0xBB
# define FLAG_RECEIVED_POKENAV 0xBC
# define FLAG_DELIVERED_STEVEN_LETTER 0xBD
# define FLAG_DEFEATED_WALLY_MAUVILLE 0xBE
# define FLAG_DEFEATED_GRUNT_SPACE_CENTER_1F 0xBF
# define FLAG_RECEIVED_SUN_STONE_MOSSDEEP 0xC0
# define FLAG_WALLY_SPEECH 0xC1
# define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_1 0xC2
# define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_2 0xC3
# define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_3 0xC4
# define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_4 0xC5
# define FLAG_TRICK_HOUSE_PUZZLE_7_SWITCH_5 0xC6
# define FLAG_RUSTURF_TUNNEL_OPENED 0xC7
# define FLAG_RECEIVED_RED_SCARF 0xC8
# define FLAG_RECEIVED_BLUE_SCARF 0xC9
# define FLAG_RECEIVED_PINK_SCARF 0xCA
# define FLAG_RECEIVED_GREEN_SCARF 0xCB
# define FLAG_RECEIVED_YELLOW_SCARF 0xCC
# define FLAG_INTERACTED_WITH_STEVEN_SPACE_CENTER 0xCD
# define FLAG_ENCOUNTERED_LATIAS_OR_LATIOS 0xCE
# define FLAG_MET_ARCHIE_METEOR_FALLS 0xCF
# define FLAG_GOT_BASEMENT_KEY_FROM_WATTSON 0xD0
# define FLAG_GOT_TM24_FROM_WATTSON 0xD1
# define FLAG_FAN_CLUB_STRENGTH_SHARED 0xD2 // Set when you rate the strength of another trainer in Lilycove's Trainer Fan Club.
# define FLAG_DEFEATED_RIVAL_RUSTBORO 0xD3
# define FLAG_RECEIVED_RED_OR_BLUE_ORB 0xD4
# define FLAG_RECEIVED_PREMIER_BALL_RUSTBORO 0xD5
# define FLAG_ENABLE_WALLY_MATCH_CALL 0xD6
# define FLAG_ENABLE_SCOTT_MATCH_CALL 0xD7
# define FLAG_ENABLE_MOM_MATCH_CALL 0xD8
# define FLAG_MET_DIVING_TREASURE_HUNTER 0xD9
# define FLAG_MET_WAILMER_TRAINER 0xDA
# define FLAG_EVIL_LEADER_PLEASE_STOP 0xDB
2019-02-27 09:42:04 +01:00
# define FLAG_NEVER_SET_0x0DC 0xDC // This flag is read, but never written to
2019-01-02 22:12:43 +01:00
# define FLAG_RECEIVED_GO_GOGGLES 0xDD
# define FLAG_WINGULL_SENT_ON_ERRAND 0xDE
# define FLAG_RECEIVED_MENTAL_HERB 0xDF
# define FLAG_WINGULL_DELIVERED_MAIL 0xE0
# define FLAG_RECEIVED_20_COINS 0xE1
# define FLAG_RECEIVED_STARTER_DOLL 0xE2
# define FLAG_RECEIVED_GOOD_ROD 0xE3
# define FLAG_REGI_DOORS_OPENED 0xE4
# define FLAG_RECEIVED_TM27 0xE5
# define FLAG_RECEIVED_TM36 0xE6
# define FLAG_RECEIVED_TM05 0xE7
# define FLAG_RECEIVED_TM19 0xE8
# define FLAG_UNUSED_0x0E9 0xE9 // Unused Flag
# define FLAG_RECEIVED_TM44 0xEA
# define FLAG_RECEIVED_TM45 0xEB
# define FLAG_RECEIVED_GLASS_ORNAMENT 0xEC
# define FLAG_RECEIVED_SILVER_SHIELD 0xED
# define FLAG_RECEIVED_GOLD_SHIELD 0xEE
# define FLAG_USED_STORAGE_KEY 0xEF
# define FLAG_USED_ROOM_1_KEY 0xF0
# define FLAG_USED_ROOM_2_KEY 0xF1
# define FLAG_USED_ROOM_4_KEY 0xF2
# define FLAG_USED_ROOM_6_KEY 0xF3
# define FLAG_MET_PROF_COSMO 0xF4
# define FLAG_RECEIVED_WAILMER_DOLL 0xF5
# define FLAG_RECEIVED_CHESTO_BERRY_ROUTE_104 0xF6
# define FLAG_DEFEATED_SS_TIDAL_TRAINERS 0xF7
# define FLAG_RECEIVED_SPELON_BERRY 0xF8
# define FLAG_RECEIVED_PAMTRE_BERRY 0xF9
# define FLAG_RECEIVED_WATMEL_BERRY 0xFA
# define FLAG_RECEIVED_DURIN_BERRY 0xFB
# define FLAG_RECEIVED_BELUE_BERRY 0xFC
# define FLAG_ENABLE_RIVAL_MATCH_CALL 0xFD
# define FLFLAG_RECEIVED_CHARCOAL 0xFE
# define FLAG_LATIOS_OR_LATIAS_ROAMING 0xFF
# define FLAG_RECEIVED_REPEAT_BALL 0x100
# define FLAG_RECEIVED_OLD_ROD 0x101
# define FLAG_RECEIVED_COIN_CASE 0x102
# define FLAG_RETURNED_RED_OR_BLUE_ORB 0x103
# define FLAG_RECEIVED_TM49 0x104
# define FLAG_RECEIVED_TM28 0x105
# define FLAG_RECEIVED_TM09 0x106
# define FLAG_ENTERED_ELITE_FOUR 0x107
# define FLAG_RECEIVED_TM10 0x108
# define FLAG_RECEIVED_TM41 0x109
# define FLAG_RECEIVED_LAVARIDGE_EGG 0x10A
# define FLAG_RECEIVED_REVIVED_FOSSIL_MON 0x10B
2019-04-05 23:11:24 +02:00
# define FLAG_SECRET_BASE_REGISTRY_ENABLED 0x10C
2019-01-02 22:12:43 +01:00
# define FLAG_RECEIVED_TM46 0x10D
# define FLAG_CONTEST_SKETCH_CREATED 0x10E
# define FLAG_EVIL_TEAM_ESCAPED_STERN_SPOKE 0x10F
# define FLAG_RECEIVED_EXP_SHARE 0x110
# define FLAG_POKERUS_EXPLAINED 0x111
# define FLAG_RECEIVED_RUNNING_SHOES 0x112
# define FLAG_RECEIVED_QUICK_CLAW 0x113
# define FLAG_RECEIVED_KINGS_ROCK 0x114
# define FLAG_RECEIVED_MACHO_BRACE 0x115
# define FLAG_RECEIVED_SOOTHE_BELL 0x116
# define FLAG_RECEIVED_WHITE_HERB 0x117
# define FLAG_RECEIVED_SOFT_SAND 0x118
# define FLAG_ENABLE_PROF_BIRCH_MATCH_CALL 0x119
# define FLAG_RECEIVED_CLEANSE_TAG 0x11A
# define FLAG_RECEIVED_FOCUS_BAND 0x11B
# define FLAG_DECLINED_WALLY_BATTLE_MAUVILLE 0x11C
# define FLAG_RECEIVED_DEVON_SCOPE 0x11D
# define FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE 0x11E
# define FLAG_MET_DEVON_EMPLOYEE 0x11F
# define FLAG_MET_RIVAL_RUSTBORO 0x120
# define FLAG_RECEIVED_SILK_SCARF 0x121
# define FLAG_NOT_READY_FOR_BATTLE_ROUTE_120 0x122
# define FLAG_RECEIVED_SS_TICKET 0x123
# define FLAG_MET_RIVAL_LILYCOVE 0x124
# define FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE 0x125
# define FLAG_EXCHANGED_SCANNER 0x126
# define FLAG_KECLEON_FLED_FORTREE 0x127
# define FLAG_PETALBURG_MART_EXPANDED_ITEMS 0x128
# define FLAG_RECEIVED_MIRACLE_SEED 0x129
# define FLAG_RECEIVED_BELDUM 0x12A
# define FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK 0x12B
# define FLAG_MET_FANCLUB_YOUNGER_BROTHER 0x12C
# define FLAG_RIVAL_LEFT_FOR_ROUTE103 0x12D
# define FLAG_OMIT_DIVE_FROM_STEVEN_LETTER 0x12E
# define FLAG_HAS_MATCH_CALL 0x12F
# define FLAG_ADDED_MATCH_CALL_TO_POKENAV 0x130
# define FLAG_REGISTERED_STEVEN_POKENAV 0x131
# define FLAG_ENABLE_NORMAN_MATCH_CALL 0x132
# define FLAG_STEVEN_GUIDES_TO_CAVE_OF_ORIGIN 0x133 // Set after you follow Steven to the entrance of the Cave of Origin.
# define FLAG_MET_ARCHIE_SOOTOPOLIS 0x134
# define FLAG_MET_MAXIE_SOOTOPOLIS 0x135
# define FLAG_MET_SCOTT_RUSTBORO 0x136
# define FLAG_WALLACE_GOES_TO_SKY_PILLAR 0x137 // Set after speaking to Wallace within the Cave of Origin.
# define FLAG_RECEIVED_HM07 0x138
# define FLAG_BEAT_MAGMA_GRUNT_JAGGED_PASS 0x139 // Beat Magma Grunt blocking Magma Hideout entrance.
2019-01-03 02:54:55 +01:00
# define FLAG_RECEIVED_AURORA_TICKET 0x13A // RECEIVED Aurora Ticket in Mystery Gift
# define FLAG_RECEIVED_MYSTIC_TICKET 0x13B // RECEIVED Mystic Ticket in Mystery Gift
# define FLAG_RECEIVED_OLD_SEA_MAP 0x13C // RECEIVED Old Sea Map in Mystery Gift
2019-03-24 23:20:35 +01:00
# define FLAG_UNUSED_MYSTERY_GIFT_0x13D 0x13D
# define FLAG_UNUSED_MYSTERY_GIFT_0x13E 0x13E
# define FLAG_UNUSED_MYSTERY_GIFT_0x13F 0x13F
# define FLAG_UNUSED_MYSTERY_GIFT_0x140 0x140
# define FLAG_UNUSED_MYSTERY_GIFT_0x141 0x141
# define FLAG_UNUSED_MYSTERY_GIFT_0x142 0x142
# define FLAG_UNUSED_MYSTERY_GIFT_0x143 0x143
# define FLAG_UNUSED_MYSTERY_GIFT_0x144 0x144
# define FLAG_UNUSED_MYSTERY_GIFT_0x145 0x145
# define FLAG_UNUSED_MYSTERY_GIFT_0x146 0x146
# define FLAG_UNUSED_MYSTERY_GIFT_0x147 0x147
# define FLAG_UNUSED_MYSTERY_GIFT_0x148 0x148
# define FLAG_UNUSED_MYSTERY_GIFT_0x149 0x149
# define FLAG_UNUSED_MYSTERY_GIFT_0x14A 0x14A
# define FLAG_UNUSED_MYSTERY_GIFT_0x14B 0x14B
# define FLAG_UNUSED_MYSTERY_GIFT_0x14C 0x14C
# define FLAG_UNUSED_MYSTERY_GIFT_0x14D 0x14D
2019-01-02 22:12:43 +01:00
# define FLAG_MIRAGE_TOWER_VISIBLE 0x14E
# define FLAG_CHOSE_CLAW_FOSSIL 0x14F // Player chose Claw Fossil
# define FLAG_CHOSE_ROOT_FOSSIL 0x150 // Player chose Root Fossil
2019-01-03 02:54:55 +01:00
# define FLAG_RECEIVED_POWDER_JAR 0x151
2019-01-02 22:12:43 +01:00
# define FLAG_CHOSEN_MULTI_BATTLE_NPC_PARTNER 0x152
# define FLAG_MET_BATTLE_FRONTIER_BREEDER 0x153
# define FLAG_MET_BATTLE_FRONTIER_MANIAC 0x154
# define FLAG_ENTERED_LINK_CONTEST 0x155
# define FLAG_MET_SLATEPORT_FANCLUB_CHAIRMAN 0x156
# define FLAG_MET_BATTLE_FRONTIER_BETTOR 0x157
# define FLAG_ENABLE_MR_STONE_POKENAV 0x158
# define FLAG_OLDALE_NURSE_MENTIONS_GOLD_CARD 0x159
# define FLAG_MET_FRONTIER_BEAUTY_MOVE_TUTOR 0x15A
# define FLAG_MET_FRONTIER_SWIMMER_MOVE_TUTOR 0x15B
// Trainer Rematch Flags
# define FLAG_MATCH_CALL_REGISTERED 0x15C
# define FLAG_REMATCH_ROSE 0x15D
# define FLAG_REMATCH_ANDRES 0x15E
# define FLAG_REMATCH_DUSTY 0x15F
# define FLAG_REMATCH_LOLA 0x160
# define FLAG_REMATCH_RICKY 0x161
# define FLAG_REMATCH_LILA_AND_ROY 0x162
# define FLAG_REMATCH_CRISTIN 0x163
# define FLAG_REMATCH_BROOKE 0x164
# define FLAG_REMATCH_WILTON 0x165
# define FLAG_REMATCH_VALERIE 0x166
# define FLAG_REMATCH_CINDY 0x167
# define FLAG_REMATCH_THALIA 0x168
# define FLAG_REMATCH_JESSICA 0x169
# define FLAG_REMATCH_WINSTON 0x16A
# define FLAG_REMATCH_STEVE 0x16B
# define FLAG_REMATCH_TONY 0x16C
# define FLAG_REMATCH_NOB 0x16D
# define FLAG_REMATCH_KOJI 0x16E
# define FLAG_REMATCH_FERNANDO 0x16F
# define FLAG_REMATCH_DALTON 0x170
# define FLAG_REMATCH_BERNIE 0x171
# define FLAG_REMATCH_ETHAN 0x172
# define FLAG_REMATCH_JOHN_AND_JAY 0x173
# define FLAG_REMATCH_JEFFREY 0x174
# define FLAG_REMATCH_CAMERON 0x175
# define FLAG_REMATCH_JACKI 0x176
# define FLAG_REMATCH_WALTER 0x177
# define FLAG_REMATCH_KAREN 0x178
# define FLAG_REMATCH_JERRY 0x179
# define FLAG_REMATCH_ANNA_AND_MEG 0x17A
# define FLAG_REMATCH_ISABEL 0x17B
# define FLAG_REMATCH_MIGUEL 0x17C
# define FLAG_REMATCH_TIMOTHY 0x17D
# define FLAG_REMATCH_SHELBY 0x17E
# define FLAG_REMATCH_CALVIN 0x17F
# define FLAG_REMATCH_ELLIOT 0x180
# define FLAG_REMATCH_ISAIAH 0x181
# define FLAG_REMATCH_MARIA 0x182
# define FLAG_REMATCH_ABIGAIL 0x183
# define FLAG_REMATCH_DYLAN 0x184
# define FLAG_REMATCH_KATELYN 0x185
# define FLAG_REMATCH_BENJAMIN 0x186
# define FLAG_REMATCH_PABLO 0x187
# define FLAG_REMATCH_NICOLAS 0x188
# define FLAG_REMATCH_ROBERT 0x189
# define FLAG_REMATCH_LAO 0x18A
# define FLAG_REMATCH_CYNDY 0x18B
# define FLAG_REMATCH_MADELINE 0x18C
# define FLAG_REMATCH_JENNY 0x18D
# define FLAG_REMATCH_DIANA 0x18E
# define FLAG_REMATCH_AMY_AND_LIV 0x18F
# define FLAG_REMATCH_ERNEST 0x190
# define FLAG_REMATCH_CORY 0x191
# define FLAG_REMATCH_EDWIN 0x192
# define FLAG_REMATCH_LYDIA 0x193
# define FLAG_REMATCH_ISAAC 0x194
# define FLAG_REMATCH_GABRIELLE 0x195
# define FLAG_REMATCH_CATHERINE 0x196
# define FLAG_REMATCH_JACKSON 0x197
# define FLAG_REMATCH_HALEY 0x198
# define FLAG_REMATCH_JAMES 0x199
# define FLAG_REMATCH_TRENT 0x19A
# define FLAG_REMATCH_SAWYER 0x19B
# define FLAG_REMATCH_KIRA_AND_DAN 0x19C
# define FLAG_REMATCH_WALLY 0x19D
# define FLAG_REMATCH_ROXANNE 0x19E
# define FLAG_REMATCH_BRAWLY 0x19F
# define FLAG_REMATCH_WATTSON 0x1A0
# define FLAG_REMATCH_FLANNERY 0x1A1
# define FLAG_REMATCH_NORMAN 0x1A2
# define FLAG_REMATCH_WINONA 0x1A3
# define FLAG_REMATCH_TATE_AND_LIZA 0x1A4
2019-04-02 09:22:07 +02:00
// Note: FLAG_REMATCH_JUAN is handled by FLAG_ENABLE_JUAN_MATCH_CALL instead.
# define FLAG_REMATCH_SIDNEY 0x1A5
# define FLAG_REMATCH_PHOEBE 0x1A6
# define FLAG_REMATCH_GLACIA 0x1A7
# define FLAG_REMATCH_DRAKE 0x1A8
# define FLAG_REMATCH_WALLACE 0x1A9
2019-01-02 22:12:43 +01:00
2019-04-02 09:22:07 +02:00
# define FLAG_UNUSED_0x1AA 0x1AA // Unused Flag
2019-01-02 22:12:43 +01:00
# define FLAG_UNUSED_0x1AB 0x1AB // Unused Flag
# define FLAG_DEFEATED_DEOXYS 0x1AC
# define FLAG_BATTLED_DEOXYS 0x1AD
# define FLAG_HAS_EON_TICKET 0x1AE
# define FLAG_HAS_AURORA_TICKET 0x1AF
# define FLAG_HAS_OLD_SEA_MAP 0x1B0
# define FLAG_MOVE_TUTOR_TAUGHT_SWAGGER 0x1B1
# define FLAG_MOVE_TUTOR_TAUGHT_ROLLOUT 0x1B2
# define FLAG_MOVE_TUTOR_TAUGHT_FURY_CUTTER 0x1B3
# define FLAG_MOVE_TUTOR_TAUGHT_MIMIC 0x1B4
# define FLAG_MOVE_TUTOR_TAUGHT_METRONOME 0x1B5
# define FLAG_MOVE_TUTOR_TAUGHT_SLEEP_TALK 0x1B6
# define FLAG_MOVE_TUTOR_TAUGHT_SUBSTITUTE 0x1B7
# define FLAG_MOVE_TUTOR_TAUGHT_DYNAMICPUNCH 0x1B8
# define FLAG_MOVE_TUTOR_TAUGHT_DOUBLE_EDGE 0x1B9
# define FLAG_MOVE_TUTOR_TAUGHT_EXPLOSION 0x1BA
# define FLAG_DEFEATED_REGIROCK 0x1BB
# define FLAG_DEFEATED_REGICE 0x1BC
# define FLAG_DEFEATED_REGISTEEL 0x1BD
# define FLAG_DEFEATED_KYOGRE 0x1BE
# define FLAG_DEFEATED_GROUDON 0x1BF
# define FLAG_DEFEATED_RAYQUAZA 0x1C0
# define FLAG_DEFEATED_VOLTORB_1_NEW_MAUVILLE 0x1C1
# define FLAG_DEFEATED_VOLTORB_2_NEW_MAUVILLE 0x1C2
# define FLAG_DEFEATED_VOLTORB_3_NEW_MAUVILLE 0x1C3
# define FLAG_DEFEATED_ELECTRODE_1_AQUA_HIDEOUT 0x1C4
# define FLAG_DEFEATED_ELECTRODE_2_AQUA_HIDEOUT 0x1C5
# define FLAG_DEFEATED_SUDOWOODO 0x1C6
# define FLAG_DEFEATED_MEW 0x1C7
# define FLAG_DEFEATED_LATIAS_OR_LATIOS 0x1C8
# define FLAG_CAUGHT_LATIAS_OR_LATIOS 0x1C9
# define FLAG_CAUGHT_MEW 0x1CA
# define FLAG_MET_SCOTT_AFTER_OBTAINING_STONE_BADGE 0x1CB
# define FLAG_MET_SCOTT_IN_VERDANTURF 0x1CC
# define FLAG_MET_SCOTT_IN_FALLARBOR 0x1CD
# define FLAG_MET_SCOTT_IN_LILYCOVE 0x1CE
# define FLAG_MET_SCOTT_IN_EVERGRANDE 0x1CF
# define FLAG_MET_SCOTT_ON_SS_TIDAL 0x1D0
# define FLAG_SCOTT_GIVES_BATTLE_POINTS 0x1D1
2019-01-03 02:54:55 +01:00
# define FLAG_RECEIVED_STARF_BERRY_FROM_SCOTT 0x1D2
2019-01-02 22:12:43 +01:00
# define FLAG_ENABLE_ROXANNE_MATCH_CALL 0x1D3
# define FLAG_ENABLE_BRAWLY_MATCH_CALL 0x1D4
# define FLAG_ENABLE_WATTSON_MATCH_CALL 0x1D5
# define FLAG_ENABLE_FLANNERY_MATCH_CALL 0x1D6
# define FLAG_ENABLE_WINONA_MATCH_CALL 0x1D7
# define FLAG_ENABLE_TATE_AND_LIZA_MATCH_CALL 0x1D8
# define FLAG_ENABLE_JUAN_MATCH_CALL 0x1D9
# define FLAG_UNUSED_0x1DA 0x1DA // Unused Flag
# define FLAG_HAS_MYSTIC_TICKET 0x1DB
# define FLAG_DEFEATED_HO_OH 0x1DC
# define FLAG_DEFEATED_LUGIA 0x1DD
# define FLAG_UNUSED_0x1DE 0x1DE // Unused Flag
# define FLAG_UNUSED_0x1DF 0x1DF // Unused Flag
# define FLAG_UNUSED_0x1E0 0x1E0 // Unused Flag
# define FLAG_UNUSED_0x1E1 0x1E1 // Unused Flag
# define FLAG_UNUSED_0x1E2 0x1E2 // Unused Flag
# define FLAG_UNUSED_0x1E3 0x1E3 // Unused Flag
// Mystery Gift Flags (Unknown)
# define FLAG_MYSTERY_EVENT_DONE 0x1E4
# define FLAG_MYSTERY_EVENT_1 0x1E5
# define FLAG_MYSTERY_EVENT_2 0x1E6
# define FLAG_MYSTERY_EVENT_3 0x1E7
# define FLAG_MYSTERY_EVENT_4 0x1E8
# define FLAG_MYSTERY_EVENT_5 0x1E9
# define FLAG_MYSTERY_EVENT_6 0x1EA
# define FLAG_MYSTERY_EVENT_7 0x1EB
# define FLAG_MYSTERY_EVENT_8 0x1EC
# define FLAG_MYSTERY_EVENT_9 0x1ED
# define FLAG_MYSTERY_EVENT_10 0x1EE
# define FLAG_MYSTERY_EVENT_11 0x1EF
# define FLAG_MYSTERY_EVENT_12 0x1F0
# define FLAG_MYSTERY_EVENT_13 0x1F1
# define FLAG_MYSTERY_EVENT_14 0x1F2
# define FLAG_MYSTERY_EVENT_15 0x1F3
# define FLAG_TRICK_HOUSE_END_ROOM 0x1F5 // Trick House End Room Flag
2018-10-18 04:07:23 +02:00
2018-10-19 20:59:18 +02:00
// Hidden Items -- sorted by location
2019-01-02 22:12:43 +01:00
# define FLAG_HIDDEN_ITEMS_START 0x1F4
# define FLAG_HIDDEN_ITEM_TRICK_HOUSE_NUGGET (FLAG_HIDDEN_ITEMS_START + 0x01)
# define FLAG_HIDDEN_ITEM_UNDERWATER_1_CARBOS (FLAG_HIDDEN_ITEMS_START + 0x08)
# define FLAG_HIDDEN_ITEM_UNDERWATER_1_GREEN_SHARD (FLAG_HIDDEN_ITEMS_START + 0x09)
# define FLAG_HIDDEN_ITEM_UNDERWATER_1_PEARL (FLAG_HIDDEN_ITEMS_START + 0x0A)
# define FLAG_HIDDEN_ITEM_UNDERWATER_1_BIG_PEARL (FLAG_HIDDEN_ITEMS_START + 0x0B)
# define FLAG_HIDDEN_ITEM_UNDERWATER_1_HEART_SCALE_1 (FLAG_HIDDEN_ITEMS_START + 0x0D)
# define FLAG_HIDDEN_ITEM_UNDERWATER_1_CALCIUM (FLAG_HIDDEN_ITEMS_START + 0x24)
# define FLAG_HIDDEN_ITEM_UNDERWATER_1_HEART_SCALE_2 (FLAG_HIDDEN_ITEMS_START + 0x26)
# define FLAG_HIDDEN_ITEM_UNDERWATER_2_HEART_SCALE (FLAG_HIDDEN_ITEMS_START + 0x0E)
# define FLAG_HIDDEN_ITEM_UNDERWATER_2_ULTRA_BALL (FLAG_HIDDEN_ITEMS_START + 0x0F)
# define FLAG_HIDDEN_ITEM_UNDERWATER_2_STARDUST (FLAG_HIDDEN_ITEMS_START + 0x10)
# define FLAG_HIDDEN_ITEM_UNDERWATER_2_PEARL (FLAG_HIDDEN_ITEMS_START + 0x11)
# define FLAG_HIDDEN_ITEM_UNDERWATER_2_IRON (FLAG_HIDDEN_ITEMS_START + 0x13)
# define FLAG_HIDDEN_ITEM_UNDERWATER_2_YELLOW_SHARD (FLAG_HIDDEN_ITEMS_START + 0x12)
# define FLAG_HIDDEN_ITEM_UNDERWATER_2_BIG_PEARL (FLAG_HIDDEN_ITEMS_START + 0x14)
# define FLAG_HIDDEN_ITEM_UNDERWATER_2_BLUE_SHARD (FLAG_HIDDEN_ITEMS_START + 0x0C)
# define FLAG_HIDDEN_ITEM_UNDERWATER_3_STAR_PIECE (FLAG_HIDDEN_ITEMS_START + 0x15)
# define FLAG_HIDDEN_ITEM_UNDERWATER_3_HP_UP (FLAG_HIDDEN_ITEMS_START + 0x16)
# define FLAG_HIDDEN_ITEM_UNDERWATER_3_HEART_SCALE (FLAG_HIDDEN_ITEMS_START + 0x17)
# define FLAG_HIDDEN_ITEM_UNDERWATER_3_RED_SHARD (FLAG_HIDDEN_ITEMS_START + 0x18)
# define FLAG_HIDDEN_ITEM_UNDERWATER_4_PROTEIN (FLAG_HIDDEN_ITEMS_START + 0x19)
# define FLAG_HIDDEN_ITEM_UNDERWATER_4_PEARL (FLAG_HIDDEN_ITEMS_START + 0x1A)
# define FLAG_HIDDEN_ITEM_FALLARBOR_TOWN_NUGGET (FLAG_HIDDEN_ITEMS_START + 0x1C)
# define FLAG_HIDDEN_ITEM_LAVARIDGE_TOWN_ICE_HEAL (FLAG_HIDDEN_ITEMS_START + 0x00)
# define FLAG_HIDDEN_ITEM_ABANDONED_SHIP_RM_1_KEY (FLAG_HIDDEN_ITEMS_START + 0x1F)
# define FLAG_HIDDEN_ITEM_ABANDONED_SHIP_RM_2_KEY (FLAG_HIDDEN_ITEMS_START + 0x20)
# define FLAG_HIDDEN_ITEM_ABANDONED_SHIP_RM_4_KEY (FLAG_HIDDEN_ITEMS_START + 0x21)
# define FLAG_HIDDEN_ITEM_ABANDONED_SHIP_RM_6_KEY (FLAG_HIDDEN_ITEMS_START + 0x22)
# define FLAG_HIDDEN_ITEM_ARTISAN_CAVE_B1F_CALCIUM (FLAG_HIDDEN_ITEMS_START + 0x65)
# define FLAG_HIDDEN_ITEM_ARTISAN_CAVE_B1F_ZINC (FLAG_HIDDEN_ITEMS_START + 0x66)
# define FLAG_HIDDEN_ITEM_ARTISAN_CAVE_B1F_PROTEIN (FLAG_HIDDEN_ITEMS_START + 0x67)
# define FLAG_HIDDEN_ITEM_ARTISAN_CAVE_B1F_IRON (FLAG_HIDDEN_ITEMS_START + 0x68)
# define FLAG_HIDDEN_ITEM_GRANITE_CAVE_B2F_EVERSTONE_1 (FLAG_HIDDEN_ITEMS_START + 0x30)
# define FLAG_HIDDEN_ITEM_GRANITE_CAVE_B2F_EVERSTONE_2 (FLAG_HIDDEN_ITEMS_START + 0x31)
# define FLAG_HIDDEN_ITEM_JAGGED_PASS_GREAT_BALL (FLAG_HIDDEN_ITEMS_START + 0x4C)
# define FLAG_HIDDEN_ITEM_JAGGED_PASS_FULL_HEAL (FLAG_HIDDEN_ITEMS_START + 0x4D)
# define FLAG_HIDDEN_ITEM_LILYCOVE_CITY_HEART_SCALE (FLAG_HIDDEN_ITEMS_START + 0x1B)
# define FLAG_HIDDEN_ITEM_LILYCOVE_CITY_PP_UP (FLAG_HIDDEN_ITEMS_START + 0x2B)
# define FLAG_HIDDEN_ITEM_LILYCOVE_CITY_POKE_BALL (FLAG_HIDDEN_ITEMS_START + 0x4B)
# define FLAG_HIDDEN_ITEM_MT_PYRE_EXTERIOR_ULTRA_BALL (FLAG_HIDDEN_ITEMS_START + 0x1D)
# define FLAG_HIDDEN_ITEM_MT_PYRE_EXTERIOR_MAX_ETHER (FLAG_HIDDEN_ITEMS_START + 0x4E)
# define FLAG_HIDDEN_ITEM_MT_PYRE_SUMMIT_ZINC (FLAG_HIDDEN_ITEMS_START + 0x4F)
# define FLAG_HIDDEN_ITEM_MT_PYRE_SUMMIT_RARE_CANDY (FLAG_HIDDEN_ITEMS_START + 0x50)
# define FLAG_HIDDEN_ITEM_NAVEL_ROCK_TOP_SACRED_ASH (FLAG_HIDDEN_ITEMS_START + 0x6D)
# define FLAG_HIDDEN_ITEM_PETALBURG_CITY_RARE_CANDY (FLAG_HIDDEN_ITEMS_START + 0x5F)
# define FLAG_HIDDEN_ITEM_PETALBURG_WOODS_POTION (FLAG_HIDDEN_ITEMS_START + 0x3A)
# define FLAG_HIDDEN_ITEM_PETALBURG_WOODS_TINY_MUSHROOM_1 (FLAG_HIDDEN_ITEMS_START + 0x3B)
# define FLAG_HIDDEN_ITEM_PETALBURG_WOODS_TINY_MUSHROOM_2 (FLAG_HIDDEN_ITEMS_START + 0x3C)
# define FLAG_HIDDEN_ITEM_PETALBURG_WOODS_POKE_BALL (FLAG_HIDDEN_ITEMS_START + 0x3D)
# define FLAG_HIDDEN_ITEM_VICTORY_ROAD_B2F_ELIXIR (FLAG_HIDDEN_ITEMS_START + 0x52)
# define FLAG_HIDDEN_ITEM_VICTORY_ROAD_B2F_MAX_REPEL (FLAG_HIDDEN_ITEMS_START + 0x53)
# define FLAG_HIDDEN_ITEM_SAFARI_ZONE_NORTH_EAST_RARE_CANDY (FLAG_HIDDEN_ITEMS_START + 0x6A)
# define FLAG_HIDDEN_ITEM_SAFARI_ZONE_NORTH_EAST_ZINC (FLAG_HIDDEN_ITEMS_START + 0x6B)
2018-10-18 21:28:59 +02:00
# define FLAG_HIDDEN_ITEM_SAFARI_ZONE_SOUTH_EAST_PP_UP (FLAG_HIDDEN_ITEMS_START + 0x6C)
# define FLAG_HIDDEN_ITEM_SAFARI_ZONE_SOUTH_EAST_FULL_RESTORE (FLAG_HIDDEN_ITEMS_START + 0x69)
2019-01-02 22:12:43 +01:00
# define FLAG_HIDDEN_ITEM_SS_TIDAL_LOWER_DECK_LEFTOVERS (FLAG_HIDDEN_ITEMS_START + 0x23)
# define FLAG_HIDDEN_ITEM_VICTORY_ROAD_1F_ULTRA_BALL (FLAG_HIDDEN_ITEMS_START + 0x51)
# define FLAG_HIDDEN_ITEM_ROUTE_104_SUPER_POTION (FLAG_HIDDEN_ITEMS_START + 0x2C)
# define FLAG_HIDDEN_ITEM_ROUTE_104_POKE_BALL (FLAG_HIDDEN_ITEMS_START + 0x3E)
# define FLAG_HIDDEN_ITEM_ROUTE_104_POTION (FLAG_HIDDEN_ITEMS_START + 0x25)
# define FLAG_HIDDEN_ITEM_ROUTE_104_ANTIDOTE (FLAG_HIDDEN_ITEMS_START + 0x55)
# define FLAG_HIDDEN_ITEM_ROUTE_104_HEART_SCALE (FLAG_HIDDEN_ITEMS_START + 0x58)
# define FLAG_HIDDEN_ITEM_ROUTE_105_HEART_SCALE (FLAG_HIDDEN_ITEMS_START + 0x59)
# define FLAG_HIDDEN_ITEM_ROUTE_105_BIG_PEARL (FLAG_HIDDEN_ITEMS_START + 0x6F)
# define FLAG_HIDDEN_ITEM_ROUTE_106_POKE_BALL (FLAG_HIDDEN_ITEMS_START + 0x3F)
# define FLAG_HIDDEN_ITEM_ROUTE_106_STARDUST (FLAG_HIDDEN_ITEMS_START + 0x2E)
# define FLAG_HIDDEN_ITEM_ROUTE_106_HEART_SCALE (FLAG_HIDDEN_ITEMS_START + 0x2F)
# define FLAG_HIDDEN_ITEM_ROUTE_108_RARE_CANDY (FLAG_HIDDEN_ITEMS_START + 0x56)
# define FLAG_HIDDEN_ITEM_ROUTE_109_REVIVE (FLAG_HIDDEN_ITEMS_START + 0x32)
# define FLAG_HIDDEN_ITEM_ROUTE_109_HEART_SCALE_1 (FLAG_HIDDEN_ITEMS_START + 0x34)
# define FLAG_HIDDEN_ITEM_ROUTE_109_GREAT_BALL (FLAG_HIDDEN_ITEMS_START + 0x33)
# define FLAG_HIDDEN_ITEM_ROUTE_109_ETHER (FLAG_HIDDEN_ITEMS_START + 0x40)
# define FLAG_HIDDEN_ITEM_ROUTE_109_HEART_SCALE_2 (FLAG_HIDDEN_ITEMS_START + 0x5A)
# define FLAG_HIDDEN_ITEM_ROUTE_109_HEART_SCALE_3 (FLAG_HIDDEN_ITEMS_START + 0x5B)
# define FLAG_HIDDEN_ITEM_ROUTE_110_REVIVE (FLAG_HIDDEN_ITEMS_START + 0x36)
# define FLAG_HIDDEN_ITEM_ROUTE_110_GREAT_BALL (FLAG_HIDDEN_ITEMS_START + 0x35)
# define FLAG_HIDDEN_ITEM_ROUTE_110_POKE_BALL (FLAG_HIDDEN_ITEMS_START + 0x41)
# define FLAG_HIDDEN_ITEM_ROUTE_110_FULL_HEAL (FLAG_HIDDEN_ITEMS_START + 0x37)
# define FLAG_HIDDEN_ITEM_ROUTE_111_STARDUST (FLAG_HIDDEN_ITEMS_START + 0x02)
# define FLAG_HIDDEN_ITEM_ROUTE_111_PROTEIN (FLAG_HIDDEN_ITEMS_START + 0x38)
# define FLAG_HIDDEN_ITEM_ROUTE_111_RARE_CANDY (FLAG_HIDDEN_ITEMS_START + 0x39)
# define FLAG_HIDDEN_ITEM_ROUTE_113_ETHER (FLAG_HIDDEN_ITEMS_START + 0x03)
# define FLAG_HIDDEN_ITEM_ROUTE_113_TM_32 (FLAG_HIDDEN_ITEMS_START + 0x1E)
# define FLAG_HIDDEN_ITEM_ROUTE_113_NUGGET (FLAG_HIDDEN_ITEMS_START + 0x62)
# define FLAG_HIDDEN_ITEM_ROUTE_114_CARBOS (FLAG_HIDDEN_ITEMS_START + 0x04)
# define FLAG_HIDDEN_ITEM_ROUTE_113_REVIVE (FLAG_HIDDEN_ITEMS_START + 0x2A)
# define FLAG_HIDDEN_ITEM_ROUTE_115_HEART_SCALE (FLAG_HIDDEN_ITEMS_START + 0x61)
# define FLAG_HIDDEN_ITEM_ROUTE_116_SUPER_POTION (FLAG_HIDDEN_ITEMS_START + 0x2D)
# define FLAG_HIDDEN_ITEM_ROUTE_116_BLACK_GLASSES (FLAG_HIDDEN_ITEMS_START + 0x60)
# define FLAG_HIDDEN_ITEM_ROUTE_117_REPEL (FLAG_HIDDEN_ITEMS_START + 0x48)
# define FLAG_HIDDEN_ITEM_ROUTE_118_HEART_SCALE (FLAG_HIDDEN_ITEMS_START + 0x42)
# define FLAG_HIDDEN_ITEM_ROUTE_118_IRON (FLAG_HIDDEN_ITEMS_START + 0x43)
# define FLAG_HIDDEN_ITEM_ROUTE_119_CALCIUM (FLAG_HIDDEN_ITEMS_START + 0x05)
# define FLAG_HIDDEN_ITEM_ROUTE_119_ULTRA_BALL (FLAG_HIDDEN_ITEMS_START + 0x06)
# define FLAG_HIDDEN_ITEM_ROUTE_119_FULL_HEAL (FLAG_HIDDEN_ITEMS_START + 0x44)
# define FLAG_HIDDEN_ITEM_ROUTE_119_MAX_ETHER (FLAG_HIDDEN_ITEMS_START + 0x57)
# define FLAG_HIDDEN_ITEM_ROUTE_120_RARE_CANDY_1 (FLAG_HIDDEN_ITEMS_START + 0x47)
# define FLAG_HIDDEN_ITEM_ROUTE_120_REVIVE (FLAG_HIDDEN_ITEMS_START + 0x54)
# define FLAG_HIDDEN_ITEM_ROUTE_120_RARE_CANDY_2 (FLAG_HIDDEN_ITEMS_START + 0x45)
# define FLAG_HIDDEN_ITEM_ROUTE_120_ZINC (FLAG_HIDDEN_ITEMS_START + 0x46)
# define FLAG_HIDDEN_ITEM_ROUTE_121_HP_UP (FLAG_HIDDEN_ITEMS_START + 0x27)
# define FLAG_HIDDEN_ITEM_ROUTE_121_NUGGET (FLAG_HIDDEN_ITEMS_START + 0x28)
# define FLAG_HIDDEN_ITEM_ROUTE_121_FULL_HEAL (FLAG_HIDDEN_ITEMS_START + 0x49)
# define FLAG_HIDDEN_ITEM_ROUTE_121_MAX_REVIVE (FLAG_HIDDEN_ITEMS_START + 0x64)
# define FLAG_HIDDEN_ITEM_ROUTE_123_SUPER_REPEL (FLAG_HIDDEN_ITEMS_START + 0x07)
# define FLAG_HIDDEN_ITEM_ROUTE_123_REVIVE (FLAG_HIDDEN_ITEMS_START + 0x29)
# define FLAG_HIDDEN_ITEM_ROUTE_123_HYPER_POTION (FLAG_HIDDEN_ITEMS_START + 0x4A)
# define FLAG_HIDDEN_ITEM_ROUTE_123_PP_UP (FLAG_HIDDEN_ITEMS_START + 0x63)
# define FLAG_HIDDEN_ITEM_ROUTE_123_RARE_CANDY (FLAG_HIDDEN_ITEMS_START + 0x6E)
# define FLAG_HIDDEN_ITEM_ROUTE_128_HEART_SCALE_1 (FLAG_HIDDEN_ITEMS_START + 0x5C)
# define FLAG_HIDDEN_ITEM_ROUTE_128_HEART_SCALE_2 (FLAG_HIDDEN_ITEMS_START + 0x5D)
# define FLAG_HIDDEN_ITEM_ROUTE_128_HEART_SCALE_3 (FLAG_HIDDEN_ITEMS_START + 0x5E)
2018-10-19 19:04:47 +02:00
2018-10-19 20:59:18 +02:00
// Event Flags
2019-01-02 22:12:43 +01:00
# define FLAG_HIDE_ROUTE_101_BIRCH_STARTERS_BAG 0x2BC
# define FLAG_HIDE_APPRENTICE 0x2BD
# define FLAG_HIDE_POKEMON_CENTER_2F_MYSTERY_GIFT_MAN 0x2BE
# define FLAG_HIDE_UNION_ROOM_PLAYER_1 0x2BF
# define FLAG_HIDE_UNION_ROOM_PLAYER_2 0x2C0
# define FLAG_HIDE_UNION_ROOM_PLAYER_3 0x2C1
# define FLAG_HIDE_UNION_ROOM_PLAYER_4 0x2C2
# define FLAG_HIDE_UNION_ROOM_PLAYER_5 0x2C3
# define FLAG_HIDE_UNION_ROOM_PLAYER_6 0x2C4
# define FLAG_HIDE_UNION_ROOM_PLAYER_7 0x2C5
# define FLAG_HIDE_UNION_ROOM_PLAYER_8 0x2C6
# define FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_1 0x2C7
# define FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_2 0x2C8
# define FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_3 0x2C9
# define FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_4 0x2CA
# define FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_5 0x2CB
# define FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_6 0x2CC
# define FLAG_HIDE_SAFARI_ZONE_SOUTH_CONSTRUCTION_WORKERS 0x2CD
# define FLAG_HIDE_MEW 0x2CE
# define FLAG_HIDE_ROUTE_104_RIVAL 0x2CF
# define FLAG_HIDE_ROUTE_101_BIRCH_ZIGZAGOON_BATTLE 0x2D0
# define FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_BIRCH 0x2D1
# define FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM 0x2D2
# define FLAG_HIDE_ROUTE_103_RIVAL 0x2D3
# define FLAG_HIDE_PETALBURG_WOODS_DEVON_EMPLOYEE 0x2D4
# define FLAG_HIDE_PETALBURG_WOODS_AQUA_GRUNT 0x2D5
# define FLAG_HIDE_PETALBURG_CITY_WALLY 0x2D6
# define FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_INVISIBLE_NINJA_BOY 0x2D7
# define FLAG_HIDE_PETALBURG_CITY_WALLYS_AUNT 0x2D8
# define FLAG_UNUSED_0x2D9 0x2D9 // Unused Flag
# define FLAG_HIDE_LILYCOVE_FAN_CLUB_INTERVIEWER 0x2DA
# define FLAG_HIDE_RUSTBORO_CITY_AQUA_GRUNT 0x2DB
# define FLAG_HIDE_RUSTBORO_CITY_DEVON_EMPLOYEE_1 0x2DC
# define FLAG_HIDE_SEAFLOOR_CAVERN_ROOM_9_KYOGRE_2 0x2DD
# define FLAG_HIDE_PLAYERS_HOUSE_DAD 0x2DE
# define FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_SIBLING 0x2DF
# define FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_SIBLING 0x2E0
# define FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_INVISIBLE_NINJA_BOY 0x2E1
# define FLAG_HIDE_ROUTE_104_MR_BRINEY 0x2E2
# define FLAG_HIDE_BRINEYS_HOUSE_MR_BRINEY 0x2E3
# define FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN 0x2E4
# define FLAG_HIDE_ROUTE_108_MR_BRINEY 0x2E5
# define FLAG_HIDE_ROUTE_104_MR_BRINEY_BOAT 0x2E6
# define FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN 0x2E7
# define FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT 0x2E8
# define FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_BRENDAN 0x2E9
# define FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_BRENDAN 0x2EA
# define FLAG_HIDE_SAFARI_ZONE_SOUTH_EAST_EXPANSION 0x2EB
# define FLAG_HIDE_LILYCOVE_HARBOR_EON_TICKET_TAKER 0x2EC
# define FLAG_HIDE_SLATEPORT_CITY_SCOTT 0x2ED
# define FLAG_HIDE_ROUTE_101_ZIGZAGOON 0x2EE
# define FLAG_HIDE_VICTORY_ROAD_EXIT_WALLY 0x2EF
# define FLAG_HIDE_LITTLEROOT_TOWN_MOM_OUTSIDE 0x2F0
# define FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_STEVEN 0x2F1
# define FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_1 0x2F2
# define FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_2 0x2F3
# define FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_TEAM_MAGMA 0x2F4
# define FLAG_HIDE_LITTLE_ROOT_TOWN_PLAYERS_BEDROOM_MOM 0x2F5
# define FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_MOM 0x2F6
# define FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_MOM 0x2F7
# define FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM 0x2F8
# define FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_TRUCK 0x2F9
# define FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_TRUCK 0x2FA
# define FLAG_HIDE_DEOXYS 0x2FB
# define FLAG_HIDE_BIRTH_ISLAND_DEOXYS_TRIANGLE 0x2FC
# define FLAG_HIDE_MAUVILLE_CITY_SCOTT 0x2FD
# define FLAG_HIDE_VERDANTURF_TOWN_SCOTT 0x2FE
# define FLAG_HIDE_FALLORBOR_TOWN_BATTLE_TENT_SCOTT 0x2FF
# define FLAG_HIDE_ROUTE_111_VICTOR_WINSTRATE 0x300
# define FLAG_HIDE_ROUTE_111_VICTORIA_WINSTRATE 0x301
# define FLAG_HIDE_ROUTE_111_VIVI_WINSTRATE 0x302
# define FLAG_HIDE_ROUTE_111_VICKY_WINSTRATE 0x303
2019-05-19 04:56:19 +02:00
# define FLAG_HIDE_PETALBURG_GYM_NORMAN 0x304
2019-01-02 22:12:43 +01:00
# define FLAG_HIDE_SKY_PILLAR_TOP_RAYQUAZA_2 0x305
# define FLAG_HIDE_LILYCOVE_CONTEST_HALL_CONTEST_ATTENDANT_1 0x306
# define FLAG_HIDE_LILYCOVE_MUSEUM_CURATOR 0x307
# define FLAG_HIDE_LILYCOVE_MUSEUM_PATRON_1 0x308
# define FLAG_HIDE_LILYCOVE_MUSEUM_PATRON_2 0x309
# define FLAG_HIDE_LILYCOVE_MUSEUM_PATRON_3 0x30A
# define FLAG_HIDE_LILYCOVE_MUSEUM_PATRON_4 0x30B
# define FLAG_HIDE_LILYCOVE_MUSEUM_TOURISTS 0x30C
# define FLAG_HIDE_PETALBURG_GYM_GREETER 0x30D
# define FLAG_HIDE_MARINE_CAVE_KYOGRE 0x30E
# define FLAG_HIDE_TERRA_CAVE_GROUDON 0x30F
# define FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_MOM 0x310
# define FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_MOM 0x311
# define FLAG_HIDE_ROUTE_119_SCOTT 0x312
# define FLAG_HIDE_LILCOVE_MOTEL_SCOTT 0x313
# define FLAG_HIDE_MOSSDEEP_CITY_SCOTT 0x314
# define FLAG_HIDE_FANCLUB_OLD_LADY 0x315
# define FLAG_HIDE_FANCLUB_BOY 0x316
# define FLAG_HIDE_FANCLUB_LITTLE_BOY 0x317
# define FLAG_HIDE_FANCLUB_LADY 0x318
# define FLAG_HIDE_EVER_GRANDE_POKEMON_CENTER_1F_SCOTT 0x319
# define FLAG_HIDE_LITTLEROOT_TOWN_RIVAL 0x31A
# define FLAG_HIDE_LITTLEROOT_TOWN_BIRCH 0x31B
# define FLAG_HIDE_ROUTE_111_GABBY_AND_TY_1 0x31C
# define FLAG_HIDE_ROUTE_118_GABBY_AND_TY_1 0x31D
# define FLAG_HIDE_ROUTE_120_GABBY_AND_TY_1 0x31E
# define FLAG_HIDE_ROUTE_111_GABBY_AND_TY_3 0x31F
# define FLAG_HIDE_LUGIA 0x320
# define FLAG_HIDE_HO_OH 0x321
# define FLAG_HIDE_LILYCOVE_CONTEST_HALL_REPORTER 0x322
# define FLAG_HIDE_SLATEPORT_CITY_CONTEST_REPORTER 0x323
# define FLAG_HIDE_MAUVILLE_CITY_WALLY 0x324
# define FLAG_HIDE_MAUVILLE_CITY_WALLYS_UNCLE 0x325
# define FLAG_HIDE_VERDANTURF_TOWN_WANDAS_HOUSE_WALLY 0x326
# define FLAG_HIDE_RUSTURF_TUNNEL_LOVER_MAN 0x327
# define FLAG_HIDE_VERDANTURF_TOWN_WANDAS_HOUSE_LOVER_MAN 0x328
# define FLAG_HIDE_VERDANTURF_TOWN_WANDAS_HOUSE_WALLYS_UNCLE 0x329
# define FLAG_HIDE_SS_TIDAL_CORRIDOR_SCOTT 0x32A
# define FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_POKEBALL_CYNDAQUIL 0x32B
# define FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_POKEBALL_TOTODILE 0x32C
# define FLAG_HIDE_ROUTE_116_DROPPED_GLASSES_MAN 0x32D
# define FLAG_HIDE_RUSBORO_CITY_RIVAL 0x32E
# define FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_SWABLU_DOLL 0x32F
# define FLAG_HIDE_SOOTOPOLIS_CITY_WALLACE 0x330
# define FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_POKE_BALL 0x331
# define FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_POKE_BALL 0x332
# define FLAG_HIDE_ROUTE_112_TEAM_MAGMA 0x333
# define FLAG_HIDE_CAVE_OF_ORIGIN_B1F_WALLACE 0x334
# define FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_1_BLOCKING_ENTRANCE 0x335
# define FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_2_BLOCKING_ENTRANCE 0x336
# define FLAG_HIDE_MOSSDEEP_CITY_TEAM_MAGMA 0x337
# define FLAG_HIDE_PETALBURG_GYM_WALLYS_UNCLE 0x338
# define FLAG_UNUSED_0x339 0x339 // Unused Flag
# define FLAG_HIDE_SOOTOPOLIS_CITY_ARCHIE 0x33A
# define FLAG_HIDE_SOOTOPOLIS_CITY_MAXIE 0x33B
# define FLAG_HIDE_SEAFLOOR_CAVERN_ROOM_9_ARCHIE 0x33C
# define FLAG_HIDE_SEAFLOOR_CAVERN_ROOM_9_MAXIE 0x33D
# define FLAG_HIDE_PETALBURG_CITY_WALLYS_UNCLE 0x33E
# define FLAG_HIDE_SEAFLOOR_CAVERN_ROOM_9_MAGMA_GRUNTS 0x33F
# define FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER_ONLOOKERS 0x340
# define FLAG_HIDE_GRANITE_CAVE_STEVEN 0x341
# define FLAG_HIDE_ROUTE_128_STEVEN 0x342
# define FLAG_HIDE_SLATEPORT_CITY_GABBY_AND_TY 0x343
# define FLAG_HIDE_BATTLE_FRONTIER_RECEPTION_GATE_SCOTT 0x344
# define FLAG_HIDE_ROUTE_110_BIRCH 0x345
# define FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_POKEBALL_CHIKORITA 0x346
# define FLAG_HIDE_SOOTOPOLIS_CITY_MAN_1 0x347
# define FLAG_HIDE_SLATEPORT_CITY_CAPTAIN_STERN 0x348
# define FLAG_HIDE_SLATEPORT_CITY_HARBOR_CAPTAIN_STERN 0x349
# define FLAG_HIDE_BATTLE_FRONTIER_SUDOWOODO 0x34A
# define FLAG_HIDE_ROUTE_111_ROCK_SMASH_TIP_GUY 0x34B
# define FLAG_HIDE_RUSTBORO_CITY_SCIENTIST 0x34C
# define FLAG_HIDE_SLATEPORT_CITY_HARBOR_AQUA_GRUNT 0x34D
# define FLAG_HIDE_SLATEPORT_CITY_HARBOR_ARCHIE 0x34E
# define FLAG_HIDE_JAGGED_PASS_MAGMA_GUARD 0x34F
# define FLAG_HIDE_SLATEPORT_CITY_HARBOR_SUBMARINE_SHADOW 0x350
# define FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_PICHU_DOLL 0x351
# define FLAG_HIDE_MAGMA_HIDEOUT_4F_GROUDON_2 0x352
# define FLAG_HIDE_ROUTE_119_RIVAL 0x353
# define FLAG_HIDE_LILYCOVE_CITY_AQUA_GRUNTS 0x354
# define FLAG_HIDE_MAGMA_HIDEOUT_4F_GROUDON_1 0x355
# define FLAG_HIDE_SOOTOPOLIS_CITY_RESIDENTS 0x356
# define FLAG_HIDE_SKY_PILLAR_WALLACE 0x357
# define FLAG_HIDE_MT_PYRE_SUMMIT_MAXIE 0x358
# define FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS 0x359
# define FLAG_HIDE_VICTORY_ROAD_ENTRANCE_WALLY 0x35A
# define FLAG_HIDE_SEAFLOOR_CAVERN_ROOM_9_KYOGRE_1 0x35B
# define FLAG_HIDE_SLATEPORT_CITY_HARBOR_SS_TIDAL 0x35C
# define FLAG_HIDE_LILYCOVE_HARBOR_SSTIDAL 0x35D
# define FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_2F_TEAM_MAGMA 0x35E
# define FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_2F_STEVEN 0x35F
# define FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_ALT_1 0x360
# define FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_ALT_2 0x361
# define FLAG_HIDE_PETALBURG_GYM_WALLY 0x362
# define FLAG_UNKNOWN_0x363 0x363 // Set, however has no purpose.
# define FLAG_HIDE_LITTLEROOT_TOWN_FAT_MAN 0x364
# define FLAG_HIDE_SLATEPORT_CITY_STERNS_SHIPYARD_MR_BRINEY 0x365
# define FLAG_HIDE_LANETTES_HOUSE_LANETTE 0x366
# define FLAG_HIDE_FALLORBOR_POKEMON_CENTER_LANETTE 0x367
# define FLAG_HIDE_TRICK_HOUSE_ENTRANCE_MAN 0x368
# define FLAG_HIDE_LILYCOVE_CONTEST_HALL_POKEBLOCK_EXPERT 0x369
# define FLAG_HIDE_DESERT_UNDERPASS_FOSSIL 0x36A
# define FLAG_HIDE_ROUTE_111_PLAYER_DESCENT 0x36B
# define FLAG_HIDE_ROUTE_111_DESERT_FOSSIL 0x36C
# define FLAG_HIDE_MT_CHIMNEY_TRAINERS 0x36D
# define FLAG_HIDE_RUSTURF_TUNNEL_AQUA_GRUNT 0x36E
# define FLAG_HIDE_RUSTURF_TUNNEL_OLD_MAN 0x36F
# define FLAG_HIDE_RUSTURF_TUNNEL_PEEKO 0x370
# define FLAG_HIDE_BRINEYS_HOUSE_PEEKO 0x371
# define FLAG_HIDE_SLATEPORT_CITY_TEAM_AQUA 0x372
# define FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_AQUA_GRUNTS 0x373
# define FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_2F_AQUA_GRUNT_1 0x374
# define FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_2F_AQUA_GRUNT_2 0x375
# define FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_2F_ARCHIE 0x376
# define FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_2F_CAPTAIN_STERN 0x377
# define FLAG_HIDE_BATTLE_TOWER_OPPONENT 0x378
# define FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_RIVAL 0x379
# define FLAG_HIDE_ROUTE_119_TEAM_AQUA 0x37A
# define FLAG_HIDE_ROUTE_116_MR_BRINEY 0x37B
# define FLAG_HIDE_WEATHER_INSTITUTE_1F_WORKERS 0x37C
# define FLAG_HIDE_WEATHER_INSTITUTE_2F_WORKERS 0x37D
# define FLAG_HIDE_ROUTE_116_TUNNELER 0x37E
# define FLAG_HIDE_LILYCOVE_CONTEST_HALL_CONTEST_ATTENDANT_2 0x37F
# define FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_UNKNOWN_0x380 0x380
# define FLAG_HIDE_ROUTE_101_BIRCH 0x381
# define FLAG_HIDE_ROUTE_103_BIRCH 0x382
# define FLAG_HIDE_TRICK_HOUSE_END_MAN 0x383
# define FLAG_HIDE_ROUTE_110_TEAM_AQUA 0x384
# define FLAG_HIDE_ROUTE_118_GABBY_AND_TY_2 0x385
# define FLAG_HIDE_ROUTE_120_GABBY_AND_TY_2 0x386
# define FLAG_HIDE_ROUTE_111_GABBY_AND_TY_2 0x387
# define FLAG_HIDE_ROUTE_118_GABBY_AND_TY_3 0x388
# define FLAG_HIDE_SLATEPORT_CITY_HARBOR_PATRONS 0x389
# define FLAG_HIDE_ROUTE_104_WHITE_HERB_FLORIST 0x38A
# define FLAG_HIDE_FALLARBOR_AZURILL 0x38B
# define FLAG_HIDE_LILYCOVE_HARBOR_FERRY_ATTENDANT 0x38C
# define FLAG_HIDE_LILYCOVE_HARBOR_FERRY_SAILOR 0x38D
# define FLAG_HIDE_SOUTHERN_ISLAND_EON_STONE 0x38E
# define FLAG_HIDE_SOUTHERN_ISLAND_UNCHOSEN_EON_DUO_MON 0x38F
# define FLAG_HIDE_MAUVILLE_CITY_WATTSON 0x390
# define FLAG_HIDE_MAUVILLE_GYM_WATTSON 0x391
# define FLAG_HIDE_ROUTE_121_TEAM_AQUA_GRUNTS 0x392
# define FLAG_UNKNOWN_0x393 0x393 // Set, however has no purpose.
# define FLAG_HIDE_MT_PYRE_SUMMIT_ARCHIE 0x394
# define FLAG_HIDE_MT_PYRE_SUMMIT_TEAM_AQUA 0x395
# define FLAG_HIDE_BATTLE_TOWER_REPORTER 0x396
# define FLAG_HIDE_ROUTE_110_RIVAL_1 0x397
# define FLAG_HIDE_CHAMPIONS_ROOM_RIVAL 0x398
# define FLAG_HIDE_CHAMPIONS_ROOM_BIRCH 0x399
# define FLAG_HIDE_ROUTE_110_RIVAL_2 0x39A
# define FLAG_HIDE_ROUTE_119_RIVAL_ON_BIKE 0x39B
# define FLAG_HIDE_AQUA_HIDEOUT_GRUNTS 0x39C
# define FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS 0x39D
# define FLAG_HIDE_MT_CHIMNEY_TEAM_AQUA 0x39E
# define FLAG_HIDE_MT_CHIMNEY_TEAM_MAGMA 0x39F
# define FLAG_HIDE_FALLARBOR_HOUSE_1_PROF_COZMO 0x3A0
# define FLAG_HIDE_LAVARIDGE_TOWN_RIVAL_1 0x3A1
# define FLAG_HIDE_LAVARIDGE_TOWN_RIVAL_2 0x3A2
# define FLAG_HIDE_RUSTURF_TUNNEL_ROCK_1 0x3A3
# define FLAG_HIDE_RUSTURF_TUNNEL_ROCK_2 0x3A4
# define FLAG_HIDE_FORTREE_CITY_HOUSE_4_WINGULL 0x3A5
# define FLAG_HIDE_MOSSDEEP_CITY_HOUSE_2_WINGULL 0x3A6
# define FLAG_HIDE_REGIROCK 0x3A7
# define FLAG_HIDE_REGICE 0x3A8
# define FLAG_HIDE_REGISTEEL 0x3A9
# define FLAG_HIDE_METEOR_FALLS_TEAM_AQUA 0x3AA
# define FLAG_HIDE_METEOR_FALLS_TEAM_MAGMA 0x3AB
# define FLAG_HIDE_DEWFORD_HALL_SLUDGE_BOMB_MAN 0x3AC
# define FLAG_HIDE_SEAFLOOR_CAVERN_ENTRANCE_AQUA_GRUNT 0x3AD
# define FLAG_HIDE_METEOR_FALLS_1F_1R_COZMO 0x3AE
# define FLAG_HIDE_AQUA_HIDEOUT_B2F_SUBMARINE_SHADOW 0x3AF
# define FLAG_HIDE_ROUTE_128_ARCHIE 0x3B0
# define FLAG_HIDE_ROUTE_128_MAXIE 0x3B1
# define FLAG_HIDE_SEAFLOOR_CAVERN_AQUA_GRUNTS 0x3B2
# define FLAG_HIDE_ROUTE_116_DEVON_EMPLOYEE 0x3B3
# define FLAG_HIDE_SLATEPORT_CITY_TM_SALESMAN 0x3B4
# define FLAG_HIDE_RUSTBORO_CITY_DEVON_CORP_3F_EMPLOYEE 0x3B5
# define FLAG_HIDE_SS_TIDAL_CORRIDOR_MR_BRINEY 0x3B6
# define FLAG_HIDE_SS_TIDAL_ROOMS_SNATCH_GIVER 0x3B7
2019-01-03 02:54:55 +01:00
# define FLAG_RECEIVED_SHOAL_SALT_1 0x3B8
# define FLAG_RECEIVED_SHOAL_SALT_2 0x3B9
# define FLAG_RECEIVED_SHOAL_SALT_3 0x3BA
# define FLAG_RECEIVED_SHOAL_SALT_4 0x3BB
# define FLAG_RECEIVED_SHOAL_SHELL_1 0x3BC
# define FLAG_RECEIVED_SHOAL_SHELL_2 0x3BD
# define FLAG_RECEIVED_SHOAL_SHELL_3 0x3BE
# define FLAG_RECEIVED_SHOAL_SHELL_4 0x3BF
2019-01-02 22:12:43 +01:00
# define FLAG_HIDE_ROUTE_111_SECRET_POWER_MAN 0x3C0
# define FLAG_HIDE_SLATEPORT_MUSEUM_POPULATION 0x3C1
# define FLAG_HIDE_LILYCOVE_DEPARTMENT_STORE_ROOFTOP_SALE_WOMAN 0x3C2
# define FLAG_HIDE_MIRAGE_TOWER_ROOT_FOSSIL 0x3C3
# define FLAG_HIDE_MIRAGE_TOWER_CLAW_FOSSIL 0x3C4
# define FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_FAMILIAR_AQUA_GRUNT 0x3C5
# define FLAG_HIDE_ROUTE_118_STEVEN 0x3C6
# define FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_STEVEN 0x3C7
# define FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_BELDUM_POKEBALL 0x3C8
# define FLAG_HIDE_FORTREE_CITY_KECLEON 0x3C9
# define FLAG_HIDE_ROUTE_120_KECLEON_1 0x3CA
# define FLAG_HIDE_LILYCOVE_CITY_RIVAL 0x3CB
# define FLAG_HIDE_ROUTE_120_STEVEN 0x3CC
# define FLAG_HIDE_SOOTOPOLIS_CITY_STEVEN 0x3CD
# define FLAG_HIDE_NEW_MAUVILLE_VOLTORB_1 0x3CE
# define FLAG_HIDE_NEW_MAUVILLE_VOLTORB_2 0x3CF
# define FLAG_HIDE_NEW_MAUVILLE_VOLTORB_3 0x3D0
# define FLAG_HIDE_AQUA_HIDEOUT_B1F_ELECTRODE_1 0x3D1
# define FLAG_HIDE_AQUA_HIDEOUT_B1F_ELECTRODE_2 0x3D2
# define FLAG_HIDE_OLDALE_TOWN_RIVAL 0x3D3
# define FLAG_HIDE_UNDERWATER_SEA_FLOOR_CAVERN_STOLEN_SUBMARINE 0x3D4
# define FLAG_HIDE_ROUTE_120_KECLEON_BRIDGE 0x3D5
# define FLAG_HIDE_ROUTE_120_KECLEON_2 0x3D6
# define FLAG_HIDE_RUSTURF_TUNNEL_LOVER_WOMAN 0x3D7
# define FLAG_HIDE_VERDANTURF_TOWN_WANDAS_HOUSE_LOVER_WOMAN 0x3D8
# define FLAG_HIDE_ROUTE_120_KECLEON_3 0x3D9
# define FLAG_HIDE_ROUTE_120_KECLEON_4 0x3DA
# define FLAG_HIDE_ROUTE_120_KECLEON_5 0x3DB
# define FLAG_HIDE_ROUTE_120_KECLEON_6 0x3DC
# define FLAG_HIDE_ROUTE_119_KECLEON_1 0x3DD
# define FLAG_HIDE_ROUTE_119_KECLEON_2 0x3DE
# define FLAG_HIDE_ROUTE_101_BOY 0x3DF
# define FLAG_HIDE_WEATHER_INSTITUTE_2F_AQUA_GRUNT_M 0x3E0
# define FLAG_HIDE_LILYCOVE_POKEMON_CENTER_LADY 0x3E1
# define FLAG_HIDE_MT_CHIMNEY_LAVA_COOKIE_LADY 0x3E2
# define FLAG_HIDE_PETALBURG_CITY_SCOTT 0x3E3
# define FLAG_HIDE_SOOTOPOLIS_CITY_RAYQUAZA 0x3E4
# define FLAG_HIDE_SOOTOPOLIS_CITY_KYOGRE 0x3E5
# define FLAG_HIDE_SOOTOPOLIS_CITY_GROUDON 0x3E6
# define FLAG_HIDE_RUSTBORO_CITY_POKEMON_SCHOOL_SCOTT 0x3E7
2018-10-18 21:28:59 +02:00
2018-10-19 20:59:18 +02:00
// Item Ball Flags
2019-01-02 22:12:43 +01:00
# define FLAG_ITEM_ROUTE_102_POTION 0x3E8
# define FLAG_ITEM_ROUTE_116_X_SPECIAL 0x3E9
# define FLAG_ITEM_ROUTE_104_PP_UP 0x3EA
# define FLAG_ITEM_ROUTE_105_IRON 0x3EB
# define FLAG_ITEM_ROUTE_106_PROTEIN 0x3EC
# define FLAG_ITEM_ROUTE_109_PP_UP 0x3ED
# define FLAG_ITEM_ROUTE_109_RARE_CANDY 0x3EE
# define FLAG_ITEM_ROUTE_110_DIRE_HIT 0x3EF
# define FLAG_ITEM_ROUTE_111_TM_37 0x3F0
# define FLAG_ITEM_ROUTE_111_STARDUST 0x3F1
# define FLAG_ITEM_ROUTE_111_HP_UP 0x3F2
# define FLAG_ITEM_ROUTE_112_NUGGET 0x3F3
# define FLAG_ITEM_ROUTE_113_MAX_ETHER 0x3F4
# define FLAG_ITEM_ROUTE_113_SUPER_REPEL 0x3F5
# define FLAG_ITEM_ROUTE_114_RARE_CANDY 0x3F6
# define FLAG_ITEM_ROUTE_114_PROTEIN 0x3F7
# define FLAG_ITEM_ROUTE_115_SUPER_POTION 0x3F8
# define FLAG_ITEM_ROUTE_115_TM_01 0x3F9
# define FLAG_ITEM_ROUTE_115_IRON 0x3FA
# define FLAG_ITEM_ROUTE_116_ETHER 0x3FB
# define FLAG_ITEM_ROUTE_116_REPEL 0x3FC
# define FLAG_ITEM_ROUTE_116_HP_UP 0x3FD
# define FLAG_ITEM_ROUTE_117_GREAT_BALL 0x3FE
# define FLAG_ITEM_ROUTE_117_REVIVE 0x3FF
# define FLAG_ITEM_ROUTE_119_SUPER_REPEL 0x400
# define FLAG_ITEM_ROUTE_119_ZINC 0x401
# define FLAG_ITEM_ROUTE_119_ELIXIR_1 0x402
# define FLAG_ITEM_ROUTE_119_LEAF_STONE 0x403
# define FLAG_ITEM_ROUTE_119_RARE_CANDY 0x404
# define FLAG_ITEM_ROUTE_119_HYPER_POTION_1 0x405
# define FLAG_ITEM_ROUTE_120_NUGGET 0x406
# define FLAG_ITEM_ROUTE_120_FULL_HEAL 0x407
# define FLAG_ITEM_ROUTE_123_CALCIUM 0x408
# define FLAG_UNUSED_0x409 0x409 // Unused Flag
# define FLAG_ITEM_ROUTE_127_ZINC 0x40A
# define FLAG_ITEM_ROUTE_127_CARBOS 0x40B
# define FLAG_ITEM_ROUTE_132_RARE_CANDY 0x40C
# define FLAG_ITEM_ROUTE_133_BIG_PEARL 0x40D
# define FLAG_ITEM_ROUTE_133_STAR_PIECE 0x40E
# define FLAG_ITEM_PETALBURG_CITY_MAX_REVIVE 0x40F
# define FLAG_ITEM_PETALBURG_CITY_ETHER 0x410
# define FLAG_ITEM_RUSTBORO_CITY_X_DEFEND 0x411
# define FLAG_ITEM_LILYCOVE_CITY_MAX_REPEL 0x412
# define FLAG_ITEM_MOSSDEEP_CITY_NET_BALL 0x413
# define FLAG_ITEM_METEOR_FALLS_1F_1R_TM_23 0x414
# define FLAG_ITEM_METEOR_FALLS_1F_1R_FULL_HEAL 0x415
# define FLAG_ITEM_METEOR_FALLS_1F_1R_MOON_STONE 0x416
# define FLAG_ITEM_METEOR_FALLS_1F_1R_PP_UP 0x417
# define FLAG_ITEM_RUSTURF_TUNNEL_POKE_BALL 0x418
# define FLAG_ITEM_RUSTURF_TUNNEL_MAX_ETHER 0x419
# define FLAG_ITEM_GRANITE_CAVE_1F_ESCAPE_ROPE 0x41A
# define FLAG_ITEM_GRANITE_CAVE_B1F_POKE_BALL 0x41B
# define FLAG_ITEM_MT_PYRE_5F_LAX_INCENSE 0x41C
# define FLAG_ITEM_GRANITE_CAVE_B2F_REPEL 0x41D
# define FLAG_ITEM_GRANITE_CAVE_B2F_RARE_CANDY 0x41E
# define FLAG_ITEM_PETALBURG_WOODS_X_ATTACK 0x41F
# define FLAG_ITEM_PETALBURG_WOODS_GREAT_BALL 0x420
# define FLAG_ITEM_ROUTE_104_POKE_BALL 0x421
# define FLAG_ITEM_PETALBURG_WOODS_ETHER 0x422
# define FLAG_ITEM_MAGMA_HIDEOUT_3F_3R_ECAPE_ROPE 0x423
# define FLAG_ITEM_TRICK_HOUSE_PUZZLE_1_ORANGE_MAIL 0x424
# define FLAG_ITEM_TRICK_HOUSE_PUZZLE_2_HARBOR_MAIL 0x425
# define FLAG_ITEM_TRICK_HOUSE_PUZZLE_2_WAVE_MAIL 0x426
# define FLAG_ITEM_TRICK_HOUSE_PUZZLE_3_SHADOW_MAIL 0x427
# define FLAG_ITEM_TRICK_HOUSE_PUZZLE_3_WOOD_MAIL 0x428
# define FLAG_ITEM_TRICK_HOUSE_PUZZLE_4_MECH_MAIL 0x429
# define FLAG_ITEM_ROUTE_124_YELLOW_SHARD 0x42A
# define FLAG_ITEM_TRICK_HOUSE_PUZZLE_6_GLITTER_MAIL 0x42B
# define FLAG_ITEM_TRICK_HOUSE_PUZZLE_7_TROPIC_MAIL 0x42C
# define FLAG_ITEM_TRICK_HOUSE_PUZZLE_8_BEAD_MAIL 0x42D
# define FLAG_ITEM_JAGGED_PASS_BURN_HEAL 0x42E
# define FLAG_ITEM_AQUA_HIDEOUT_B1F_MAX_ELIXIR 0x42F
# define FLAG_ITEM_AQUA_HIDEOUT_B2F_NEST_BALL 0x430
# define FLAG_ITEM_MT_PYRE_EXTERIOR_MAX_POTION 0x431
# define FLAG_ITEM_MT_PYRE_EXTERIOR_TM_48 0x432
# define FLAG_ITEM_NEW_MAUVILLE_ULTRA_BALL 0x433
# define FLAG_ITEM_NEW_MAUVILLE_ESCAPE_ROPE 0x434
# define FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_6_LUXURY_BALL 0x435
# define FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_4_SCANNER 0x436
# define FLAG_ITEM_SCORCHED_SLAB_TM_11 0x437
# define FLAG_ITEM_METEOR_FALLS_B1F_2R_TM_02 0x438
# define FLAG_ITEM_SHOAL_CAVE_ENTRANCE_BIG_PEARL 0x439
# define FLAG_ITEM_SHOAL_CAVE_INNER_ROOM_RARE_CANDY 0x43A
# define FLAG_ITEM_SHOAL_CAVE_STAIRS_ROOM_ICE_HEAL 0x43B
# define FLAG_ITEM_VICTORY_ROAD_1F_MAX_ELIXIR 0x43C
# define FLAG_ITEM_VICTORY_ROAD_1F_PP_UP 0x43D
# define FLAG_ITEM_VICTORY_ROAD_B1F_TM_29 0x43E
# define FLAG_ITEM_VICTORY_ROAD_B1F_FULL_RESTORE 0x43F
# define FLAG_ITEM_VICTORY_ROAD_B2F_FULL_HEAL 0x440
# define FLAG_ITEM_MT_PYRE_6F_TM_30 0x441
# define FLAG_ITEM_SEAFLOOR_CAVERN_ROOM_9_TM_26 0x442
# define FLAG_ITEM_FIERY_PATH_TM06 0x443
# define FLAG_ITEM_ROUTE_124_RED_SHARD 0x444
# define FLAG_ITEM_ROUTE_124_BLUE_SHARD 0x445
# define FLAG_ITEM_SAFARI_ZONE_NORTH_WEST_TM_22 0x446
# define FLAG_ITEM_ABANDONED_SHIP_ROOMS_1F_HARBOR_MAIL 0x447
# define FLAG_ITEM_ABANDONED_SHIP_ROOMS_B1F_ESCAPE_ROPE 0x448
# define FLAG_ITEM_ABANDONED_SHIP_ROOMS_2_B1F_DIVE_BALL 0x449
# define FLAG_ITEM_ABANDONED_SHIP_ROOMS_B1F_TM_13 0x44A
# define FLAG_ITEM_ABANDONED_SHIP_ROOMS_2_1F_REVIVE 0x44B
# define FLAG_ITEM_ABANDONED_SHIP_CAPTAINS_OFFICE_STORAGE_KEY 0x44C
# define FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_3_WATER_STONE 0x44D
# define FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_1_TM_18 0x44E
# define FLAG_ITEM_ROUTE_121_CARBOS 0x44F
# define FLAG_ITEM_ROUTE_123_ULTRA_BALL 0x450
# define FLAG_ITEM_ROUTE_126_GREEN_SHARD 0x451
# define FLAG_ITEM_ROUTE_119_HYPER_POTION_2 0x452
# define FLAG_ITEM_ROUTE_120_HYPER_POTION 0x453
# define FLAG_ITEM_ROUTE_120_NEST_BALL 0x454
# define FLAG_ITEM_ROUTE_123_ELIXIR 0x455
# define FLAG_ITEM_NEW_MAUVILLE_THUNDER_STONE 0x456
# define FLAG_ITEM_FIERY_PATH_FIRE_STONE 0x457
# define FLAG_ITEM_SHOAL_CAVE_ICE_ROOM_TM_07 0x458
# define FLAG_ITEM_SHOAL_CAVE_ICE_ROOM_NEVER_MELT_ICE 0x459
# define FLAG_ITEM_ROUTE_103_GUARD_SPEC 0x45A
# define FLAG_ITEM_ROUTE_104_X_ACCURACY 0x45B
# define FLAG_ITEM_MAUVILLE_CITY_X_SPEED 0x45C
# define FLAG_ITEM_PETALBURD_WOODS_PARALYZE_HEAL 0x45D
# define FLAG_ITEM_ROUTE_115_GREAT_BALL 0x45E
# define FLAG_ITEM_SAFARI_ZONE_NORTH_CALCIUM 0x45F
# define FLAG_ITEM_MT_PYRE_3F_SUPER_REPEL 0x460
# define FLAG_ITEM_ROUTE_118_HYPER_POTION 0x461
# define FLAG_ITEM_NEW_MAUVILLE_FULL_HEAL 0x462
# define FLAG_ITEM_NEW_MAUVILLE_PARALYZE_HEAL 0x463
# define FLAG_ITEM_AQUA_HIDEOUT_B1F_MASTER_BALL 0x464
# define FLAG_UNUSED_0x465 0x465 // Unused Flag
# define FLAG_UNUSED_0x466 0x466 // Unused Flag
# define FLAG_UNUSED_0x467 0x467 // Unused Flag
# define FLAG_UNUSED_0x468 0x468 // Unused Flag
# define FLAG_ITEM_MT_PYRE_2F_ULTRA_BALL 0x469
# define FLAG_ITEM_MT_PYRE_4F_SEA_INCENSE 0x46A
# define FLAG_ITEM_SAFARI_ZONE_SOUTH_WEST_MAX_REVIVE 0x46B
# define FLAG_ITEM_AQUA_HIDEOUT_B1F_NUGGET 0x46C
# define FLAG_UNUSED_0x46D 0x46D // Unused Flag
# define FLAG_ITEM_ROUTE_119_NUGGET 0x46E
# define FLAG_ITEM_ROUTE_104_POTION 0x46F
# define FLAG_UNUSED_0x470 0x470 // Unused Flag
# define FLAG_ITEM_ROUTE_103_PP_UP 0x471
# define FLAG_UNUSED_0x472 0x472 // Unused Flag
# define FLAG_ITEM_ROUTE_108_STAR_PIECE 0x473
# define FLAG_ITEM_ROUTE_109_POTION 0x474
# define FLAG_ITEM_ROUTE_110_ELIXIR 0x475
# define FLAG_ITEM_ROUTE_111_ELIXIR 0x476
# define FLAG_ITEM_ROUTE_113_HYPER_POTION 0x477
# define FLAG_ITEM_ROUTE_115_HEAL_POWDER 0x478
# define FLAG_UNUSED_0x479 0x479 // Unused Flag
# define FLAG_ITEM_ROUTE_116_POTION 0x47A
# define FLAG_ITEM_ROUTE_119_ELIXIR_2 0x47B
# define FLAG_ITEM_ROUTE_120_REVIVE 0x47C
# define FLAG_ITEM_ROUTE_121_REVIVE 0x47D
# define FLAG_ITEM_ROUTE_121_ZINC 0x47E
# define FLAG_ITEM_MAGMA_HIDEOUT_1F_RARE_CANDY 0x47F
# define FLAG_ITEM_ROUTE_123_PP_UP 0x480
# define FLAG_ITEM_ROUTE_123_REVIVAL_HERB 0x481
# define FLAG_ITEM_ROUTE_125_BIG_PEARL 0x482
# define FLAG_ITEM_ROUTE_127_RARE_CANDY 0x483
# define FLAG_ITEM_ROUTE_132_PROTEIN 0x484
# define FLAG_ITEM_ROUTE_133_MAX_REVIVE 0x485
# define FLAG_ITEM_ROUTE_134_CARBOS 0x486
# define FLAG_ITEM_ROUTE_134_STAR_PIECE 0x487
# define FLAG_ITEM_ROUTE_114_ENERGY_POWDER 0x488
# define FLAG_ITEM_ROUTE_115_PP_UP 0x489
# define FLAG_ITEM_ARTISAN_CAVE_B1F_HP_UP 0x48A
# define FLAG_ITEM_ARTISAN_CAVE_1F_CARBOS 0x48B
# define FLAG_ITEM_MAGMA_HIDEOUT_2F_2R_MAX_ELIXIR 0x48C
# define FLAG_ITEM_MAGMA_HIDEOUT_2F_2R_FULL_RESTORE 0x48D
# define FLAG_ITEM_MAGMA_HIDEOUT_3F_1R_NUGGET 0x48E
# define FLAG_ITEM_MAGMA_HIDEOUT_3F_2R_PP_MAX 0x48F
# define FLAG_ITEM_MAGMA_HIDEOUT_4F_MAX_REVIVE 0x490
# define FLAG_ITEM_SAFARI_ZONE_NORTH_EAST_NUGGET 0x491
# define FLAG_ITEM_SAFARI_ZONE_SOUTH_EAST_BIG_PEARL 0x492
# define FLAG_UNUSED_0x493 0x493 // Unused Flag
# define FLAG_UNUSED_0x494 0x494 // Unused Flag
# define FLAG_UNUSED_0x495 0x495 // Unused Flag
# define FLAG_UNUSED_0x496 0x496 // Unused Flag
# define FLAG_UNUSED_0x497 0x497 // Unused Flag
# define FLAG_UNUSED_0x498 0x498 // Unused Flag
# define FLAG_UNUSED_0x499 0x499 // Unused Flag
# define FLAG_UNUSED_0x49A 0x49A // Unused Flag
# define FLAG_UNUSED_0x49B 0x49B // Unused Flag
# define FLAG_UNUSED_0x49C 0x49C // Unused Flag
# define FLAG_UNUSED_0x49D 0x49D // Unused Flag
# define FLAG_UNUSED_0x49E 0x49E // Unused Flag
# define FLAG_UNUSED_0x49F 0x49F // Unused Flag
# define FLAG_UNUSED_0x4A0 0x4A0 // Unused Flag
# define FLAG_UNUSED_0x4A1 0x4A1 // Unused Flag
# define FLAG_UNUSED_0x4A2 0x4A2 // Unused Flag
# define FLAG_UNUSED_0x4A3 0x4A3 // Unused Flag
# define FLAG_UNUSED_0x4A4 0x4A4 // Unused Flag
# define FLAG_UNUSED_0x4A5 0x4A5 // Unused Flag
# define FLAG_UNUSED_0x4A6 0x4A6 // Unused Flag
# define FLAG_UNUSED_0x4A7 0x4A7 // Unused Flag
# define FLAG_UNUSED_0x4A8 0x4A8 // Unused Flag
# define FLAG_UNUSED_0x4A9 0x4A9 // Unused Flag
# define FLAG_UNUSED_0x4AA 0x4AA // Unused Flag
# define FLAG_UNUSED_0x4AB 0x4AB // Unused Flag
# define FLAG_UNUSED_0x4AC 0x4AC // Unused Flag
# define FLAG_UNUSED_0x4AD 0x4AD // Unused Flag
# define FLAG_UNUSED_0x4AE 0x4AE // Unused Flag
# define FLAG_UNUSED_0x4AF 0x4AF // Unused Flag
# define FLAG_UNUSED_0x4B0 0x4B0 // Unused Flag
# define FLAG_UNUSED_0x4B1 0x4B1 // Unused Flag
# define FLAG_UNUSED_0x4B2 0x4B2 // Unused Flag
# define FLAG_UNUSED_0x4B3 0x4B3 // Unused Flag
# define FLAG_UNUSED_0x4B4 0x4B4 // Unused Flag
# define FLAG_UNUSED_0x4B5 0x4B5 // Unused Flag
# define FLAG_UNUSED_0x4B6 0x4B6 // Unused Flag
# define FLAG_UNUSED_0x4B7 0x4B7 // Unused Flag
# define FLAG_UNUSED_0x4B8 0x4B8 // Unused Flag
# define FLAG_UNUSED_0x4B9 0x4B9 // Unused Flag
# define FLAG_UNUSED_0x4BA 0x4BA // Unused Flag
# define FLAG_UNUSED_0x4BB 0x4BB // Unused Flag
# define FLAG_UNUSED_0x4BC 0x4BC // Unused Flag
# define FLAG_UNUSED_0x4BD 0x4BD // Unused Flag
# define FLAG_UNUSED_0x4BE 0x4BE // Unused Flag
# define FLAG_UNUSED_0x4BF 0x4BF // Unused Flag
# define FLAG_UNUSED_0x4C0 0x4C0 // Unused Flag
# define FLAG_UNUSED_0x4C1 0x4C1 // Unused Flag
# define FLAG_UNUSED_0x4C2 0x4C2 // Unused Flag
# define FLAG_UNUSED_0x4C3 0x4C3 // Unused Flag
# define FLAG_UNUSED_0x4C4 0x4C4 // Unused Flag
# define FLAG_UNUSED_0x4C5 0x4C5 // Unused Flag
# define FLAG_UNUSED_0x4C6 0x4C6 // Unused Flag
# define FLAG_UNUSED_0x4C7 0x4C7 // Unused Flag
# define FLAG_UNUSED_0x4C8 0x4C8 // Unused Flag
# define FLAG_UNUSED_0x4C9 0x4C9 // Unused Flag
# define FLAG_UNUSED_0x4CA 0x4CA // Unused Flag
# define FLAG_UNUSED_0x4CB 0x4CB // Unused Flag
# define FLAG_UNUSED_0x4CC 0x4CC // Unused Flag
# define FLAG_UNUSED_0x4CD 0x4CD // Unused Flag
# define FLAG_UNUSED_0x4CE 0x4CE // Unused Flag
# define FLAG_UNUSED_0x4CF 0x4CF // Unused Flag
# define FLAG_UNUSED_0x4D0 0x4D0 // Unused Flag
# define FLAG_UNUSED_0x4D1 0x4D1 // Unused Flag
# define FLAG_UNUSED_0x4D2 0x4D2 // Unused Flag
# define FLAG_UNUSED_0x4D3 0x4D3 // Unused Flag
# define FLAG_UNUSED_0x4D4 0x4D4 // Unused Flag
# define FLAG_UNUSED_0x4D5 0x4D5 // Unused Flag
# define FLAG_UNUSED_0x4D6 0x4D6 // Unused Flag
# define FLAG_UNUSED_0x4D7 0x4D7 // Unused Flag
# define FLAG_UNUSED_0x4D8 0x4D8 // Unused Flag
# define FLAG_UNUSED_0x4D9 0x4D9 // Unused Flag
# define FLAG_UNUSED_0x4DA 0x4DA // Unused Flag
# define FLAG_UNUSED_0x4DB 0x4DB // Unused Flag
# define FLAG_UNUSED_0x4DC 0x4DC // Unused Flag
# define FLAG_UNUSED_0x4DD 0x4DD // Unused Flag
# define FLAG_UNUSED_0x4DE 0x4DE // Unused Flag
# define FLAG_UNUSED_0x4DF 0x4DF // Unused Flag
# define FLAG_UNUSED_0x4E0 0x4E0 // Unused Flag
# define FLAG_UNUSED_0x4E1 0x4E1 // Unused Flag
# define FLAG_UNUSED_0x4E2 0x4E2 // Unused Flag
# define FLAG_UNUSED_0x4E3 0x4E3 // Unused Flag
# define FLAG_UNUSED_0x4E4 0x4E4 // Unused Flag
# define FLAG_UNUSED_0x4E5 0x4E5 // Unused Flag
# define FLAG_UNUSED_0x4E6 0x4E6 // Unused Flag
# define FLAG_UNUSED_0x4E7 0x4E7 // Unused Flag
# define FLAG_UNUSED_0x4E8 0x4E8 // Unused Flag
# define FLAG_UNUSED_0x4E9 0x4E9 // Unused Flag
# define FLAG_UNUSED_0x4EA 0x4EA // Unused Flag
# define FLAG_UNUSED_0x4EB 0x4EB // Unused Flag
# define FLAG_UNUSED_0x4EC 0x4EC // Unused Flag
# define FLAG_UNUSED_0x4ED 0x4ED // Unused Flag
# define FLAG_UNUSED_0x4EE 0x4EE // Unused Flag
# define FLAG_UNUSED_0x4EF 0x4EF // Unused Flag
# define FLAG_DEFEATED_RUSTBORO_GYM 0x4F0
# define FLAG_DEFEATED_DEWFORD_GYM 0x4F1
# define FLAG_DEFEATED_MAUVILLE_GYM 0x4F2
# define FLAG_DEFEATED_LAVARIDGE_GYM 0x4F3
# define FLAG_DEFEATED_PETALBURG_GYM 0x4F4
# define FLAG_DEFEATED_FORTREE_GYM 0x4F5
# define FLAG_DEFEATED_MOSSDEEP_GYM 0x4F6
# define FLAG_DEFEATED_SOOTOPOLIS_GYM 0x4F7
# define FLAG_DEFEATED_METEOR_FALLS_STEVEN 0x4F8
# define FLAG_UNUSED_0x4F9 0x4F9 // Unused Flag
# define FLAG_UNUSED_0x4FA 0x4FA // Unused Flag
2019-04-16 16:40:32 +02:00
# define FLAG_DEFEATED_ELITE_4_SIDNEY 0x4FB
2019-01-02 22:12:43 +01:00
# define FLAG_DEFEATED_ELITE_4_PHOEBE 0x4FC
# define FLAG_DEFEATED_ELITE_4_GLACIA 0x4FD
# define FLAG_DEFEATED_ELITE_4_DRAKE 0x4FE
# define FLAG_UNUSED_0x4FF 0x4FF // Unused Flag
# define FLAG_TRAINER_FLAG_START 0x500
# define TRAINERS_FLAG_NO 0x356
# define SYSTEM_FLAGS (FLAG_TRAINER_FLAG_START + TRAINERS_FLAG_NO + 0xA) // 0x860
// System Flags
# define FLAG_SYS_POKEMON_GET (SYSTEM_FLAGS + 0) // FLAG_0x860
# define FLAG_SYS_POKEDEX_GET (SYSTEM_FLAGS + 1)
# define FLAG_SYS_POKENAV_GET (SYSTEM_FLAGS + 2)
# define FLAG_SYS_GAME_CLEAR (SYSTEM_FLAGS + 4)
# define FLAG_SYS_CHAT_USED (SYSTEM_FLAGS + 5)
# define FLAG_SYS_HIPSTER_MEET (SYSTEM_FLAGS + 6)
// Badges
# define FLAG_BADGE01_GET (SYSTEM_FLAGS + 7)
# define FLAG_BADGE02_GET (SYSTEM_FLAGS + 8)
# define FLAG_BADGE03_GET (SYSTEM_FLAGS + 9)
# define FLAG_BADGE04_GET (SYSTEM_FLAGS + 0xA)
# define FLAG_BADGE05_GET (SYSTEM_FLAGS + 0xB)
# define FLAG_BADGE06_GET (SYSTEM_FLAGS + 0xC)
# define FLAG_BADGE07_GET (SYSTEM_FLAGS + 0xD)
# define FLAG_BADGE08_GET (SYSTEM_FLAGS + 0xE)
// Towns and Cities
# define FLAG_VISITED_LITTLEROOT_TOWN (SYSTEM_FLAGS + 0xF)
# define FLAG_VISITED_OLDALE_TOWN (SYSTEM_FLAGS + 0x10)
# define FLAG_VISITED_DEWFORD_TOWN (SYSTEM_FLAGS + 0x11)
# define FLAG_VISITED_LAVARIDGE_TOWN (SYSTEM_FLAGS + 0x12)
# define FLAG_VISITED_FALLARBOR_TOWN (SYSTEM_FLAGS + 0x13)
# define FLAG_VISITED_VERDANTURF_TOWN (SYSTEM_FLAGS + 0x14)
# define FLAG_VISITED_PACIFIDLOG_TOWN (SYSTEM_FLAGS + 0x15)
# define FLAG_VISITED_PETALBURG_CITY (SYSTEM_FLAGS + 0x16)
# define FLAG_VISITED_SLATEPORT_CITY (SYSTEM_FLAGS + 0x17)
# define FLAG_VISITED_MAUVILLE_CITY (SYSTEM_FLAGS + 0x18)
# define FLAG_VISITED_RUSTBORO_CITY (SYSTEM_FLAGS + 0x19)
# define FLAG_VISITED_FORTREE_CITY (SYSTEM_FLAGS + 0x1A)
# define FLAG_VISITED_LILYCOVE_CITY (SYSTEM_FLAGS + 0x1B)
# define FLAG_VISITED_MOSSDEEP_CITY (SYSTEM_FLAGS + 0x1C)
# define FLAG_VISITED_SOOTOPOLIS_CITY (SYSTEM_FLAGS + 0x1D)
# define FLAG_VISITED_EVER_GRANDE_CITY (SYSTEM_FLAGS + 0x1E)
# define FLAG_IS_CHAMPION (SYSTEM_FLAGS + 0x1F) // Seems to be related to linking.
# define FLAG_NURSE_UNION_ROOM_REMINDER (SYSTEM_FLAGS + 0x20)
# define FLAG_UNUSED_0x881 (SYSTEM_FLAGS + 0x21) // Unused Flag
# define FLAG_UNUSED_0x882 (SYSTEM_FLAGS + 0x22) // Unused Flag
# define FLAG_UNUSED_0x883 (SYSTEM_FLAGS + 0x23) // Unused Flag
# define FLAG_UNUSED_0x884 (SYSTEM_FLAGS + 0x24) // Unused Flag
# define FLAG_UNUSED_0x885 (SYSTEM_FLAGS + 0x25) // Unused Flag
# define FLAG_UNUSED_0x886 (SYSTEM_FLAGS + 0x26) // Unused Flag
# define FLAG_UNUSED_0x887 (SYSTEM_FLAGS + 0x27) // Unused Flag
# define FLAG_SYS_USE_FLASH (SYSTEM_FLAGS + 0x28)
# define FLAG_SYS_USE_STRENGTH (SYSTEM_FLAGS + 0x29)
# define FLAG_SYS_WEATHER_CTRL (SYSTEM_FLAGS + 0x2A)
# define FLAG_SYS_CYCLING_ROAD (SYSTEM_FLAGS + 0x2B)
# define FLAG_SYS_SAFARI_MODE (SYSTEM_FLAGS + 0x2C)
# define FLAG_SYS_CRUISE_MODE (SYSTEM_FLAGS + 0x2D)
# define FLAG_UNUSED_0x88E (SYSTEM_FLAGS + 0x2E) // Unused Flag
# define FLAG_UNUSED_0x88F (SYSTEM_FLAGS + 0x2F) // Unused Flag
# define FLAG_SYS_TV_HOME (SYSTEM_FLAGS + 0x30)
# define FLAG_SYS_TV_WATCH (SYSTEM_FLAGS + 0x31)
# define FLAG_SYS_TV_START (SYSTEM_FLAGS + 0x32)
# define FLAG_SYS_POPWORD_INPUT (SYSTEM_FLAGS + 0x33)
# define FLAG_SYS_MIX_RECORD (SYSTEM_FLAGS + 0x34)
# define FLAG_SYS_CLOCK_SET (SYSTEM_FLAGS + 0x35)
# define FLAG_SYS_NATIONAL_DEX (SYSTEM_FLAGS + 0x36)
# define FLAG_SYS_UNUSED_CAVE_SHIP (SYSTEM_FLAGS + 0x37) // Unused Flag?
# define FLAG_SYS_UNUSED_CAVE_WONDER (SYSTEM_FLAGS + 0x38) // Unused Flag?
# define FLAG_SYS_UNUSED_CAVE_BATTLE (SYSTEM_FLAGS + 0x39) // Unused Flag?
# define FLAG_SYS_SHOAL_TIDE (SYSTEM_FLAGS + 0x3A)
# define FLAG_SYS_RIBBON_GET (SYSTEM_FLAGS + 0x3B)
# define FLAG_LANDMARK_FLOWER_SHOP (SYSTEM_FLAGS + 0x3C)
# define FLAG_LANDMARK_MR_BRINEY_HOUSE (SYSTEM_FLAGS + 0x3D)
# define FLAG_LANDMARK_ABANDONED_SHIP (SYSTEM_FLAGS + 0x3E)
# define FLAG_LANDMARK_SEASHORE_HOUSE (SYSTEM_FLAGS + 0x3F)
# define FLAG_LANDMARK_NEW_MAUVILLE (SYSTEM_FLAGS + 0x40)
# define FLAG_LANDMARK_OLD_LADY_REST_SHOP (SYSTEM_FLAGS + 0x41)
# define FLAG_LANDMARK_TRICK_HOUSE (SYSTEM_FLAGS + 0x42)
# define FLAG_LANDMARK_WINSTRATE_FAMILY (SYSTEM_FLAGS + 0x43)
# define FLAG_LANDMARK_GLASS_WORKSHOP (SYSTEM_FLAGS + 0x44)
# define FLAG_LANDMARK_LANETTES_HOUSE (SYSTEM_FLAGS + 0x45)
# define FLAG_LANDMARK_POKEMON_DAYCARE (SYSTEM_FLAGS + 0x46)
# define FLAG_LANDMARK_SEAFLOOR_CAVERN (SYSTEM_FLAGS + 0x47)
# define FLAG_LANDMARK_BATTLE_FRONTIER (SYSTEM_FLAGS + 0x48)
# define FLAG_LANDMARK_SOUTHERN_ISLAND (SYSTEM_FLAGS + 0x49)
# define FLAG_LANDMARK_FIERY_PATH (SYSTEM_FLAGS + 0x4A)
# define FLAG_SYS_PC_LANETTE (SYSTEM_FLAGS + 0x4B)
# define FLAG_SYS_MYSTERY_EVENT_ENABLE (SYSTEM_FLAGS + 0x4C)
# define FLAG_SYS_ENC_UP_ITEM (SYSTEM_FLAGS + 0x4D)
# define FLAG_SYS_ENC_DOWN_ITEM (SYSTEM_FLAGS + 0x4E)
# define FLAG_SYS_BRAILLE_DIG (SYSTEM_FLAGS + 0x4F)
2019-02-18 20:17:02 +01:00
# define FLAG_SYS_REGIROCK_PUZZLE_COMPLETED (SYSTEM_FLAGS + 0x50)
# define FLAG_SYS_BRAILLE_REGICE_COMPLETED (SYSTEM_FLAGS + 0x51)
2019-02-18 08:02:20 +01:00
# define FLAG_SYS_REGISTEEL_PUZZLE_COMPLETED (SYSTEM_FLAGS + 0x52)
2019-01-02 22:12:43 +01:00
# define FLAG_SYS_HAS_EON_TICKET (SYSTEM_FLAGS + 0x53)
# define FLAG_LANDMARK_POKEMON_LEAGUE (SYSTEM_FLAGS + 0x54)
# define FLAG_LANDMARK_ISLAND_CAVE (SYSTEM_FLAGS + 0x55)
# define FLAG_LANDMARK_DESERT_RUINS (SYSTEM_FLAGS + 0x56)
# define FLAG_LANDMARK_FOSSIL_MANIACS_HOUSE (SYSTEM_FLAGS + 0x57)
# define FLAG_LANDMARK_SCORCHED_SLAB (SYSTEM_FLAGS + 0x58)
# define FLAG_LANDMARK_ANCIENT_TOMB (SYSTEM_FLAGS + 0x59)
# define FLAG_LANDMARK_TUNNELERS_REST_HOUSE (SYSTEM_FLAGS + 0x5A)
# define FLAG_LANDMARK_HUNTERS_HOUSE (SYSTEM_FLAGS + 0x5B)
# define FLAG_LANDMARK_SEALED_CHAMBER (SYSTEM_FLAGS + 0x5C)
# define FLAG_SYS_TV_LATIAS_LATIOS (SYSTEM_FLAGS + 0x5D)
# define FLAG_LANDMARK_SKY_PILLAR (SYSTEM_FLAGS + 0x5E)
# define FLAG_SYS_SHOAL_ITEM (SYSTEM_FLAGS + 0x5F)
2019-01-03 02:54:55 +01:00
# define FLAG_SYS_B_DASH (SYSTEM_FLAGS + 0x60) // RECEIVED Running Shoes
2019-01-02 22:12:43 +01:00
# define FLAG_SYS_CTRL_OBJ_DELETE (SYSTEM_FLAGS + 0x61)
# define FLAG_SYS_RESET_RTC_ENABLE (SYSTEM_FLAGS + 0x62)
# define FLAG_LANDMARK_BERRY_MASTERS_HOUSE (SYSTEM_FLAGS + 0x63)
# define FLAG_SYS_TOWER_SILVER (SYSTEM_FLAGS + 0x64)
# define FLAG_SYS_TOWER_GOLD (SYSTEM_FLAGS + 0x65)
# define FLAG_SYS_DOME_SILVER (SYSTEM_FLAGS + 0x66)
# define FLAG_SYS_DOME_GOLD (SYSTEM_FLAGS + 0x67)
# define FLAG_SYS_PALACE_SILVER (SYSTEM_FLAGS + 0x68)
# define FLAG_SYS_PALACE_GOLD (SYSTEM_FLAGS + 0x69)
# define FLAG_SYS_ARENA_SILVER (SYSTEM_FLAGS + 0x6A)
# define FLAG_SYS_ARENA_GOLD (SYSTEM_FLAGS + 0x6B)
# define FLAG_SYS_FACTORY_SILVER (SYSTEM_FLAGS + 0x6C)
# define FLAG_SYS_FACTORY_GOLD (SYSTEM_FLAGS + 0x6D)
# define FLAG_SYS_PIKE_SILVER (SYSTEM_FLAGS + 0x6E)
# define FLAG_SYS_PIKE_GOLD (SYSTEM_FLAGS + 0x6F)
# define FLAG_SYS_PYRAMID_SILVER (SYSTEM_FLAGS + 0x70)
# define FLAG_SYS_PYRAMID_GOLD (SYSTEM_FLAGS + 0x71)
# define FLAG_SYS_FRONTIER_PASS (SYSTEM_FLAGS + 0x72)
# define FLAG_MAP_SCRIPT_CHECKED_DEOXYS (SYSTEM_FLAGS + 0x73)
2019-01-02 22:25:14 +01:00
# define FLAG_DEOXYS_ROCK_COMPLETE (SYSTEM_FLAGS + 0x74)
2019-01-02 22:12:43 +01:00
# define FLAG_ENABLE_SHIP_BIRTH_ISLAND (SYSTEM_FLAGS + 0x75)
# define FLAG_ENABLE_SHIP_FARAWAY_ISLAND (SYSTEM_FLAGS + 0x76)
# define FLAG_SYS_STORAGE_UNKNOWN_FLAG (SYSTEM_FLAGS + 0x77)
# define FLAG_ARRIVED_ON_FARAWAY_ISLAND (SYSTEM_FLAGS + 0x78)
# define FLAG_ARRIVED_AT_MARINE_CAVE_EMERGE_SPOT (SYSTEM_FLAGS + 0x79)
# define FLAG_ARRIVED_AT_TERRA_CAVE_ENTRANCE (SYSTEM_FLAGS + 0x7A)
# define FLAG_SYS_MYSTERY_GIFT_ENABLE (SYSTEM_FLAGS + 0x7B)
# define FLAG_ENTERED_MIRAGE_TOWER (SYSTEM_FLAGS + 0x7C)
# define FLAG_LANDMARK_ALTERING_CAVE (SYSTEM_FLAGS + 0x7D)
# define FLAG_LANDMARK_DESERT_UNDERPASS (SYSTEM_FLAGS + 0x7E)
# define FLAG_LANDMARK_ARTISAN_CAVE (SYSTEM_FLAGS + 0x7F)
# define FLAG_ENABLE_SHIP_NAVEL_ROCK (SYSTEM_FLAGS + 0x80)
# define FLAG_ARRIVED_AT_NAVEL_ROCK (SYSTEM_FLAGS + 0x81)
# define FLAG_LANDMARK_TRAINER_HILL (SYSTEM_FLAGS + 0x82)
# define FLAG_UNUSED_0x8E3 (SYSTEM_FLAGS + 0x83) // Unused Flag
2019-01-03 02:54:55 +01:00
# define FLAG_RECEIVED_POKEDEX_FROM_BIRCH (SYSTEM_FLAGS + 0x84)
2019-01-02 22:12:43 +01:00
# define FLAG_UNUSED_0x8E5 (SYSTEM_FLAGS + 0x85) // Unused Flag
# define FLAG_UNUSED_0x8E6 (SYSTEM_FLAGS + 0x86) // Unused Flag
# define FLAG_UNUSED_0x8E7 (SYSTEM_FLAGS + 0x87) // Unused Flag
# define FLAG_UNUSED_0x8E8 (SYSTEM_FLAGS + 0x88) // Unused Flag
# define FLAG_UNUSED_0x8E9 (SYSTEM_FLAGS + 0x89) // Unused Flag
# define FLAG_UNUSED_0x8EA (SYSTEM_FLAGS + 0x8A) // Unused Flag
# define FLAG_UNUSED_0x8EB (SYSTEM_FLAGS + 0x8B) // Unused Flag
# define FLAG_UNUSED_0x8EC (SYSTEM_FLAGS + 0x8C) // Unused Flag
# define FLAG_UNUSED_0x8ED (SYSTEM_FLAGS + 0x8D) // Unused Flag
# define FLAG_UNUSED_0x8EE (SYSTEM_FLAGS + 0x8E) // Unused Flag
# define FLAG_UNUSED_0x8EF (SYSTEM_FLAGS + 0x8F) // Unused Flag
# define FLAG_UNUSED_0x8F0 (SYSTEM_FLAGS + 0x90) // Unused Flag
# define FLAG_UNUSED_0x8F1 (SYSTEM_FLAGS + 0x91) // Unused Flag
# define FLAG_UNUSED_0x8F2 (SYSTEM_FLAGS + 0x92) // Unused Flag
# define FLAG_UNUSED_0x8F3 (SYSTEM_FLAGS + 0x93) // Unused Flag
# define FLAG_UNUSED_0x8F4 (SYSTEM_FLAGS + 0x94) // Unused Flag
# define FLAG_UNUSED_0x8F5 (SYSTEM_FLAGS + 0x95) // Unused Flag
# define FLAG_UNUSED_0x8F6 (SYSTEM_FLAGS + 0x96) // Unused Flag
# define FLAG_UNUSED_0x8F7 (SYSTEM_FLAGS + 0x97) // Unused Flag
# define FLAG_UNUSED_0x8F8 (SYSTEM_FLAGS + 0x98) // Unused Flag
# define FLAG_UNUSED_0x8F9 (SYSTEM_FLAGS + 0x99) // Unused Flag
# define FLAG_UNUSED_0x8FA (SYSTEM_FLAGS + 0x9A) // Unused Flag
# define FLAG_UNUSED_0x8FB (SYSTEM_FLAGS + 0x9B) // Unused Flag
# define FLAG_UNUSED_0x8FC (SYSTEM_FLAGS + 0x9C) // Unused Flag
# define FLAG_UNUSED_0x8FD (SYSTEM_FLAGS + 0x9D) // Unused Flag
# define FLAG_UNUSED_0x8FE (SYSTEM_FLAGS + 0x9E) // Unused Flag
# define FLAG_UNUSED_0x8FF (SYSTEM_FLAGS + 0x9F) // Unused Flag
# define FLAG_UNUSED_0x900 (SYSTEM_FLAGS + 0xA0) // Unused Flag
# define FLAG_UNUSED_0x901 (SYSTEM_FLAGS + 0xA1) // Unused Flag
# define FLAG_UNUSED_0x902 (SYSTEM_FLAGS + 0xA2) // Unused Flag
# define FLAG_UNUSED_0x903 (SYSTEM_FLAGS + 0xA3) // Unused Flag
# define FLAG_UNUSED_0x904 (SYSTEM_FLAGS + 0xA4) // Unused Flag
# define FLAG_UNUSED_0x905 (SYSTEM_FLAGS + 0xA5) // Unused Flag
# define FLAG_UNUSED_0x906 (SYSTEM_FLAGS + 0xA6) // Unused Flag
# define FLAG_UNUSED_0x907 (SYSTEM_FLAGS + 0xA7) // Unused Flag
# define FLAG_UNUSED_0x908 (SYSTEM_FLAGS + 0xA8) // Unused Flag
# define FLAG_UNUSED_0x909 (SYSTEM_FLAGS + 0xA9) // Unused Flag
# define FLAG_UNUSED_0x90A (SYSTEM_FLAGS + 0xAA) // Unused Flag
# define FLAG_UNUSED_0x90B (SYSTEM_FLAGS + 0xAB) // Unused Flag
# define FLAG_UNUSED_0x90C (SYSTEM_FLAGS + 0xAC) // Unused Flag
# define FLAG_UNUSED_0x90D (SYSTEM_FLAGS + 0xAD) // Unused Flag
# define FLAG_UNUSED_0x90E (SYSTEM_FLAGS + 0xAE) // Unused Flag
# define FLAG_UNUSED_0x90F (SYSTEM_FLAGS + 0xAF) // Unused Flag
# define FLAG_UNUSED_0x910 (SYSTEM_FLAGS + 0xB0) // Unused Flag
# define FLAG_UNUSED_0x911 (SYSTEM_FLAGS + 0xB1) // Unused Flag
# define FLAG_UNUSED_0x912 (SYSTEM_FLAGS + 0xB2) // Unused Flag
# define FLAG_UNUSED_0x913 (SYSTEM_FLAGS + 0xB3) // Unused Flag
# define FLAG_UNUSED_0x914 (SYSTEM_FLAGS + 0xB4) // Unused Flag
# define FLAG_UNUSED_0x915 (SYSTEM_FLAGS + 0xB5) // Unused Flag
# define FLAG_UNUSED_0x916 (SYSTEM_FLAGS + 0xB6) // Unused Flag
# define FLAG_UNUSED_0x917 (SYSTEM_FLAGS + 0xB7) // Unused Flag
# define FLAG_UNUSED_0x918 (SYSTEM_FLAGS + 0xB8) // Unused Flag
# define FLAG_UNUSED_0x919 (SYSTEM_FLAGS + 0xB9) // Unused Flag
# define FLAG_UNUSED_0x91A (SYSTEM_FLAGS + 0xBA) // Unused Flag
# define FLAG_UNUSED_0x91B (SYSTEM_FLAGS + 0xBB) // Unused Flag
# define FLAG_UNUSED_0x91C (SYSTEM_FLAGS + 0xBC) // Unused Flag
# define FLAG_UNUSED_0x91D (SYSTEM_FLAGS + 0xBD) // Unused Flag
# define FLAG_UNUSED_0x91E (SYSTEM_FLAGS + 0xBE) // Unused Flag
# define FLAG_UNUSED_0x91F (SYSTEM_FLAGS + 0xBF) // Unused Flag
// Daily Flags
# define FLAG_DAILY_0x920 (SYSTEM_FLAGS + 0xC0)
2019-01-03 02:54:55 +01:00
# define FLAG_DAILY_CONTEST_LOBBY_RECEIVED_BERRY (SYSTEM_FLAGS + 0xC1)
2019-01-02 22:12:43 +01:00
# define FLAG_DAILY_SECRET_BASE (SYSTEM_FLAGS + 0xC2)
# define FLAG_DAILY_0x923 (SYSTEM_FLAGS + 0xC3)
# define FLAG_DAILY_0x924 (SYSTEM_FLAGS + 0xC4)
# define FLAG_DAILY_0x925 (SYSTEM_FLAGS + 0xC5)
# define FLAG_DAILY_0x926 (SYSTEM_FLAGS + 0xC6)
# define FLAG_DAILY_0x927 (SYSTEM_FLAGS + 0xC7)
# define FLAG_DAILY_0x928 (SYSTEM_FLAGS + 0xC8)
# define FLAG_DAILY_0x929 (SYSTEM_FLAGS + 0xC9)
# define FLAG_DAILY_PICKED_LOTO_TICKET (SYSTEM_FLAGS + 0xCA)
2019-01-03 02:54:55 +01:00
# define FLAG_DAILY_ROUTE_114_RECEIVED_BERRY (SYSTEM_FLAGS + 0xCB)
# define FLAG_DAILY_ROUTE_111_RECEIVED_BERRY (SYSTEM_FLAGS + 0xCC)
# define FLAG_DAILY_BERRY_MASTER_RECEIVED_BERRY (SYSTEM_FLAGS + 0xCD)
# define FLAG_DAILY_ROUTE_120_RECEIVED_BERRY (SYSTEM_FLAGS + 0xCE)
# define FLAG_DAILY_LILYCOVE_RECEIVED_BERRY (SYSTEM_FLAGS + 0xCF)
# define FLAG_DAILY_FLOWER_SHOP_RECEIVED_BERRY (SYSTEM_FLAGS + 0xD0)
2019-01-02 22:12:43 +01:00
# define FLAG_DAILY_BERRY_MASTERS_WIFE (SYSTEM_FLAGS + 0xD1)
2019-01-03 02:54:55 +01:00
# define FLAG_DAILY_SOOTOPOLIS_RECEIVED_BERRY (SYSTEM_FLAGS + 0xD2)
2019-01-02 22:12:43 +01:00
# define FLAG_DAILY_0x933 (SYSTEM_FLAGS + 0xD3)
# define FLAG_DAILY_APPRENTICE_LEAVES (SYSTEM_FLAGS + 0xD4)
# define FLAG_0x935 (SYSTEM_FLAGS + 0xD5)
# define FLAG_0x936 (SYSTEM_FLAGS + 0xD6)
# define FLAG_0x937 (SYSTEM_FLAGS + 0xD7)
# define FLAG_0x938 (SYSTEM_FLAGS + 0xD8)
# define FLAG_0x939 (SYSTEM_FLAGS + 0xD9)
# define FLAG_0x93A (SYSTEM_FLAGS + 0xDA)
# define FLAG_0x93B (SYSTEM_FLAGS + 0xDB)
# define FLAG_0x93C (SYSTEM_FLAGS + 0xDC)
# define FLAG_0x93D (SYSTEM_FLAGS + 0xDD)
# define FLAG_0x93E (SYSTEM_FLAGS + 0xDE)
# define FLAG_0x93F (SYSTEM_FLAGS + 0xDF)
# define FLAG_0x940 (SYSTEM_FLAGS + 0xE0)
# define FLAG_0x941 (SYSTEM_FLAGS + 0xE1)
# define FLAG_0x942 (SYSTEM_FLAGS + 0xE2)
# define FLAG_0x943 (SYSTEM_FLAGS + 0xE3)
# define FLAG_0x944 (SYSTEM_FLAGS + 0xE4)
# define FLAG_0x945 (SYSTEM_FLAGS + 0xE5)
# define FLAG_0x946 (SYSTEM_FLAGS + 0xE6)
# define FLAG_0x947 (SYSTEM_FLAGS + 0xE7)
# define FLAG_0x948 (SYSTEM_FLAGS + 0xE8)
# define FLAG_0x949 (SYSTEM_FLAGS + 0xE9)
# define FLAG_0x94A (SYSTEM_FLAGS + 0xEA)
# define FLAG_0x94B (SYSTEM_FLAGS + 0xEB)
# define FLAG_0x94C (SYSTEM_FLAGS + 0xEC)
# define FLAG_0x94D (SYSTEM_FLAGS + 0xED)
# define FLAG_0x94E (SYSTEM_FLAGS + 0xEE)
# define FLAG_0x94F (SYSTEM_FLAGS + 0xEF)
# define FLAG_0x950 (SYSTEM_FLAGS + 0xF0)
# define FLAG_0x951 (SYSTEM_FLAGS + 0xF1)
# define FLAG_0x952 (SYSTEM_FLAGS + 0xF2)
# define FLAG_0x953 (SYSTEM_FLAGS + 0xF3)
# define FLAG_0x954 (SYSTEM_FLAGS + 0xF4)
# define FLAG_0x955 (SYSTEM_FLAGS + 0xF5)
# define FLAG_0x956 (SYSTEM_FLAGS + 0xF6)
# define FLAG_0x957 (SYSTEM_FLAGS + 0xF7)
# define FLAG_0x958 (SYSTEM_FLAGS + 0xF8)
# define FLAG_0x959 (SYSTEM_FLAGS + 0xF9)
# define FLAG_0x95A (SYSTEM_FLAGS + 0xFA)
# define FLAG_0x95B (SYSTEM_FLAGS + 0xFB)
# define FLAG_0x95C (SYSTEM_FLAGS + 0xFC)
# define FLAG_0x95D (SYSTEM_FLAGS + 0xFD)
# define FLAG_0x95E (SYSTEM_FLAGS + 0xFE)
# define FLAG_0x95F (SYSTEM_FLAGS + 0xFF)
// Special Flags (Unknown)
# define SPECIAL_FLAGS_START 0x4000
2019-03-10 13:10:59 +01:00
# define FLAG_HIDE_MAP_NAME_POPUP 0x4000
2019-01-02 22:12:43 +01:00
# define FLAG_SPECIAL_FLAG_0x4001 0x4001
# define FLAG_SPECIAL_FLAG_0x4002 0x4002
# define FLAG_SPECIAL_FLAG_0x4003 0x4003
# define FLAG_SPECIAL_FLAG_0x4004 0x4004
2017-09-02 21:43:53 +02:00
2017-12-05 18:55:48 +01:00
# endif // GUARD_CONSTANTS_FLAGS_H