.equiv FLAG_TRAINER_FLAG_START, 0x500 .equiv TRAINERS_FLAG_NO, 0x356 .equiv CODE_FLAGS, (FLAG_TRAINER_FLAG_START + TRAINERS_FLAG_NO + 0xA) @ 0x860 @ SYSTEM FLAGS .equiv FLAG_SYS_POKEMON_GET, CODE_FLAGS + 0x0 .equiv FLAG_SYS_POKEDEX_GET, CODE_FLAGS + 0x1 .equiv FLAG_SYS_POKENAV_GET, CODE_FLAGS + 0x2 @ third one appears unused .equiv FLAG_SYS_GAME_CLEAR, CODE_FLAGS + 0x4 .equiv FLAG_SYS_CHAT_USED, CODE_FLAGS + 0x5 .equiv FLAG_SYS_HIPSTER_MEET, CODE_FLAGS + 0x6 @ badges .equiv FLAG_BADGE01_GET, CODE_FLAGS + 0x7 .equiv FLAG_BADGE02_GET, CODE_FLAGS + 0x8 .equiv FLAG_BADGE03_GET, CODE_FLAGS + 0x9 .equiv FLAG_BADGE04_GET, CODE_FLAGS + 0xA .equiv FLAG_BADGE05_GET, CODE_FLAGS + 0xB .equiv FLAG_BADGE06_GET, CODE_FLAGS + 0xC .equiv FLAG_BADGE07_GET, CODE_FLAGS + 0xD .equiv FLAG_BADGE08_GET, CODE_FLAGS + 0xE @ cities and towns .equiv FLAG_VISITED_LITTLEROOT_TOWN, CODE_FLAGS + 0xF .equiv FLAG_VISITED_OLDALE_TOWN, CODE_FLAGS + 0x10 .equiv FLAG_VISITED_DEWFORD_TOWN, CODE_FLAGS + 0x11 .equiv FLAG_VISITED_LAVARIDGE_TOWN, CODE_FLAGS + 0x12 .equiv FLAG_VISITED_FALLARBOR_TOWN, CODE_FLAGS + 0x13 .equiv FLAG_VISITED_VERDANTURF_TOWN, CODE_FLAGS + 0x14 .equiv FLAG_VISITED_PACIFIDLOG_TOWN, CODE_FLAGS + 0x15 .equiv FLAG_VISITED_PETALBURG_CITY, CODE_FLAGS + 0x16 .equiv FLAG_VISITED_SLATEPORT_CITY, CODE_FLAGS + 0x17 .equiv FLAG_VISITED_MAUVILLE_CITY, CODE_FLAGS + 0x18 .equiv FLAG_VISITED_RUSTBORO_CITY, CODE_FLAGS + 0x19 .equiv FLAG_VISITED_FORTREE_CITY, CODE_FLAGS + 0x1A .equiv FLAG_VISITED_LILYCOVE_CITY, CODE_FLAGS + 0x1B .equiv FLAG_VISITED_MOSSDEEP_CITY, CODE_FLAGS + 0x1C .equiv FLAG_VISITED_SOOTOPOLIS_CITY, CODE_FLAGS + 0x1D .equiv FLAG_VISITED_EVER_GRANDE_CITY, CODE_FLAGS + 0x1E .equiv FLAG_SYS_UNKNOWN_880, CODE_FLAGS + 0x20 .equiv FLAG_SYS_USE_FLASH, CODE_FLAGS + 0x28 .equiv FLAG_SYS_USE_STRENGTH, CODE_FLAGS + 0x29 .equiv FLAG_SYS_WEATHER_CTRL, CODE_FLAGS + 0x2A .equiv FLAG_SYS_CYCLING_ROAD, CODE_FLAGS + 0x2B .equiv FLAG_SYS_SAFARI_MODE, CODE_FLAGS + 0x2C .equiv FLAG_SYS_CRUISE_MODE, CODE_FLAGS + 0x2D .equiv FLAG_SYS_TV_HOME, CODE_FLAGS + 0x30 .equiv FLAG_SYS_TV_WATCH, CODE_FLAGS + 0x31 .equiv FLAG_SYS_TV_START, CODE_FLAGS + 0x32 .equiv FLAG_SYS_POPWORD_INPUT, CODE_FLAGS + 0x33 .equiv FLAG_SYS_MIX_RECORD, CODE_FLAGS + 0x34 .equiv FLAG_SYS_CLOCK_SET, CODE_FLAGS + 0x35 .equiv FLAG_SYS_NATIONAL_DEX, CODE_FLAGS + 0x36 .equiv FLAG_SYS_CAVE_SHIP, CODE_FLAGS + 0x37 .equiv FLAG_SYS_CAVE_WONDER, CODE_FLAGS + 0x38 .equiv FLAG_SYS_CAVE_BATTLE, CODE_FLAGS + 0x39 .equiv FLAG_SYS_SHOAL_TIDE, CODE_FLAGS + 0x3A .equiv FLAG_SYS_RIBBON_GET, CODE_FLAGS + 0x3B .equiv FLAG_SYS_PC_LANETTE, CODE_FLAGS + 0x4B .equiv FLAG_SYS_MYSTERY_EVENT_ENABLE, CODE_FLAGS + 0x4C .equiv FLAG_SYS_ENC_UP_ITEM, CODE_FLAGS + 0x4D .equiv FLAG_SYS_ENC_DOWN_ITEM, CODE_FLAGS + 0x4E .equiv FLAG_SYS_BRAILLE_DIG, CODE_FLAGS + 0x4F .equiv FLAG_SYS_BRAILLE_STRENGTH, CODE_FLAGS + 0x50 .equiv FLAG_SYS_BRAILLE_WAIT, CODE_FLAGS + 0x51 .equiv FLAG_SYS_BRAILLE_FLY, CODE_FLAGS + 0x52 .equiv FLAG_SYS_HAS_EON_TICKET, CODE_FLAGS + 0x53 .equiv FLAG_SYS_POKEMON_LEAGUE_FLY, CODE_FLAGS + 0x54 .equiv FLAG_SYS_TV_LATI, CODE_FLAGS + 0x5D .equiv FLAG_SYS_SHOAL_ITEM, CODE_FLAGS + 0x5F .equiv FLAG_SYS_B_DASH, CODE_FLAGS + 0x60 @ got Running Shoes .equiv FLAG_SYS_CTRL_OBJ_DELETE, CODE_FLAGS + 0x61 .equiv FLAG_SYS_RESET_RTC_ENABLE, CODE_FLAGS + 0x62 .equiv FLAG_SYS_TOWER_SILVER, CODE_FLAGS + 0x64 .equiv FLAG_SYS_TOWER_GOLD, CODE_FLAGS + 0x65 .equiv FLAG_SYS_DOME_SILVER, CODE_FLAGS + 0x66 .equiv FLAG_SYS_DOME_GOLD, CODE_FLAGS + 0x67 .equiv FLAG_SYS_PALACE_SILVER, CODE_FLAGS + 0x68 .equiv FLAG_SYS_PALACE_GOLD, CODE_FLAGS + 0x69 .equiv FLAG_SYS_ARENA_SILVER, CODE_FLAGS + 0x6A .equiv FLAG_SYS_ARENA_GOLD, CODE_FLAGS + 0x6B .equiv FLAG_SYS_FACTORY_SILVER, CODE_FLAGS + 0x6C .equiv FLAG_SYS_FACTORY_GOLD, CODE_FLAGS + 0x6D .equiv FLAG_SYS_PIKE_SILVER, CODE_FLAGS + 0x6E .equiv FLAG_SYS_PIKE_GOLD, CODE_FLAGS + 0x6F .equiv FLAG_SYS_PYRAMID_SILVER, CODE_FLAGS + 0x70 .equiv FLAG_SYS_PYRAMID_GOLD, CODE_FLAGS + 0x71 .equiv FLAG_SYS_FRONTIER_PASS, CODE_FLAGS + 0x72 .equiv FLAG_SYS_STORAGE_UNKNOWN_FLAG, CODE_FLAGS + 0x77 .equiv FLAG_SYS_MYSTERY_GIFT_ENABLE, CODE_FLAGS + 0x7B @ SPECIAL FLAGS (unknown purpose) .equiv SPECIAL_FLAG_1, 0x4001