code:
#ifndef GUARD_METATILE_LABELS_H
#define GUARD_METATILE_LABELS_H

// gTileset_General
#define METATILE_General_Grass                0x001
#define METATILE_General_TallGrass            0x00D
#define METATILE_General_LongGrass            0x015
#define METATILE_General_TallGrass_TreeUp     0x025
#define METATILE_General_Grass_TreeUp         0x00E
#define METATILE_General_TallGrass_TreeLeft   0x1C6
#define METATILE_General_TallGrass_TreeRight  0x1C7
#define METATILE_General_Grass_TreeLeft       0x1CE
#define METATILE_General_Grass_TreeRight      0x1CF
#define METATILE_General_MuddySlope_Frame0    0x0E8
#define METATILE_General_MuddySlope_Frame1    0x0E9
#define METATILE_General_MuddySlope_Frame2    0x0EA
#define METATILE_General_MuddySlope_Frame3    0x0EB
#define METATILE_General_SandPit_Center       0x121
#define METATILE_General_Door                 0x021
#define METATILE_General_Door_PokeMart        0x041
#define METATILE_General_Door_PokeCenter      0x061
#define METATILE_General_Door_Gym             0x1CD
#define METATILE_General_Door_Contest         0x1DB
#define METATILE_General_CaveEntrance_Top     0x09F
#define METATILE_General_CaveEntrance_Bottom  0x0A7
#define METATILE_General_RockWall_GrassBase   0x079
#define METATILE_General_RockWall_RockBase    0x07C
#define METATILE_General_RockWall_SandBase    0x091
#define METATILE_General_CalmWater            0x170
#define METATILE_General_RoughWater           0x14E
#define METATILE_General_RoughDeepWater       0x14F
#define METATILE_General_ReflectiveWater      0x0A1
#define METATILE_General_SecretBase_TreeLeft  0x026
#define METATILE_General_SecretBase_TreeRight 0x027
#define METATILE_General_SecretBase_VineLeft  0x036
#define METATILE_General_SecretBase_VineRight 0x037
#define METATILE_General_RedCaveIndent        0x1A0
#define METATILE_General_RedCaveOpen          0x1A1
#define METATILE_General_YellowCaveIndent     0x1A8
#define METATILE_General_YellowCaveOpen       0x1A9
#define METATILE_General_BlueCaveIndent       0x1B0
#define METATILE_General_BlueCaveOpen         0x1B1

// gTileset_Building
#define METATILE_Building_PC_Off 0x004
#define METATILE_Building_PC_On  0x005

// gTileset_PokemonCenter
#define METATILE_PokemonCenter_Door_CableClub  0x264

// gTileset_Shop
#define METATILE_Shop_Door_Elevator 0x285

// gTileset_Petalburg
#define METATILE_Petalburg_Door_Littleroot    0x248
#define METATILE_Petalburg_Door_BirchsLab     0x249
#define METATILE_Petalburg_Door_Oldale        0x287

// gTileset_Rustboro
#define METATILE_Rustboro_Door_Gray  0x21F
#define METATILE_Rustboro_Door_Tan   0x22F

// gTileset_MauvilleGym
#define METATILE_MauvilleGym_RaisedSwitch    0x205
#define METATILE_MauvilleGym_PressedSwitch   0x206
#define METATILE_MauvilleGym_FloorTile       0x21A
#define METATILE_MauvilleGym_GreenBeamH1_On  0x220
#define METATILE_MauvilleGym_GreenBeamH2_On  0x221
#define METATILE_MauvilleGym_GreenBeamH3_On  0x228
#define METATILE_MauvilleGym_GreenBeamH4_On  0x229
#define METATILE_MauvilleGym_GreenBeamH1_Off 0x230
#define METATILE_MauvilleGym_GreenBeamH2_Off 0x231
#define METATILE_MauvilleGym_GreenBeamH3_Off 0x238
#define METATILE_MauvilleGym_GreenBeamH4_Off 0x239
#define METATILE_MauvilleGym_RedBeamH1_On    0x222
#define METATILE_MauvilleGym_RedBeamH2_On    0x223
#define METATILE_MauvilleGym_RedBeamH3_On    0x22A
#define METATILE_MauvilleGym_RedBeamH4_On    0x22B
#define METATILE_MauvilleGym_RedBeamH1_Off   0x232
#define METATILE_MauvilleGym_RedBeamH2_Off   0x233
#define METATILE_MauvilleGym_RedBeamH3_Off   0x23A
#define METATILE_MauvilleGym_RedBeamH4_Off   0x23B
#define METATILE_MauvilleGym_GreenBeamV1_On  0x240
#define METATILE_MauvilleGym_GreenBeamV2_On  0x248
#define METATILE_MauvilleGym_RedBeamV1_On    0x241
#define METATILE_MauvilleGym_RedBeamV2_On    0x249
#define METATILE_MauvilleGym_PoleTop_On      0x250
#define METATILE_MauvilleGym_PoleTop_Off     0x251
#define METATILE_MauvilleGym_PoleBottom_On   0x242
#define METATILE_MauvilleGym_PoleBottom_Off  0x243

// gTileset_PetalburgGym
#define METATILE_PetalburgGym_RoomEntrance_Left  0x210
#define METATILE_PetalburgGym_RoomEntrance_Right 0x211
#define METATILE_PetalburgGym_SlidingDoor_Frame0 0x218
#define METATILE_PetalburgGym_SlidingDoor_Frame1 0x219
#define METATILE_PetalburgGym_SlidingDoor_Frame2 0x21A
#define METATILE_PetalburgGym_SlidingDoor_Frame3 0x21B
#define METATILE_PetalburgGym_SlidingDoor_Frame4 0x21C

// gTileset_MossdeepGym from R/S
#define METATILE_RS_MossdeepGym_RedArrow_Right        0x204
#define METATILE_RS_MossdeepGym_RedArrow_Left         0x20C
#define METATILE_RS_MossdeepGym_RedArrow_Up           0x20D
#define METATILE_RS_MossdeepGym_RedArrow_Down         0x205
#define METATILE_RS_MossdeepGym_Switch_Up             0x238
#define METATILE_RS_MossdeepGym_Switch_Down           0x239

// gTileset_MossdeepGym from Emerald
#define METATILE_MossdeepGym_YellowArrow_Right        0x250

// gTileset_BrendansMaysHouse
#define METATILE_BrendansMaysHouse_BrendanPC_Off    0x25A
#define METATILE_BrendansMaysHouse_BrendanPC_On     0x27F
#define METATILE_BrendansMaysHouse_MayPC_Off        0x259
#define METATILE_BrendansMaysHouse_MayPC_On         0x27E
#define METATILE_BrendansMaysHouse_MovingBox_Closed 0x268
#define METATILE_BrendansMaysHouse_MovingBox_Open   0x270
#define METATILE_BrendansMaysHouse_BookOnTable      0x293

// gTileset_Shop
#define METATILE_Shop_Laptop1_Normal 0x29D
#define METATILE_Shop_Laptop2_Normal 0x2A5
#define METATILE_Shop_Laptop1_Flash  0x258
#define METATILE_Shop_Laptop2_Flash  0x260

// gTileset_BattleFrontier
#define METATILE_BattleFrontier_Door_Elevator           0x20E
#define METATILE_BattleFrontier_Door_Corridor           0x224
#define METATILE_BattleFrontier_Door_MultiCorridor      0x2AD
#define METATILE_BattleFrontier_CorridorOpenDoor_Top    0x207
#define METATILE_BattleFrontier_CorridorOpenDoor_Bottom 0x20F
#define METATILE_BattleFrontier_Elevator_Top0           0x329
#define METATILE_BattleFrontier_Elevator_Top1           0x32A
#define METATILE_BattleFrontier_Elevator_Top2           0x32B
#define METATILE_BattleFrontier_Elevator_Mid0           0x331
#define METATILE_BattleFrontier_Elevator_Mid1           0x332
#define METATILE_BattleFrontier_Elevator_Mid2           0x333
#define METATILE_BattleFrontier_Elevator_Bottom0        0x339
#define METATILE_BattleFrontier_Elevator_Bottom1        0x33A
#define METATILE_BattleFrontier_Elevator_Bottom2        0x33B

// gTileset_BattleFrontierOutsideWest
#define METATILE_BattleFrontierOutsideWest_Door_BattleFactory  0x263
#define METATILE_BattleFrontierOutsideWest_Door_BattleDome     0x28A
#define METATILE_BattleFrontierOutsideWest_Door_Sliding        0x396
#define METATILE_BattleFrontierOutsideWest_Door                0x3FC

// gTileset_BattleFrontierOutsideEast
#define METATILE_BattleFrontierOutsideEast_Door_BattleArena  0x291
#define METATILE_BattleFrontierOutsideEast_Door_BattleTower  0x329
#define METATILE_BattleFrontierOutsideEast_Door_Sliding      0x396
#define METATILE_BattleFrontierOutsideEast_Door              0x3FC

// gTileset_BattleDome
#define METATILE_BattleDome_Door_Lobby          0x209
#define METATILE_BattleDome_Door_PreBattleRoom  0x20A
#define METATILE_BattleDome_Door_Corridor       0x25E

// gTileset_BattleArena
#define METATILE_BattleArena_Door  0x21B

// gTileset_BattlePalace
#define METATILE_BattlePalace_Door  0x219

// gTileset_Cave
#define METATILE_Cave_EntranceCover                     0x229
#define METATILE_Cave_SealedChamberEntrance_TopLeft     0x22A
#define METATILE_Cave_SealedChamberEntrance_TopMid      0x22B
#define METATILE_Cave_SealedChamberEntrance_TopRight    0x22C
#define METATILE_Cave_SealedChamberEntrance_BottomLeft  0x232
#define METATILE_Cave_SealedChamberEntrance_BottomMid   0x233
#define METATILE_Cave_SealedChamberEntrance_BottomRight 0x234
#define METATILE_Cave_SealedChamberBraille_Mid          0x235
#define METATILE_Cave_ShoalCave_DirtPile_Large          0x358
#define METATILE_Cave_ShoalCave_DirtPile_Small          0x35A
#define METATILE_Cave_ShoalCave_BlueStone_Large         0x359
#define METATILE_Cave_ShoalCave_BlueStone_Small         0x35B

// gTileset_Pacifidlog
#define METATILE_Pacifidlog_Door                          0x21A
#define METATILE_Pacifidlog_FloatingLogs_Horizontal0      0x250
#define METATILE_Pacifidlog_FloatingLogs_Horizontal1      0x251
#define METATILE_Pacifidlog_HalfSubmergedLogs_Horizontal0 0x252
#define METATILE_Pacifidlog_HalfSubmergedLogs_Horizontal1 0x253
#define METATILE_Pacifidlog_SubmergedLogs_Horizontal0     0x254
#define METATILE_Pacifidlog_SubmergedLogs_Horizontal1     0x255
#define METATILE_Pacifidlog_FloatingLogs_Vertical0        0x258
#define METATILE_Pacifidlog_FloatingLogs_Vertical1        0x260
#define METATILE_Pacifidlog_HalfSubmergedLogs_Vertical0   0x259
#define METATILE_Pacifidlog_HalfSubmergedLogs_Vertical1   0x261
#define METATILE_Pacifidlog_SubmergedLogs_Vertical0       0x25A
#define METATILE_Pacifidlog_SubmergedLogs_Vertical1       0x262
#define METATILE_Pacifidlog_SkyPillar_DoorOpen_Top        0x2AA
#define METATILE_Pacifidlog_SkyPillar_DoorOpen_Bottom     0x2B2

// gTileset_Fortree
#define METATILE_Fortree_LongGrass_Root                   0x208
#define METATILE_Fortree_BridgeOverGrass_Raised           0x24E
#define METATILE_Fortree_BridgeOverGrass_Lowered          0x24F
#define METATILE_Fortree_BridgeOverTrees_Raised           0x256
#define METATILE_Fortree_BridgeOverTrees_Lowered          0x257
#define METATILE_Fortree_SecretBase_Shrub                 0x271
#define METATILE_Fortree_SecretBase_ShrubOpen             0x278
#define METATILE_Fortree_SecretBase_LongGrass_TopLeft     0x279
#define METATILE_Fortree_SecretBase_LongGrass_TopMid      0x27A
#define METATILE_Fortree_SecretBase_LongGrass_TopRight    0x27B
#define METATILE_Fortree_SecretBase_LongGrass_BottomLeft  0x281
#define METATILE_Fortree_SecretBase_LongGrass_BottomMid   0x282
#define METATILE_Fortree_SecretBase_LongGrass_BottomRight 0x283
#define METATILE_Fortree_WoodBridge1_Top                  0x297
#define METATILE_Fortree_WoodBridge1_Bottom               0x29F

// gTileset_Sootopolis
#define METATILE_Sootopolis_Door             0x21E
#define METATILE_Sootopolis_Door_PeakedRoof  0x21C
#define METATILE_Sootopolis_Door_Closed      0x248
#define METATILE_Sootopolis_GymDoor_Closed   0x250
#define METATILE_Sootopolis_RoughWater       0x290

// gTileset_SootopolisGym
#define METATILE_SootopolisGym_Ice_Cracked  0x20E
#define METATILE_SootopolisGym_Ice_Broken   0x206
#define METATILE_SootopolisGym_Stairs       0x207

// gTileset_Fallarbor
#define METATILE_Fallarbor_AshGrass                 0x20A
#define METATILE_Fallarbor_BrownCaveIndent          0x208
#define METATILE_Fallarbor_BrownCaveOpen            0x210
#define METATILE_Fallarbor_NormalGrass              0x212
#define METATILE_Fallarbor_AshField                 0x218
#define METATILE_Fallarbor_BrownCaveEntrance_Top    0x259
#define METATILE_Fallarbor_BrownCaveEntrance_Bottom 0x261
#define METATILE_Fallarbor_RedCaveEntrance_Top      0x347
#define METATILE_Fallarbor_RedCaveEntrance_Bottom   0x34F
#define METATILE_Fallarbor_BrownRockWall            0x265
#define METATILE_Fallarbor_RedRockWall              0x269
#define METATILE_Fallarbor_Door_LightRoof           0x2A5
#define METATILE_Fallarbor_Door_DarkRoof            0x2F7
#define METATILE_Fallarbor_Door_BattleTent          0x36C

// gTileset_Lavaridge
#define METATILE_Lavaridge_NormalGrass         0x206
#define METATILE_Lavaridge_AshGrass            0x207
#define METATILE_Lavaridge_LavaField           0x271
#define METATILE_Lavaridge_RockWall            0x274
#define METATILE_Lavaridge_CaveEntrance_Top    0x256
#define METATILE_Lavaridge_CaveEntrance_Bottom 0x25E

// gTileset_Mauville
#define METATILE_Mauville_Door               0x2AC
#define METATILE_Mauville_Door_CyclingRoad   0x289
#define METATILE_Mauville_Door_Verdanturf    0x3A1
#define METATILE_Mauville_Door_BattleTent    0x3D4
#define METATILE_Mauville_DeepSand_Center    0x251
#define METATILE_Mauville_DeepSand_BottomMid 0x259
#define METATILE_Mauville_MirageTower_Tile0  0x3D8
#define METATILE_Mauville_MirageTower_Tile1  0x3D9
#define METATILE_Mauville_MirageTower_Tile2  0x3DA
#define METATILE_Mauville_MirageTower_Tile3  0x3E0
#define METATILE_Mauville_MirageTower_Tile4  0x3E1
#define METATILE_Mauville_MirageTower_Tile5  0x3E2
#define METATILE_Mauville_MirageTower_Tile6  0x3E8
#define METATILE_Mauville_MirageTower_Tile7  0x3E9
#define METATILE_Mauville_MirageTower_Tile8  0x3EA
#define METATILE_Mauville_MirageTower_Tile9  0x3F0
#define METATILE_Mauville_MirageTower_TileA  0x3F1
#define METATILE_Mauville_MirageTower_TileB  0x3F2
#define METATILE_Mauville_MirageTower_TileC  0x3DB
#define METATILE_Mauville_MirageTower_TileD  0x3DC
#define METATILE_Mauville_MirageTower_TileE  0x3DD
#define METATILE_Mauville_MirageTower_TileF  0x3E3
#define METATILE_Mauville_MirageTower_Tile10 0x3E4
#define METATILE_Mauville_MirageTower_Tile11 0x3E5

// gTileset_Dewford
#define METATILE_Dewford_Door              0x225
#define METATILE_Dewford_Door_BattleTower  0x25D

// gTileset_Slateport
#define METATILE_Slateport_Door             0x2DC
#define METATILE_Slateport_Door_BattleTent  0x393

// gTileset_Mossdeep
#define METATILE_Mossdeep_Door              0x2A1
#define METATILE_Mossdeep_Door_SpaceCenter  0x2ED

// gTileset_EverGrande
#define METATILE_EverGrande_Door_PokemonLeague  0x21D

// gTileset_PokemonCenter
#define METATILE_PokemonCenter_Escalator1F_Tile0_Frame0 0x280
#define METATILE_PokemonCenter_Escalator1F_Tile0_Frame1 0x282
#define METATILE_PokemonCenter_Escalator1F_Tile0_Frame2 0x284
#define METATILE_PokemonCenter_Escalator1F_Tile1_Frame0 0x281
#define METATILE_PokemonCenter_Escalator1F_Tile1_Frame1 0x283
#define METATILE_PokemonCenter_Escalator1F_Tile1_Frame2 0x285
#define METATILE_PokemonCenter_Escalator1F_Tile2_Frame0 0x288
#define METATILE_PokemonCenter_Escalator1F_Tile2_Frame1 0x28A
#define METATILE_PokemonCenter_Escalator1F_Tile2_Frame2 0x28C
#define METATILE_PokemonCenter_Escalator1F_Tile3_Frame0 0x289
#define METATILE_PokemonCenter_Escalator1F_Tile3_Frame1 0x28B
#define METATILE_PokemonCenter_Escalator1F_Tile3_Frame2 0x28D
#define METATILE_PokemonCenter_Escalator2F_Tile0_Frame0 0x2A0
#define METATILE_PokemonCenter_Escalator2F_Tile0_Frame1 0x2A2
#define METATILE_PokemonCenter_Escalator2F_Tile0_Frame2 0x2A4
#define METATILE_PokemonCenter_Escalator2F_Tile1_Frame0 0x2A1
#define METATILE_PokemonCenter_Escalator2F_Tile1_Frame1 0x2A3
#define METATILE_PokemonCenter_Escalator2F_Tile1_Frame2 0x2A5
#define METATILE_PokemonCenter_Escalator2F_Tile2_Frame0 0x2A8
#define METATILE_PokemonCenter_Escalator2F_Tile2_Frame1 0x2AA
#define METATILE_PokemonCenter_Escalator2F_Tile2_Frame2 0x2AC
#define METATILE_PokemonCenter_Floor_ShadowTop_Alt      0x2DC
#define METATILE_PokemonCenter_Floor_Plain_Alt          0x2E4
#define METATILE_PokemonCenter_Floor_ShadowTop          0x21E
#define METATILE_PokemonCenter_CounterBarrier           0x25D

// gTileset_InsideOfTruck
#define METATILE_InsideOfTruck_ExitLight_Top          0x208
#define METATILE_InsideOfTruck_ExitLight_Mid          0x210
#define METATILE_InsideOfTruck_ExitLight_Bottom       0x218
#define METATILE_InsideOfTruck_DoorClosedFloor_Top    0x20D
#define METATILE_InsideOfTruck_DoorClosedFloor_Mid    0x215
#define METATILE_InsideOfTruck_DoorClosedFloor_Bottom 0x21D

// gTileset_MossdeepGameCorner
#define METATILE_MossdeepGameCorner_CounterOpen_Top      0x22C
#define METATILE_MossdeepGameCorner_CounterOpen_Bottom   0x234
#define METATILE_MossdeepGameCorner_CounterClosed_Top    0x22A
#define METATILE_MossdeepGameCorner_CounterClosed_Bottom 0x232

// gTileset_EliteFour
#define METATILE_EliteFour_OpenDoor_Frame           0x344
#define METATILE_EliteFour_OpenDoor_Opening         0x345
#define METATILE_EliteFour_OpenDoorChampion_Frame   0x346
#define METATILE_EliteFour_OpenDoorChampion_Opening 0x347
#define METATILE_EliteFour_LeftSpotlightOff         0x2DD
#define METATILE_EliteFour_RightSpotlightOff        0x2DE
#define METATILE_EliteFour_EntryDoor_ClosedTop      0x206
#define METATILE_EliteFour_EntryDoor_ClosedBottom   0x20E

// gTileset_InsideShip
#define METATILE_InsideShip_IntactDoor_Bottom_Unlocked 0x22B
#define METATILE_InsideShip_IntactDoor_Bottom_Locked   0x233
#define METATILE_InsideShip_DoorIndent_Unlocked        0x21A
#define METATILE_InsideShip_DoorIndent_Locked          0x234
#define METATILE_InsideShip_IntactDoor_Bottom_Interior 0x297

// gTileset_BattlePike
#define METATILE_BattlePike_Curtain_Stage0_Tile0 0x24A
#define METATILE_BattlePike_Curtain_Stage0_Tile1 0x251
#define METATILE_BattlePike_Curtain_Stage0_Tile2 0x252
#define METATILE_BattlePike_Curtain_Stage0_Tile3 0x253
#define METATILE_BattlePike_Curtain_Stage0_Tile4 0x259
#define METATILE_BattlePike_Curtain_Stage0_Tile5 0x25A
#define METATILE_BattlePike_Curtain_Stage0_Tile6 0x25B
#define METATILE_BattlePike_Curtain_Stage1_Tile0 0x22A
#define METATILE_BattlePike_Curtain_Stage1_Tile1 0x231
#define METATILE_BattlePike_Curtain_Stage1_Tile2 0x232
#define METATILE_BattlePike_Curtain_Stage1_Tile3 0x233
#define METATILE_BattlePike_Curtain_Stage1_Tile4 0x239
#define METATILE_BattlePike_Curtain_Stage1_Tile5 0x23A
#define METATILE_BattlePike_Curtain_Stage1_Tile6 0x23B
#define METATILE_BattlePike_Curtain_Stage2_Tile0 0x20A
#define METATILE_BattlePike_Curtain_Stage2_Tile1 0x211
#define METATILE_BattlePike_Curtain_Stage2_Tile2 0x212
#define METATILE_BattlePike_Curtain_Stage2_Tile3 0x213
#define METATILE_BattlePike_Curtain_Stage2_Tile4 0x219
#define METATILE_BattlePike_Curtain_Stage2_Tile5 0x21A
#define METATILE_BattlePike_Curtain_Stage2_Tile6 0x21B
#define METATILE_BattlePike_Curtain_Stage3_Tile0 0x2AB
#define METATILE_BattlePike_Curtain_Stage3_Tile1 0x2B2
#define METATILE_BattlePike_Curtain_Stage3_Tile2 0x2B3
#define METATILE_BattlePike_Curtain_Stage3_Tile3 0x2B4
#define METATILE_BattlePike_Curtain_Stage3_Tile4 0x2BA
#define METATILE_BattlePike_Curtain_Stage3_Tile5 0x2BB
#define METATILE_BattlePike_Curtain_Stage3_Tile6 0x2BC

// gTileset_Lilycove
#define METATILE_Lilycove_Door            0x246
#define METATILE_Lilycove_Door_Wooden     0x28E
#define METATILE_Lilycove_Door_DeptStore  0x30C
#define METATILE_Lilycove_Door_SafariZone 0x32D
#define METATILE_Lilycove_Wailmer0        0x290
#define METATILE_Lilycove_Wailmer1        0x291
#define METATILE_Lilycove_Wailmer2        0x2A0
#define METATILE_Lilycove_Wailmer3        0x2A1
#define METATILE_Lilycove_Wailmer0_Alt    0x298
#define METATILE_Lilycove_Wailmer1_Alt    0x299

// gTileset_Contest
#define METATILE_Contest_WallShadow         0x221
#define METATILE_Contest_FloorShadow        0x261
#define METATILE_Contest_CounterFlap_Top    0x2D1
#define METATILE_Contest_CounterFlap_Bottom 0x2D9

// gTileset_BattleTent
#define METATILE_BattleTent_Door  0x26B

// gTileset_LilycoveMuseum
#define METATILE_LilycoveMuseum_Painting0_Left  0x25A
#define METATILE_LilycoveMuseum_Painting0_Right 0x25B
#define METATILE_LilycoveMuseum_Painting1_Left  0x25C
#define METATILE_LilycoveMuseum_Painting1_Right 0x25D
#define METATILE_LilycoveMuseum_Painting2_Left  0x25E
#define METATILE_LilycoveMuseum_Painting2_Right 0x25F
#define METATILE_LilycoveMuseum_Painting3_Left  0x260
#define METATILE_LilycoveMuseum_Painting3_Right 0x261
#define METATILE_LilycoveMuseum_Painting4_Left  0x262
#define METATILE_LilycoveMuseum_Painting4_Right 0x263

// gTileset_MeteorFalls
#define METATILE_MeteorFalls_CaveEntrance_Top    0x246
#define METATILE_MeteorFalls_CaveEntrance_Left   0x24D
#define METATILE_MeteorFalls_CaveEntrance_Bottom 0x24E
#define METATILE_MeteorFalls_CaveEntrance_Right  0x24F

// gTileset_Facility
#define METATILE_Facility_NewMauvilleDoor_Closed_Tile0 0x314
#define METATILE_Facility_NewMauvilleDoor_Closed_Tile1 0x315
#define METATILE_Facility_NewMauvilleDoor_Closed_Tile2 0x316
#define METATILE_Facility_NewMauvilleDoor_Closed_Tile3 0x31C
#define METATILE_Facility_NewMauvilleDoor_Closed_Tile4 0x31D
#define METATILE_Facility_NewMauvilleDoor_Closed_Tile5 0x31E
#define METATILE_Facility_NewMauvilleDoor_Open_Tile0   0x2C3
#define METATILE_Facility_NewMauvilleDoor_Open_Tile1   0x2C4
#define METATILE_Facility_NewMauvilleDoor_Open_Tile2   0x2C5
#define METATILE_Facility_NewMauvilleDoor_Open_Tile3   0x2CB
#define METATILE_Facility_NewMauvilleDoor_Open_Tile4   0x2CC
#define METATILE_Facility_NewMauvilleDoor_Open_Tile5   0x2CD
#define METATILE_Facility_DataPad                      0x3E4

// gTileset_GenericBuilding
#define METATILE_GenericBuilding_TableEdge              0x2F1
#define METATILE_GenericBuilding_TrickHouse_Door_Closed 0x21B
#define METATILE_GenericBuilding_TrickHouse_Stairs_Down 0x219

// gTileset_TrickHousePuzzle
#define METATILE_TrickHousePuzzle_Stairs_Down                0x20B
#define METATILE_TrickHousePuzzle_Lever_Off                  0x23E
#define METATILE_TrickHousePuzzle_Lever_On                   0x23F
#define METATILE_TrickHousePuzzle_Button_Up                  0x258
#define METATILE_TrickHousePuzzle_Button_Pressed             0x259
#define METATILE_TrickHousePuzzle_Door_Shuttered             0x26A
#define METATILE_TrickHousePuzzle_Floor_ShadowTop_Alt        0x252
#define METATILE_TrickHousePuzzle_Floor_ShadowTop            0x255
#define METATILE_TrickHousePuzzle_BlueDoorH_Open_Tile0       0x24B
#define METATILE_TrickHousePuzzle_BlueDoorH_Open_Tile1       0x24C
#define METATILE_TrickHousePuzzle_BlueDoorH_Open_Tile2       0x253
#define METATILE_TrickHousePuzzle_BlueDoorH_Open_Tile3       0x254
#define METATILE_TrickHousePuzzle_BlueDoorH_Closed_Tile0     0x23B
#define METATILE_TrickHousePuzzle_BlueDoorH_Closed_Tile1     0x23C
#define METATILE_TrickHousePuzzle_BlueDoorH_Closed_Tile2     0x243
#define METATILE_TrickHousePuzzle_BlueDoorH_Closed_Tile3     0x244
#define METATILE_TrickHousePuzzle_RedDoorH_Open_Tile0        0x248
#define METATILE_TrickHousePuzzle_RedDoorH_Open_Tile1        0x249
#define METATILE_TrickHousePuzzle_RedDoorH_Open_Tile2        0x250
#define METATILE_TrickHousePuzzle_RedDoorH_Open_Tile3        0x251
#define METATILE_TrickHousePuzzle_RedDoorH_Closed_Tile0      0x238
#define METATILE_TrickHousePuzzle_RedDoorH_Closed_Tile1      0x239
#define METATILE_TrickHousePuzzle_RedDoorH_Closed_Tile2      0x240
#define METATILE_TrickHousePuzzle_RedDoorH_Closed_Tile3      0x241
#define METATILE_TrickHousePuzzle_BlueDoorV_Retracted        0x24D
#define METATILE_TrickHousePuzzle_RedDoorV_Retracted         0x24A
#define METATILE_TrickHousePuzzle_RedDoorV_Open0             0x23A
#define METATILE_TrickHousePuzzle_RedDoorV_Open1             0x242
#define METATILE_TrickHousePuzzle_BlueDoorV_Open0            0x23D
#define METATILE_TrickHousePuzzle_BlueDoorV_Open1            0x245
#define METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Right     0x260
#define METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Left      0x261
#define METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Up        0x262
#define METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Down      0x263
#define METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Left_Alt  0x27B
#define METATILE_TrickHousePuzzle_Arrow_RedOnBlack_Right_Alt 0x27C
#define METATILE_TrickHousePuzzle_Arrow_YellowOnWhite_Right  0x298

// gTileset_BikeShop (also used by New Mauville)
#define METATILE_BikeShop_Barrier_Hidden_Top      0x269
#define METATILE_BikeShop_Barrier_Hidden_Bottom   0x271
#define METATILE_BikeShop_Floor_Shadow_Top        0x26D
#define METATILE_BikeShop_Wall_Edge_Top           0x281
#define METATILE_BikeShop_Button_Pressed          0x24F
#define METATILE_BikeShop_Button_Green            0x22E
#define METATILE_BikeShop_Button_Blue             0x236
#define METATILE_BikeShop_Barrier_Green_Top       0x2B6
#define METATILE_BikeShop_Barrier_Green_TopMid    0x2BE
#define METATILE_BikeShop_Barrier_Green_BottomMid 0x2C6
#define METATILE_BikeShop_Barrier_Green_Bottom    0x2CE
#define METATILE_BikeShop_Barrier_Blue_Top        0x2B7
#define METATILE_BikeShop_Barrier_Blue_TopMid     0x2BF
#define METATILE_BikeShop_Barrier_Blue_BottomMid  0x2C7
#define METATILE_BikeShop_Barrier_Blue_Bottom     0x2CF
#define METATILE_BikeShop_Generator_Off_Tile0     0x2F0
#define METATILE_BikeShop_Generator_Off_Tile1     0x2F1
#define METATILE_BikeShop_Generator_Off_Tile2     0x2F2
#define METATILE_BikeShop_Generator_Off_Tile3     0x2F3
#define METATILE_BikeShop_Generator_Off_Tile4     0x2F4
#define METATILE_BikeShop_Generator_Off_Tile5     0x2F5
#define METATILE_BikeShop_Generator_Off_Tile6     0x2F6
#define METATILE_BikeShop_Generator_Off_Tile7     0x2F7

// gTileset_TrainerHill
#define METATILE_TrainerHill_GreenFloorTile       0x307
#define METATILE_TrainerHill_CounterDoor          0x334
#define METATILE_TrainerHill_Door_Elevator_Lobby  0x32C
#define METATILE_TrainerHill_Door_Elevator_Roof   0x383

// gTileset_Underwater
#define METATILE_Underwater_RockWall    0x21E
#define METATILE_Underwater_FloorShadow 0x228

// gTileset_SecretBase
#define METATILE_SecretBase_Wall_TopMid                 0x202
#define METATILE_SecretBase_Ground                      0x20A
#define METATILE_SecretBase_PC                          0x220
#define METATILE_SecretBase_RegisterPC                  0x221
#define METATILE_SecretBase_PC_On                       0x224
#define METATILE_SecretBase_RedBrick_Top                0x225
#define METATILE_SecretBase_RedBrick_Bottom             0x22D
#define METATILE_SecretBase_YellowBrick_Top             0x226
#define METATILE_SecretBase_YellowBrick_Bottom          0x22E
#define METATILE_SecretBase_BlueBrick_Top               0x227
#define METATILE_SecretBase_BlueBrick_Bottom            0x22F
#define METATILE_SecretBase_MudBall                     0x228
#define METATILE_SecretBase_Fence_Horizontal            0x22C
#define METATILE_SecretBase_Fence_Vertical              0x233
#define METATILE_SecretBase_SolidBoard_Top              0x234
#define METATILE_SecretBase_SolidBoard_Bottom           0x23C
#define METATILE_SecretBase_RedTent_TopLeft             0x230
#define METATILE_SecretBase_RedTent_TopMid              0x231
#define METATILE_SecretBase_RedTent_TopRight            0x232
#define METATILE_SecretBase_RedTent_MidLeft             0x238
#define METATILE_SecretBase_RedTent_DoorTop             0x239
#define METATILE_SecretBase_RedTent_MidRight            0x23A
#define METATILE_SecretBase_RedTent_BottomLeft          0x240
#define METATILE_SecretBase_RedTent_Door                0x241
#define METATILE_SecretBase_RedTent_BottomRight         0x23B
#define METATILE_SecretBase_BlueTent_TopLeft            0x248
#define METATILE_SecretBase_BlueTent_TopMid             0x249
#define METATILE_SecretBase_BlueTent_TopRight           0x268
#define METATILE_SecretBase_BlueTent_MidLeft            0x250
#define METATILE_SecretBase_BlueTent_DoorTop            0x251
#define METATILE_SecretBase_BlueTent_MidRight           0x270
#define METATILE_SecretBase_BlueTent_BottomLeft         0x258
#define METATILE_SecretBase_BlueTent_Door               0x259
#define METATILE_SecretBase_BlueTent_BottomRight        0x269
#define METATILE_SecretBase_Slide_TopLeft               0x235
#define METATILE_SecretBase_Slide_TopRight              0x236
#define METATILE_SecretBase_Slide_StairLanding          0x23D
#define METATILE_SecretBase_Slide_SlideTop              0x23E
#define METATILE_SecretBase_Slide_Stairs                0x263
#define METATILE_SecretBase_Slide_SlideBottom           0x264
#define METATILE_SecretBase_Slide_MatLeft               0x26F
#define METATILE_SecretBase_Slide_MatRight              0x277
#define METATILE_SecretBase_Stand_CornerLeft            0x26A
#define METATILE_SecretBase_Stand_MidLeft               0x26B
#define METATILE_SecretBase_Stand_MidRight              0x26C
#define METATILE_SecretBase_Stand_CornerRight           0x26D
#define METATILE_SecretBase_Stand_StairsLeft            0x272
#define METATILE_SecretBase_Stand_BaseLeft              0x273
#define METATILE_SecretBase_Stand_BaseRight             0x274
#define METATILE_SecretBase_Stand_StairsRight           0x275
#define METATILE_SecretBase_BreakableDoor_TopClosed     0x237
#define METATILE_SecretBase_BreakableDoor_BottomClosed  0x23F
#define METATILE_SecretBase_BreakableDoor_TopOpen       0x26E
#define METATILE_SecretBase_BreakableDoor_BottomOpen    0x276
#define METATILE_SecretBase_GlitterMat                  0x260
#define METATILE_SecretBase_JumpMat                     0x261
#define METATILE_SecretBase_SpinMat                     0x262
#define METATILE_SecretBase_NoteMat_C_Low               0x278
#define METATILE_SecretBase_NoteMat_D                   0x279
#define METATILE_SecretBase_NoteMat_E                   0x27A
#define METATILE_SecretBase_NoteMat_F                   0x27B
#define METATILE_SecretBase_NoteMat_G                   0x27C
#define METATILE_SecretBase_NoteMat_A                   0x27D
#define METATILE_SecretBase_NoteMat_B                   0x27E
#define METATILE_SecretBase_NoteMat_C_High              0x2B3
#define METATILE_SecretBase_Tire_TopLeft                0x280
#define METATILE_SecretBase_Tire_TopRight               0x281
#define METATILE_SecretBase_Tire_BottomLeft             0x288
#define METATILE_SecretBase_Tire_BottomRight            0x289
#define METATILE_SecretBase_GlassOrnament_Top           0x282
#define METATILE_SecretBase_GlassOrnament_Base1         0x28A
#define METATILE_SecretBase_GlassOrnament_TopWall       0x283
#define METATILE_SecretBase_GlassOrnament_Base2         0x28B
#define METATILE_SecretBase_SandOrnament_BrokenTop      0x284
#define METATILE_SecretBase_SandOrnament_BrokenBase     0x28C
#define METATILE_SecretBase_SandOrnament_Top            0x285
#define METATILE_SecretBase_SandOrnament_Base1          0x28D
#define METATILE_SecretBase_SandOrnament_TopWall        0x286
#define METATILE_SecretBase_SandOrnament_Base2          0x28E
#define METATILE_SecretBase_SmallDesk                   0x287
#define METATILE_SecretBase_PokemonDesk                 0x28F
#define METATILE_SecretBase_HeavyDesk_TopLeft           0x290
#define METATILE_SecretBase_HeavyDesk_TopMid            0x291
#define METATILE_SecretBase_HeavyDesk_TopRight          0x292
#define METATILE_SecretBase_HeavyDesk_BottomLeft        0x298
#define METATILE_SecretBase_HeavyDesk_BottomMid         0x299
#define METATILE_SecretBase_HeavyDesk_BottomRight       0x29A
#define METATILE_SecretBase_RaggedDesk_TopLeft          0x293
#define METATILE_SecretBase_RaggedDesk_TopMid           0x294
#define METATILE_SecretBase_RaggedDesk_TopRight         0x295
#define METATILE_SecretBase_RaggedDesk_BottomLeft       0x29B
#define METATILE_SecretBase_RaggedDesk_BottomMid        0x29C
#define METATILE_SecretBase_RaggedDesk_BottomRight      0x29D
#define METATILE_SecretBase_ComfortDesk_TopLeft         0x296
#define METATILE_SecretBase_ComfortDesk_TopMid          0x297
#define METATILE_SecretBase_ComfortDesk_TopRight        0x2A3
#define METATILE_SecretBase_ComfortDesk_BottomLeft      0x29E
#define METATILE_SecretBase_ComfortDesk_BottomMid       0x29F
#define METATILE_SecretBase_ComfortDesk_BottomRight     0x2AB
#define METATILE_SecretBase_BrickDesk_TopLeft           0x2A0
#define METATILE_SecretBase_BrickDesk_TopMid            0x2A1
#define METATILE_SecretBase_BrickDesk_TopRight          0x2A2
#define METATILE_SecretBase_BrickDesk_MidLeft           0x2A8
#define METATILE_SecretBase_BrickDesk_Center            0x2A9
#define METATILE_SecretBase_BrickDesk_MidRight          0x2AA
#define METATILE_SecretBase_BrickDesk_BottomLeft        0x2B0
#define METATILE_SecretBase_BrickDesk_BottomMid         0x2B1
#define METATILE_SecretBase_BrickDesk_BottomRight       0x2B2
#define METATILE_SecretBase_CampDesk_TopLeft            0x2A4
#define METATILE_SecretBase_CampDesk_TopMid             0x2A5
#define METATILE_SecretBase_CampDesk_TopRight           0x2A6
#define METATILE_SecretBase_CampDesk_MidLeft            0x2AC
#define METATILE_SecretBase_CampDesk_Center             0x2AD
#define METATILE_SecretBase_CampDesk_MidRight           0x2AE
#define METATILE_SecretBase_CampDesk_BottomLeft         0x2B4
#define METATILE_SecretBase_CampDesk_BottomMid          0x2B5
#define METATILE_SecretBase_CampDesk_BottomRight        0x2B6
#define METATILE_SecretBase_HardDesk_TopLeft            0x2A7
#define METATILE_SecretBase_HardDesk_TopMid             0x2BB
#define METATILE_SecretBase_HardDesk_TopRight           0x2BC
#define METATILE_SecretBase_HardDesk_MidLeft            0x2AF
#define METATILE_SecretBase_HardDesk_Center             0x2C3
#define METATILE_SecretBase_HardDesk_MidRight           0x2C4
#define METATILE_SecretBase_HardDesk_BottomLeft         0x2B7
#define METATILE_SecretBase_HardDesk_BottomMid          0x2CB
#define METATILE_SecretBase_HardDesk_BottomRight        0x2CC
#define METATILE_SecretBase_PrettyDesk_TopLeft          0x2BD
#define METATILE_SecretBase_PrettyDesk_TopMid           0x2BE
#define METATILE_SecretBase_PrettyDesk_TopRight         0x2BF
#define METATILE_SecretBase_PrettyDesk_MidLeft          0x2C5
#define METATILE_SecretBase_PrettyDesk_Center           0x2C6
#define METATILE_SecretBase_PrettyDesk_MidRight         0x2C7
#define METATILE_SecretBase_PrettyDesk_BottomLeft       0x2CD
#define METATILE_SecretBase_PrettyDesk_BottomMid        0x2CE
#define METATILE_SecretBase_PrettyDesk_BottomRight      0x2CF
#define METATILE_SecretBase_SmallChair                  0x2B8
#define METATILE_SecretBase_PokemonChair                0x2B9
#define METATILE_SecretBase_HeavyChair                  0x2BA
#define METATILE_SecretBase_PrettyChair                 0x2C0
#define METATILE_SecretBase_ComfortChair                0x2C1
#define METATILE_SecretBase_RaggedChair                 0x2C2
#define METATILE_SecretBase_BrickChair                  0x2C8
#define METATILE_SecretBase_CampChair                   0x2C9
#define METATILE_SecretBase_HardChair                   0x2CA
#define METATILE_SecretBase_RedPlant_Top                0x2D0
#define METATILE_SecretBase_RedPlant_Base1              0x2D8
#define METATILE_SecretBase_RedPlant_TopWall            0x2D1
#define METATILE_SecretBase_RedPlant_Base2              0x2D9
#define METATILE_SecretBase_TropicalPlant_Top           0x2D2
#define METATILE_SecretBase_TropicalPlant_Base1         0x2DA
#define METATILE_SecretBase_TropicalPlant_TopWall       0x2D3
#define METATILE_SecretBase_TropicalPlant_Base2         0x2DB
#define METATILE_SecretBase_PrettyFlowers_Top           0x2D4
#define METATILE_SecretBase_PrettyFlowers_Base1         0x2DC
#define METATILE_SecretBase_PrettyFlowers_TopWall       0x2D5
#define METATILE_SecretBase_PrettyFlowers_Base2         0x2DD
#define METATILE_SecretBase_ColorfulPlant_TopLeft       0x2E0
#define METATILE_SecretBase_ColorfulPlant_TopRight      0x2E2
#define METATILE_SecretBase_ColorfulPlant_BaseLeft1     0x2E8
#define METATILE_SecretBase_ColorfulPlant_BaseRight1    0x2E9
#define METATILE_SecretBase_ColorfulPlant_TopLeftWall   0x2E1
#define METATILE_SecretBase_ColorfulPlant_TopRightWall  0x2E3
#define METATILE_SecretBase_ColorfulPlant_BaseLeft2     0x2EA
#define METATILE_SecretBase_ColorfulPlant_BaseRight2    0x2EB
#define METATILE_SecretBase_BigPlant_TopLeft            0x2E4
#define METATILE_SecretBase_BigPlant_TopRight           0x2E6
#define METATILE_SecretBase_BigPlant_BaseLeft1          0x2EC
#define METATILE_SecretBase_BigPlant_BaseRight1         0x2ED
#define METATILE_SecretBase_BigPlant_TopLeftWall        0x2E5
#define METATILE_SecretBase_BigPlant_TopRightWall       0x2E6
#define METATILE_SecretBase_BigPlant_BaseLeft2          0x2EE
#define METATILE_SecretBase_BigPlant_BaseRight2         0x2EF
#define METATILE_SecretBase_GorgeousPlant_TopLeft       0x2F0
#define METATILE_SecretBase_GorgeousPlant_TopRight      0x2F2
#define METATILE_SecretBase_GorgeousPlant_BaseLeft1     0x2F8
#define METATILE_SecretBase_GorgeousPlant_BaseRight1    0x2F9
#define METATILE_SecretBase_GorgeousPlant_TopLeftWall   0x2F1
#define METATILE_SecretBase_GorgeousPlant_TopRightWall  0x2F3
#define METATILE_SecretBase_GorgeousPlant_BaseLeft2     0x2FA
#define METATILE_SecretBase_GorgeousPlant_BaseRight2    0x2FB
#define METATILE_SecretBase_TV                          0x2F4
#define METATILE_SecretBase_RoundTV                     0x2F5
#define METATILE_SecretBase_CuteTV                      0x2F6
#define METATILE_SecretBase_PikaPoster_Left             0x31C
#define METATILE_SecretBase_PikaPoster_Right            0x31D
#define METATILE_SecretBase_LongPoster_Left             0x31E
#define METATILE_SecretBase_LongPoster_Right            0x31F
#define METATILE_SecretBase_SeaPoster_Left              0x324
#define METATILE_SecretBase_SeaPoster_Right             0x325
#define METATILE_SecretBase_SkyPoster_Left              0x326
#define METATILE_SecretBase_SkyPoster_Right             0x327
#define METATILE_SecretBase_KissPoster_Left             0x32C
#define METATILE_SecretBase_KissPoster_Right            0x32D
#define METATILE_SecretBase_BallPoster                  0x330
#define METATILE_SecretBase_GreenPoster                 0x331
#define METATILE_SecretBase_RedPoster                   0x332
#define METATILE_SecretBase_BluePoster                  0x333
#define METATILE_SecretBase_CutePoster                  0x334
#define METATILE_SecretBase_SilverShield_Top            0x2D6
#define METATILE_SecretBase_SilverShield_Base1          0x2DE
#define METATILE_SecretBase_SilverShield_TopWall        0x2D7
#define METATILE_SecretBase_SilverShield_Base2          0x2DF
#define METATILE_SecretBase_GoldShield_Top              0x32E
#define METATILE_SecretBase_GoldShield_Base1            0x336
#define METATILE_SecretBase_GoldShield_TopWall          0x32F
#define METATILE_SecretBase_GoldShield_Base2            0x337
#define METATILE_SecretBase_RedBalloon                  0x338
#define METATILE_SecretBase_BlueBalloon                 0x33C
#define METATILE_SecretBase_YellowBalloon               0x340
#define METATILE_SecretBase_SurfMat_TopLeft             0x242
#define METATILE_SecretBase_SurfMat_TopMid              0x243
#define METATILE_SecretBase_SurfMat_TopRight            0x244
#define METATILE_SecretBase_SurfMat_MidLeft             0x24A
#define METATILE_SecretBase_SurfMat_Center              0x24B
#define METATILE_SecretBase_SurfMat_MidRight            0x24C
#define METATILE_SecretBase_SurfMat_BottomLeft          0x252
#define METATILE_SecretBase_SurfMat_BottomMid           0x253
#define METATILE_SecretBase_SurfMat_BottomRight         0x254
#define METATILE_SecretBase_ThunderMat_TopLeft          0x245
#define METATILE_SecretBase_ThunderMat_TopMid           0x246
#define METATILE_SecretBase_ThunderMat_TopRight         0x247
#define METATILE_SecretBase_ThunderMat_MidLeft          0x24D
#define METATILE_SecretBase_ThunderMat_Center           0x24E
#define METATILE_SecretBase_ThunderMat_MidRight         0x24F
#define METATILE_SecretBase_ThunderMat_BottomLeft       0x255
#define METATILE_SecretBase_ThunderMat_BottomMid        0x256
#define METATILE_SecretBase_ThunderMat_BottomRight      0x257
#define METATILE_SecretBase_FireBlastMat_TopLeft        0x25A
#define METATILE_SecretBase_FireBlastMat_TopMid         0x25B
#define METATILE_SecretBase_FireBlastMat_TopRight       0x25C
#define METATILE_SecretBase_FireBlastMat_MidLeft        0x25D
#define METATILE_SecretBase_FireBlastMat_Center         0x25E
#define METATILE_SecretBase_FireBlastMat_MidRight       0x25F
#define METATILE_SecretBase_FireBlastMat_BottomLeft     0x265
#define METATILE_SecretBase_FireBlastMat_BottomMid      0x266
#define METATILE_SecretBase_FireBlastMat_BottomRight    0x267
#define METATILE_SecretBase_PowderSnowMat_TopLeft       0x300
#define METATILE_SecretBase_PowderSnowMat_TopMid        0x301
#define METATILE_SecretBase_PowderSnowMat_TopRight      0x302
#define METATILE_SecretBase_PowderSnowMat_MidLeft       0x308
#define METATILE_SecretBase_PowderSnowMat_Center        0x309
#define METATILE_SecretBase_PowderSnowMat_MidRight      0x30A
#define METATILE_SecretBase_PowderSnowMat_BottomLeft    0x310
#define METATILE_SecretBase_PowderSnowMat_BottomMid     0x311
#define METATILE_SecretBase_PowderSnowMat_BottomRight   0x312
#define METATILE_SecretBase_AttractMat_TopLeft          0x303
#define METATILE_SecretBase_AttractMat_TopMid           0x304
#define METATILE_SecretBase_AttractMat_TopRight         0x305
#define METATILE_SecretBase_AttractMat_MidLeft          0x30B
#define METATILE_SecretBase_AttractMat_Center           0x30C
#define METATILE_SecretBase_AttractMat_MidRight         0x30D
#define METATILE_SecretBase_AttractMat_BottomLeft       0x313
#define METATILE_SecretBase_AttractMat_BottomMid        0x314
#define METATILE_SecretBase_AttractMat_BottomRight      0x315
#define METATILE_SecretBase_FissureMat_TopLeft          0x306
#define METATILE_SecretBase_FissureMat_TopMid           0x307
#define METATILE_SecretBase_FissureMat_TopRight         0x318
#define METATILE_SecretBase_FissureMat_MidLeft          0x30E
#define METATILE_SecretBase_FissureMat_Center           0x30F
#define METATILE_SecretBase_FissureMat_MidRight         0x320
#define METATILE_SecretBase_FissureMat_BottomLeft       0x316
#define METATILE_SecretBase_FissureMat_BottomMid        0x317
#define METATILE_SecretBase_FissureMat_BottomRight      0x328
#define METATILE_SecretBase_SpikesMat_TopLeft           0x319
#define METATILE_SecretBase_SpikesMat_TopMid            0x31A
#define METATILE_SecretBase_SpikesMat_TopRight          0x31B
#define METATILE_SecretBase_SpikesMat_MidLeft           0x321
#define METATILE_SecretBase_SpikesMat_Center            0x322
#define METATILE_SecretBase_SpikesMat_MidRight          0x323
#define METATILE_SecretBase_SpikesMat_BottomLeft        0x329
#define METATILE_SecretBase_SpikesMat_BottomMid         0x32A
#define METATILE_SecretBase_SpikesMat_BottomRight       0x32B

#endif // GUARD_METATILE_LABELS_H


code:
#ifndef GUARD_CONSTANTS_MEVENT_H
#define GUARD_CONSTANTS_MEVENT_H

// mevent2.c
#define GET_NUM_STAMPS   0
#define GET_MAX_STAMPS   1
#define GET_CARD_BATTLES_WON  2

#define GET_NUM_STAMPS_INTERNAL   3
#define GET_MAX_STAMPS_INTERNAL   4
#define GET_CARD_BATTLES_WON_INTERNAL  0

#define REQUIRED_CARD_BATTLES 3

#endif //GUARD_MEVENT_H

repo_name: Lunos/pokeemerald

license: mit


code:
#ifndef GUARD_CONSTANTS_MOVES_H
#define GUARD_CONSTANTS_MOVES_H

#define MOVE_NONE 0
#define MOVE_POUND 1
#define MOVE_KARATE_CHOP 2
#define MOVE_DOUBLE_SLAP 3
#define MOVE_COMET_PUNCH 4
#define MOVE_MEGA_PUNCH 5
#define MOVE_PAY_DAY 6
#define MOVE_FIRE_PUNCH 7
#define MOVE_ICE_PUNCH 8
#define MOVE_THUNDER_PUNCH 9
#define MOVE_SCRATCH 10
#define MOVE_VICE_GRIP 11
#define MOVE_GUILLOTINE 12
#define MOVE_RAZOR_WIND 13
#define MOVE_SWORDS_DANCE 14
#define MOVE_CUT 15
#define MOVE_GUST 16
#define MOVE_WING_ATTACK 17
#define MOVE_WHIRLWIND 18
#define MOVE_FLY 19
#define MOVE_BIND 20
#define MOVE_SLAM 21
#define MOVE_VINE_WHIP 22
#define MOVE_STOMP 23
#define MOVE_DOUBLE_KICK 24
#define MOVE_MEGA_KICK 25
#define MOVE_JUMP_KICK 26
#define MOVE_ROLLING_KICK 27
#define MOVE_SAND_ATTACK 28
#define MOVE_HEADBUTT 29
#define MOVE_HORN_ATTACK 30
#define MOVE_FURY_ATTACK 31
#define MOVE_HORN_DRILL 32
#define MOVE_TACKLE 33
#define MOVE_BODY_SLAM 34
#define MOVE_WRAP 35
#define MOVE_TAKE_DOWN 36
#define MOVE_THRASH 37
#define MOVE_DOUBLE_EDGE 38
#define MOVE_TAIL_WHIP 39
#define MOVE_POISON_STING 40
#define MOVE_TWINEEDLE 41
#define MOVE_PIN_MISSILE 42
#define MOVE_LEER 43
#define MOVE_BITE 44
#define MOVE_GROWL 45
#define MOVE_ROAR 46
#define MOVE_SING 47
#define MOVE_SUPERSONIC 48
#define MOVE_SONIC_BOOM 49
#define MOVE_DISABLE 50
#define MOVE_ACID 51
#define MOVE_EMBER 52
#define MOVE_FLAMETHROWER 53
#define MOVE_MIST 54
#define MOVE_WATER_GUN 55
#define MOVE_HYDRO_PUMP 56
#define MOVE_SURF 57
#define MOVE_ICE_BEAM 58
#define MOVE_BLIZZARD 59
#define MOVE_PSYBEAM 60
#define MOVE_BUBBLE_BEAM 61
#define MOVE_AURORA_BEAM 62
#define MOVE_HYPER_BEAM 63
#define MOVE_PECK 64
#define MOVE_DRILL_PECK 65
#define MOVE_SUBMISSION 66
#define MOVE_LOW_KICK 67
#define MOVE_COUNTER 68
#define MOVE_SEISMIC_TOSS 69
#define MOVE_STRENGTH 70
#define MOVE_ABSORB 71
#define MOVE_MEGA_DRAIN 72
#define MOVE_LEECH_SEED 73
#define MOVE_GROWTH 74
#define MOVE_RAZOR_LEAF 75
#define MOVE_SOLAR_BEAM 76
#define MOVE_POISON_POWDER 77
#define MOVE_STUN_SPORE 78
#define MOVE_SLEEP_POWDER 79
#define MOVE_PETAL_DANCE 80
#define MOVE_STRING_SHOT 81
#define MOVE_DRAGON_RAGE 82
#define MOVE_FIRE_SPIN 83
#define MOVE_THUNDER_SHOCK 84
#define MOVE_THUNDERBOLT 85
#define MOVE_THUNDER_WAVE 86
#define MOVE_THUNDER 87
#define MOVE_ROCK_THROW 88
#define MOVE_EARTHQUAKE 89
#define MOVE_FISSURE 90
#define MOVE_DIG 91
#define MOVE_TOXIC 92
#define MOVE_CONFUSION 93
#define MOVE_PSYCHIC 94
#define MOVE_HYPNOSIS 95
#define MOVE_MEDITATE 96
#define MOVE_AGILITY 97
#define MOVE_QUICK_ATTACK 98
#define MOVE_RAGE 99
#define MOVE_TELEPORT 100
#define MOVE_NIGHT_SHADE 101
#define MOVE_MIMIC 102
#define MOVE_SCREECH 103
#define MOVE_DOUBLE_TEAM 104
#define MOVE_RECOVER 105
#define MOVE_HARDEN 106
#define MOVE_MINIMIZE 107
#define MOVE_SMOKESCREEN 108
#define MOVE_CONFUSE_RAY 109
#define MOVE_WITHDRAW 110
#define MOVE_DEFENSE_CURL 111
#define MOVE_BARRIER 112
#define MOVE_LIGHT_SCREEN 113
#define MOVE_HAZE 114
#define MOVE_REFLECT 115
#define MOVE_FOCUS_ENERGY 116
#define MOVE_BIDE 117
#define MOVE_METRONOME 118
#define MOVE_MIRROR_MOVE 119
#define MOVE_SELF_DESTRUCT 120
#define MOVE_EGG_BOMB 121
#define MOVE_LICK 122
#define MOVE_SMOG 123
#define MOVE_SLUDGE 124
#define MOVE_BONE_CLUB 125
#define MOVE_FIRE_BLAST 126
#define MOVE_WATERFALL 127
#define MOVE_CLAMP 128
#define MOVE_SWIFT 129
#define MOVE_SKULL_BASH 130
#define MOVE_SPIKE_CANNON 131
#define MOVE_CONSTRICT 132
#define MOVE_AMNESIA 133
#define MOVE_KINESIS 134
#define MOVE_SOFT_BOILED 135
#define MOVE_HI_JUMP_KICK 136
#define MOVE_GLARE 137
#define MOVE_DREAM_EATER 138
#define MOVE_POISON_GAS 139
#define MOVE_BARRAGE 140
#define MOVE_LEECH_LIFE 141
#define MOVE_LOVELY_KISS 142
#define MOVE_SKY_ATTACK 143
#define MOVE_TRANSFORM 144
#define MOVE_BUBBLE 145
#define MOVE_DIZZY_PUNCH 146
#define MOVE_SPORE 147
#define MOVE_FLASH 148
#define MOVE_PSYWAVE 149
#define MOVE_SPLASH 150
#define MOVE_ACID_ARMOR 151
#define MOVE_CRABHAMMER 152
#define MOVE_EXPLOSION 153
#define MOVE_FURY_SWIPES 154
#define MOVE_BONEMERANG 155
#define MOVE_REST 156
#define MOVE_ROCK_SLIDE 157
#define MOVE_HYPER_FANG 158
#define MOVE_SHARPEN 159
#define MOVE_CONVERSION 160
#define MOVE_TRI_ATTACK 161
#define MOVE_SUPER_FANG 162
#define MOVE_SLASH 163
#define MOVE_SUBSTITUTE 164
#define MOVE_STRUGGLE 165
#define MOVE_SKETCH 166
#define MOVE_TRIPLE_KICK 167
#define MOVE_THIEF 168
#define MOVE_SPIDER_WEB 169
#define MOVE_MIND_READER 170
#define MOVE_NIGHTMARE 171
#define MOVE_FLAME_WHEEL 172
#define MOVE_SNORE 173
#define MOVE_CURSE 174
#define MOVE_FLAIL 175
#define MOVE_CONVERSION_2 176
#define MOVE_AEROBLAST 177
#define MOVE_COTTON_SPORE 178
#define MOVE_REVERSAL 179
#define MOVE_SPITE 180
#define MOVE_POWDER_SNOW 181
#define MOVE_PROTECT 182
#define MOVE_MACH_PUNCH 183
#define MOVE_SCARY_FACE 184
#define MOVE_FAINT_ATTACK 185
#define MOVE_SWEET_KISS 186
#define MOVE_BELLY_DRUM 187
#define MOVE_SLUDGE_BOMB 188
#define MOVE_MUD_SLAP 189
#define MOVE_OCTAZOOKA 190
#define MOVE_SPIKES 191
#define MOVE_ZAP_CANNON 192
#define MOVE_FORESIGHT 193
#define MOVE_DESTINY_BOND 194
#define MOVE_PERISH_SONG 195
#define MOVE_ICY_WIND 196
#define MOVE_DETECT 197
#define MOVE_BONE_RUSH 198
#define MOVE_LOCK_ON 199
#define MOVE_OUTRAGE 200
#define MOVE_SANDSTORM 201
#define MOVE_GIGA_DRAIN 202
#define MOVE_ENDURE 203
#define MOVE_CHARM 204
#define MOVE_ROLLOUT 205
#define MOVE_FALSE_SWIPE 206
#define MOVE_SWAGGER 207
#define MOVE_MILK_DRINK 208
#define MOVE_SPARK 209
#define MOVE_FURY_CUTTER 210
#define MOVE_STEEL_WING 211
#define MOVE_MEAN_LOOK 212
#define MOVE_ATTRACT 213
#define MOVE_SLEEP_TALK 214
#define MOVE_HEAL_BELL 215
#define MOVE_RETURN 216
#define MOVE_PRESENT 217
#define MOVE_FRUSTRATION 218
#define MOVE_SAFEGUARD 219
#define MOVE_PAIN_SPLIT 220
#define MOVE_SACRED_FIRE 221
#define MOVE_MAGNITUDE 222
#define MOVE_DYNAMIC_PUNCH 223
#define MOVE_MEGAHORN 224
#define MOVE_DRAGON_BREATH 225
#define MOVE_BATON_PASS 226
#define MOVE_ENCORE 227
#define MOVE_PURSUIT 228
#define MOVE_RAPID_SPIN 229
#define MOVE_SWEET_SCENT 230
#define MOVE_IRON_TAIL 231
#define MOVE_METAL_CLAW 232
#define MOVE_VITAL_THROW 233
#define MOVE_MORNING_SUN 234
#define MOVE_SYNTHESIS 235
#define MOVE_MOONLIGHT 236
#define MOVE_HIDDEN_POWER 237
#define MOVE_CROSS_CHOP 238
#define MOVE_TWISTER 239
#define MOVE_RAIN_DANCE 240
#define MOVE_SUNNY_DAY 241
#define MOVE_CRUNCH 242
#define MOVE_MIRROR_COAT 243
#define MOVE_PSYCH_UP 244
#define MOVE_EXTREME_SPEED 245
#define MOVE_ANCIENT_POWER 246
#define MOVE_SHADOW_BALL 247
#define MOVE_FUTURE_SIGHT 248
#define MOVE_ROCK_SMASH 249
#define MOVE_WHIRLPOOL 250
#define MOVE_BEAT_UP 251
#define MOVE_FAKE_OUT 252
#define MOVE_UPROAR 253
#define MOVE_STOCKPILE 254
#define MOVE_SPIT_UP 255
#define MOVE_SWALLOW 256
#define MOVE_HEAT_WAVE 257
#define MOVE_HAIL 258
#define MOVE_TORMENT 259
#define MOVE_FLATTER 260
#define MOVE_WILL_O_WISP 261
#define MOVE_MEMENTO 262
#define MOVE_FACADE 263
#define MOVE_FOCUS_PUNCH 264
#define MOVE_SMELLING_SALT 265
#define MOVE_FOLLOW_ME 266
#define MOVE_NATURE_POWER 267
#define MOVE_CHARGE 268
#define MOVE_TAUNT 269
#define MOVE_HELPING_HAND 270
#define MOVE_TRICK 271
#define MOVE_ROLE_PLAY 272
#define MOVE_WISH 273
#define MOVE_ASSIST 274
#define MOVE_INGRAIN 275
#define MOVE_SUPERPOWER 276
#define MOVE_MAGIC_COAT 277
#define MOVE_RECYCLE 278
#define MOVE_REVENGE 279
#define MOVE_BRICK_BREAK 280
#define MOVE_YAWN 281
#define MOVE_KNOCK_OFF 282
#define MOVE_ENDEAVOR 283
#define MOVE_ERUPTION 284
#define MOVE_SKILL_SWAP 285
#define MOVE_IMPRISON 286
#define MOVE_REFRESH 287
#define MOVE_GRUDGE 288
#define MOVE_SNATCH 289
#define MOVE_SECRET_POWER 290
#define MOVE_DIVE 291
#define MOVE_ARM_THRUST 292
#define MOVE_CAMOUFLAGE 293
#define MOVE_TAIL_GLOW 294
#define MOVE_LUSTER_PURGE 295
#define MOVE_MIST_BALL 296
#define MOVE_FEATHER_DANCE 297
#define MOVE_TEETER_DANCE 298
#define MOVE_BLAZE_KICK 299
#define MOVE_MUD_SPORT 300
#define MOVE_ICE_BALL 301
#define MOVE_NEEDLE_ARM 302
#define MOVE_SLACK_OFF 303
#define MOVE_HYPER_VOICE 304
#define MOVE_POISON_FANG 305
#define MOVE_CRUSH_CLAW 306
#define MOVE_BLAST_BURN 307
#define MOVE_HYDRO_CANNON 308
#define MOVE_METEOR_MASH 309
#define MOVE_ASTONISH 310
#define MOVE_WEATHER_BALL 311
#define MOVE_AROMATHERAPY 312
#define MOVE_FAKE_TEARS 313
#define MOVE_AIR_CUTTER 314
#define MOVE_OVERHEAT 315
#define MOVE_ODOR_SLEUTH 316
#define MOVE_ROCK_TOMB 317
#define MOVE_SILVER_WIND 318
#define MOVE_METAL_SOUND 319
#define MOVE_GRASS_WHISTLE 320
#define MOVE_TICKLE 321
#define MOVE_COSMIC_POWER 322
#define MOVE_WATER_SPOUT 323
#define MOVE_SIGNAL_BEAM 324
#define MOVE_SHADOW_PUNCH 325
#define MOVE_EXTRASENSORY 326
#define MOVE_SKY_UPPERCUT 327
#define MOVE_SAND_TOMB 328
#define MOVE_SHEER_COLD 329
#define MOVE_MUDDY_WATER 330
#define MOVE_BULLET_SEED 331
#define MOVE_AERIAL_ACE 332
#define MOVE_ICICLE_SPEAR 333
#define MOVE_IRON_DEFENSE 334
#define MOVE_BLOCK 335
#define MOVE_HOWL 336
#define MOVE_DRAGON_CLAW 337
#define MOVE_FRENZY_PLANT 338
#define MOVE_BULK_UP 339
#define MOVE_BOUNCE 340
#define MOVE_MUD_SHOT 341
#define MOVE_POISON_TAIL 342
#define MOVE_COVET 343
#define MOVE_VOLT_TACKLE 344
#define MOVE_MAGICAL_LEAF 345
#define MOVE_WATER_SPORT 346
#define MOVE_CALM_MIND 347
#define MOVE_LEAF_BLADE 348
#define MOVE_DRAGON_DANCE 349
#define MOVE_ROCK_BLAST 350
#define MOVE_SHOCK_WAVE 351
#define MOVE_WATER_PULSE 352
#define MOVE_DOOM_DESIRE 353
#define MOVE_PSYCHO_BOOST 354

#define MOVES_COUNT 355

#endif  // GUARD_CONSTANTS_MOVES_H


code:
#ifndef GUARD_CONSTANTS_OPPONENTS_H
#define GUARD_CONSTANTS_OPPONENTS_H

#define TRAINER_NONE                          0
#define TRAINER_SAWYER_1                      1
#define TRAINER_GRUNT_AQUA_HIDEOUT_1          2
#define TRAINER_GRUNT_AQUA_HIDEOUT_2          3
#define TRAINER_GRUNT_AQUA_HIDEOUT_3          4
#define TRAINER_GRUNT_AQUA_HIDEOUT_4          5
#define TRAINER_GRUNT_SEAFLOOR_CAVERN_1       6
#define TRAINER_GRUNT_SEAFLOOR_CAVERN_2       7
#define TRAINER_GRUNT_SEAFLOOR_CAVERN_3       8
#define TRAINER_GABRIELLE_1                   9
#define TRAINER_GRUNT_PETALBURG_WOODS        10
#define TRAINER_MARCEL                       11
#define TRAINER_ALBERTO                      12
#define TRAINER_ED                           13
#define TRAINER_GRUNT_SEAFLOOR_CAVERN_4      14
#define TRAINER_DECLAN                       15
#define TRAINER_GRUNT_RUSTURF_TUNNEL         16
#define TRAINER_GRUNT_WEATHER_INST_1         17
#define TRAINER_GRUNT_WEATHER_INST_2         18
#define TRAINER_GRUNT_WEATHER_INST_3         19
#define TRAINER_GRUNT_MUSEUM_1               20
#define TRAINER_GRUNT_MUSEUM_2               21
#define TRAINER_GRUNT_SPACE_CENTER_1         22
#define TRAINER_GRUNT_MT_PYRE_1              23
#define TRAINER_GRUNT_MT_PYRE_2              24
#define TRAINER_GRUNT_MT_PYRE_3              25
#define TRAINER_GRUNT_WEATHER_INST_4         26
#define TRAINER_GRUNT_AQUA_HIDEOUT_5         27
#define TRAINER_GRUNT_AQUA_HIDEOUT_6         28
#define TRAINER_FREDRICK                     29
#define TRAINER_MATT                         30
#define TRAINER_ZANDER                       31
#define TRAINER_SHELLY_WEATHER_INSTITUTE     32
#define TRAINER_SHELLY_SEAFLOOR_CAVERN       33
#define TRAINER_ARCHIE                       34
#define TRAINER_LEAH                         35
#define TRAINER_DAISY                        36
#define TRAINER_ROSE_1                       37
#define TRAINER_FELIX                        38
#define TRAINER_VIOLET                       39
#define TRAINER_ROSE_2                       40
#define TRAINER_ROSE_3                       41
#define TRAINER_ROSE_4                       42
#define TRAINER_ROSE_5                       43
#define TRAINER_DUSTY_1                      44
#define TRAINER_CHIP                         45
#define TRAINER_FOSTER                       46
#define TRAINER_DUSTY_2                      47
#define TRAINER_DUSTY_3                      48
#define TRAINER_DUSTY_4                      49
#define TRAINER_DUSTY_5                      50
#define TRAINER_GABBY_AND_TY_1               51
#define TRAINER_GABBY_AND_TY_2               52
#define TRAINER_GABBY_AND_TY_3               53
#define TRAINER_GABBY_AND_TY_4               54
#define TRAINER_GABBY_AND_TY_5               55
#define TRAINER_GABBY_AND_TY_6               56
#define TRAINER_LOLA_1                       57
#define TRAINER_AUSTINA                      58
#define TRAINER_GWEN                         59
#define TRAINER_LOLA_2                       60
#define TRAINER_LOLA_3                       61
#define TRAINER_LOLA_4                       62
#define TRAINER_LOLA_5                       63
#define TRAINER_RICKY_1                      64
#define TRAINER_SIMON                        65
#define TRAINER_CHARLIE                      66
#define TRAINER_RICKY_2                      67
#define TRAINER_RICKY_3                      68
#define TRAINER_RICKY_4                      69
#define TRAINER_RICKY_5                      70
#define TRAINER_RANDALL                      71
#define TRAINER_PARKER                       72
#define TRAINER_GEORGE                       73
#define TRAINER_BERKE                        74
#define TRAINER_BRAXTON                      75
#define TRAINER_VINCENT                      76
#define TRAINER_LEROY                        77
#define TRAINER_WILTON_1                     78
#define TRAINER_EDGAR                        79
#define TRAINER_ALBERT                       80
#define TRAINER_SAMUEL                       81
#define TRAINER_VITO                         82
#define TRAINER_OWEN                         83
#define TRAINER_WILTON_2                     84
#define TRAINER_WILTON_3                     85
#define TRAINER_WILTON_4                     86
#define TRAINER_WILTON_5                     87
#define TRAINER_WARREN                       88
#define TRAINER_MARY                         89
#define TRAINER_ALEXIA                       90
#define TRAINER_JODY                         91
#define TRAINER_WENDY                        92
#define TRAINER_KEIRA                        93
#define TRAINER_BROOKE_1                     94
#define TRAINER_JENNIFER                     95
#define TRAINER_HOPE                         96
#define TRAINER_SHANNON                      97
#define TRAINER_MICHELLE                     98
#define TRAINER_CAROLINE                     99
#define TRAINER_JULIE                       100
#define TRAINER_BROOKE_2                    101
#define TRAINER_BROOKE_3                    102
#define TRAINER_BROOKE_4                    103
#define TRAINER_BROOKE_5                    104
#define TRAINER_PATRICIA                    105
#define TRAINER_KINDRA                      106
#define TRAINER_TAMMY                       107
#define TRAINER_VALERIE_1                   108
#define TRAINER_TASHA                       109
#define TRAINER_VALERIE_2                   110
#define TRAINER_VALERIE_3                   111
#define TRAINER_VALERIE_4                   112
#define TRAINER_VALERIE_5                   113
#define TRAINER_CINDY_1                     114
#define TRAINER_DAPHNE                      115
#define TRAINER_GRUNT_SPACE_CENTER_2        116
#define TRAINER_CINDY_2                     117
#define TRAINER_BRIANNA                     118
#define TRAINER_NAOMI                       119
#define TRAINER_CINDY_3                     120
#define TRAINER_CINDY_4                     121
#define TRAINER_CINDY_5                     122
#define TRAINER_CINDY_6                     123
#define TRAINER_MELISSA                     124
#define TRAINER_SHEILA                      125
#define TRAINER_SHIRLEY                     126
#define TRAINER_JESSICA_1                   127
#define TRAINER_CONNIE                      128
#define TRAINER_BRIDGET                     129
#define TRAINER_OLIVIA                      130
#define TRAINER_TIFFANY                     131
#define TRAINER_JESSICA_2                   132
#define TRAINER_JESSICA_3                   133
#define TRAINER_JESSICA_4                   134
#define TRAINER_JESSICA_5                   135
#define TRAINER_WINSTON_1                   136
#define TRAINER_MOLLIE                      137
#define TRAINER_GARRET                      138
#define TRAINER_WINSTON_2                   139
#define TRAINER_WINSTON_3                   140
#define TRAINER_WINSTON_4                   141
#define TRAINER_WINSTON_5                   142
#define TRAINER_STEVE_1                     143
#define TRAINER_THALIA_1                    144
#define TRAINER_MARK                        145
#define TRAINER_GRUNT_MT_CHIMNEY_1          146
#define TRAINER_STEVE_2                     147
#define TRAINER_STEVE_3                     148
#define TRAINER_STEVE_4                     149
#define TRAINER_STEVE_5                     150
#define TRAINER_LUIS                        151
#define TRAINER_DOMINIK                     152
#define TRAINER_DOUGLAS                     153
#define TRAINER_DARRIN                      154
#define TRAINER_TONY_1                      155
#define TRAINER_JEROME                      156
#define TRAINER_MATTHEW                     157
#define TRAINER_DAVID                       158
#define TRAINER_SPENCER                     159
#define TRAINER_ROLAND                      160
#define TRAINER_NOLEN                       161
#define TRAINER_STAN                        162
#define TRAINER_BARRY                       163
#define TRAINER_DEAN                        164
#define TRAINER_RODNEY                      165
#define TRAINER_RICHARD                     166
#define TRAINER_HERMAN                      167
#define TRAINER_SANTIAGO                    168
#define TRAINER_GILBERT                     169
#define TRAINER_FRANKLIN                    170
#define TRAINER_KEVIN                       171
#define TRAINER_JACK                        172
#define TRAINER_DUDLEY                      173
#define TRAINER_CHAD                        174
#define TRAINER_TONY_2                      175
#define TRAINER_TONY_3                      176
#define TRAINER_TONY_4                      177
#define TRAINER_TONY_5                      178
#define TRAINER_TAKAO                       179
#define TRAINER_HITOSHI                     180
#define TRAINER_KIYO                        181
#define TRAINER_KOICHI                      182
#define TRAINER_NOB_1                       183
#define TRAINER_NOB_2                       184
#define TRAINER_NOB_3                       185
#define TRAINER_NOB_4                       186
#define TRAINER_NOB_5                       187
#define TRAINER_YUJI                        188
#define TRAINER_DAISUKE                     189
#define TRAINER_ATSUSHI                     190
#define TRAINER_KIRK                        191
#define TRAINER_GRUNT_AQUA_HIDEOUT_7        192
#define TRAINER_GRUNT_AQUA_HIDEOUT_8        193
#define TRAINER_SHAWN                       194
#define TRAINER_FERNANDO_1                  195
#define TRAINER_DALTON_1                    196
#define TRAINER_DALTON_2                    197
#define TRAINER_DALTON_3                    198
#define TRAINER_DALTON_4                    199
#define TRAINER_DALTON_5                    200
#define TRAINER_COLE                        201
#define TRAINER_JEFF                        202
#define TRAINER_AXLE                        203
#define TRAINER_JACE                        204
#define TRAINER_KEEGAN                      205
#define TRAINER_BERNIE_1                    206
#define TRAINER_BERNIE_2                    207
#define TRAINER_BERNIE_3                    208
#define TRAINER_BERNIE_4                    209
#define TRAINER_BERNIE_5                    210
#define TRAINER_DREW                        211
#define TRAINER_BEAU                        212
#define TRAINER_LARRY                       213
#define TRAINER_SHANE                       214
#define TRAINER_JUSTIN                      215
#define TRAINER_ETHAN_1                     216
#define TRAINER_AUTUMN                      217
#define TRAINER_TRAVIS                      218
#define TRAINER_ETHAN_2                     219
#define TRAINER_ETHAN_3                     220
#define TRAINER_ETHAN_4                     221
#define TRAINER_ETHAN_5                     222
#define TRAINER_BRENT                       223
#define TRAINER_DONALD                      224
#define TRAINER_TAYLOR                      225
#define TRAINER_JEFFREY_1                   226
#define TRAINER_DEREK                       227
#define TRAINER_JEFFREY_2                   228
#define TRAINER_JEFFREY_3                   229
#define TRAINER_JEFFREY_4                   230
#define TRAINER_JEFFREY_5                   231
#define TRAINER_EDWARD                      232
#define TRAINER_PRESTON                     233
#define TRAINER_VIRGIL                      234
#define TRAINER_BLAKE                       235
#define TRAINER_WILLIAM                     236
#define TRAINER_JOSHUA                      237
#define TRAINER_CAMERON_1                   238
#define TRAINER_CAMERON_2                   239
#define TRAINER_CAMERON_3                   240
#define TRAINER_CAMERON_4                   241
#define TRAINER_CAMERON_5                   242
#define TRAINER_JACLYN                      243
#define TRAINER_HANNAH                      244
#define TRAINER_SAMANTHA                    245
#define TRAINER_MAURA                       246
#define TRAINER_KAYLA                       247
#define TRAINER_ALEXIS                      248
#define TRAINER_JACKI_1                     249
#define TRAINER_JACKI_2                     250
#define TRAINER_JACKI_3                     251
#define TRAINER_JACKI_4                     252
#define TRAINER_JACKI_5                     253
#define TRAINER_WALTER_1                    254
#define TRAINER_MICAH                       255
#define TRAINER_THOMAS                      256
#define TRAINER_WALTER_2                    257
#define TRAINER_WALTER_3                    258
#define TRAINER_WALTER_4                    259
#define TRAINER_WALTER_5                    260
#define TRAINER_SIDNEY                      261
#define TRAINER_PHOEBE                      262
#define TRAINER_GLACIA                      263
#define TRAINER_DRAKE                       264
#define TRAINER_ROXANNE_1                   265
#define TRAINER_BRAWLY_1                    266
#define TRAINER_WATTSON_1                   267
#define TRAINER_FLANNERY_1                  268
#define TRAINER_NORMAN_1                    269
#define TRAINER_WINONA_1                    270
#define TRAINER_TATE_AND_LIZA_1             271
#define TRAINER_JUAN_1                      272
#define TRAINER_JERRY_1                     273
#define TRAINER_TED                         274
#define TRAINER_PAUL                        275
#define TRAINER_JERRY_2                     276
#define TRAINER_JERRY_3                     277
#define TRAINER_JERRY_4                     278
#define TRAINER_JERRY_5                     279
#define TRAINER_KAREN_1                     280
#define TRAINER_GEORGIA                     281
#define TRAINER_KAREN_2                     282
#define TRAINER_KAREN_3                     283
#define TRAINER_KAREN_4                     284
#define TRAINER_KAREN_5                     285
#define TRAINER_KATE_AND_JOY                286
#define TRAINER_ANNA_AND_MEG_1              287
#define TRAINER_ANNA_AND_MEG_2              288
#define TRAINER_ANNA_AND_MEG_3              289
#define TRAINER_ANNA_AND_MEG_4              290
#define TRAINER_ANNA_AND_MEG_5              291
#define TRAINER_VICTOR                      292
#define TRAINER_MIGUEL_1                    293
#define TRAINER_COLTON                      294
#define TRAINER_MIGUEL_2                    295
#define TRAINER_MIGUEL_3                    296
#define TRAINER_MIGUEL_4                    297
#define TRAINER_MIGUEL_5                    298
#define TRAINER_VICTORIA                    299
#define TRAINER_VANESSA                     300
#define TRAINER_BETHANY                     301
#define TRAINER_ISABEL_1                    302
#define TRAINER_ISABEL_2                    303
#define TRAINER_ISABEL_3                    304
#define TRAINER_ISABEL_4                    305
#define TRAINER_ISABEL_5                    306
#define TRAINER_TIMOTHY_1                   307
#define TRAINER_TIMOTHY_2                   308
#define TRAINER_TIMOTHY_3                   309
#define TRAINER_TIMOTHY_4                   310
#define TRAINER_TIMOTHY_5                   311
#define TRAINER_VICKY                       312
#define TRAINER_SHELBY_1                    313
#define TRAINER_SHELBY_2                    314
#define TRAINER_SHELBY_3                    315
#define TRAINER_SHELBY_4                    316
#define TRAINER_SHELBY_5                    317
#define TRAINER_CALVIN_1                    318
#define TRAINER_BILLY                       319
#define TRAINER_JOSH                        320
#define TRAINER_TOMMY                       321
#define TRAINER_JOEY                        322
#define TRAINER_BEN                         323
#define TRAINER_QUINCY                      324
#define TRAINER_KATELYNN                    325
#define TRAINER_JAYLEN                      326
#define TRAINER_DILLON                      327
#define TRAINER_CALVIN_2                    328
#define TRAINER_CALVIN_3                    329
#define TRAINER_CALVIN_4                    330
#define TRAINER_CALVIN_5                    331
#define TRAINER_EDDIE                       332
#define TRAINER_ALLEN                       333
#define TRAINER_TIMMY                       334
#define TRAINER_WALLACE                     335
#define TRAINER_ANDREW                      336
#define TRAINER_IVAN                        337
#define TRAINER_CLAUDE                      338
#define TRAINER_ELLIOT_1                    339
#define TRAINER_NED                         340
#define TRAINER_DALE                        341
#define TRAINER_NOLAN                       342
#define TRAINER_BARNY                       343
#define TRAINER_WADE                        344
#define TRAINER_CARTER                      345
#define TRAINER_ELLIOT_2                    346
#define TRAINER_ELLIOT_3                    347
#define TRAINER_ELLIOT_4                    348
#define TRAINER_ELLIOT_5                    349
#define TRAINER_RONALD                      350
#define TRAINER_JACOB                       351
#define TRAINER_ANTHONY                     352
#define TRAINER_BENJAMIN_1                  353
#define TRAINER_BENJAMIN_2                  354
#define TRAINER_BENJAMIN_3                  355
#define TRAINER_BENJAMIN_4                  356
#define TRAINER_BENJAMIN_5                  357
#define TRAINER_ABIGAIL_1                   358
#define TRAINER_JASMINE                     359
#define TRAINER_ABIGAIL_2                   360
#define TRAINER_ABIGAIL_3                   361
#define TRAINER_ABIGAIL_4                   362
#define TRAINER_ABIGAIL_5                   363
#define TRAINER_DYLAN_1                     364
#define TRAINER_DYLAN_2                     365
#define TRAINER_DYLAN_3                     366
#define TRAINER_DYLAN_4                     367
#define TRAINER_DYLAN_5                     368
#define TRAINER_MARIA_1                     369
#define TRAINER_MARIA_2                     370
#define TRAINER_MARIA_3                     371
#define TRAINER_MARIA_4                     372
#define TRAINER_MARIA_5                     373
#define TRAINER_CAMDEN                      374
#define TRAINER_DEMETRIUS                   375
#define TRAINER_ISAIAH_1                    376
#define TRAINER_PABLO_1                     377
#define TRAINER_CHASE                       378
#define TRAINER_ISAIAH_2                    379
#define TRAINER_ISAIAH_3                    380
#define TRAINER_ISAIAH_4                    381
#define TRAINER_ISAIAH_5                    382
#define TRAINER_ISOBEL                      383
#define TRAINER_DONNY                       384
#define TRAINER_TALIA                       385
#define TRAINER_KATELYN_1                   386
#define TRAINER_ALLISON                     387
#define TRAINER_KATELYN_2                   388
#define TRAINER_KATELYN_3                   389
#define TRAINER_KATELYN_4                   390
#define TRAINER_KATELYN_5                   391
#define TRAINER_NICOLAS_1                   392
#define TRAINER_NICOLAS_2                   393
#define TRAINER_NICOLAS_3                   394
#define TRAINER_NICOLAS_4                   395
#define TRAINER_NICOLAS_5                   396
#define TRAINER_AARON                       397
#define TRAINER_PERRY                       398
#define TRAINER_HUGH                        399
#define TRAINER_PHIL                        400
#define TRAINER_JARED                       401
#define TRAINER_HUMBERTO                    402
#define TRAINER_PRESLEY                     403
#define TRAINER_EDWARDO                     404
#define TRAINER_COLIN                       405
#define TRAINER_ROBERT_1                    406
#define TRAINER_BENNY                       407
#define TRAINER_CHESTER                     408
#define TRAINER_ROBERT_2                    409
#define TRAINER_ROBERT_3                    410
#define TRAINER_ROBERT_4                    411
#define TRAINER_ROBERT_5                    412
#define TRAINER_ALEX                        413
#define TRAINER_BECK                        414
#define TRAINER_YASU                        415
#define TRAINER_TAKASHI                     416
#define TRAINER_DIANNE                      417
#define TRAINER_JANI                        418
#define TRAINER_LAO_1                       419
#define TRAINER_LUNG                        420
#define TRAINER_LAO_2                       421
#define TRAINER_LAO_3                       422
#define TRAINER_LAO_4                       423
#define TRAINER_LAO_5                       424
#define TRAINER_JOCELYN                     425
#define TRAINER_LAURA                       426
#define TRAINER_CYNDY_1                     427
#define TRAINER_CORA                        428
#define TRAINER_PAULA                       429
#define TRAINER_CYNDY_2                     430
#define TRAINER_CYNDY_3                     431
#define TRAINER_CYNDY_4                     432
#define TRAINER_CYNDY_5                     433
#define TRAINER_MADELINE_1                  434
#define TRAINER_CLARISSA                    435
#define TRAINER_ANGELICA                    436
#define TRAINER_MADELINE_2                  437
#define TRAINER_MADELINE_3                  438
#define TRAINER_MADELINE_4                  439
#define TRAINER_MADELINE_5                  440
#define TRAINER_BEVERLY                     441
#define TRAINER_IMANI                       442
#define TRAINER_KYLA                        443
#define TRAINER_DENISE                      444
#define TRAINER_BETH                        445
#define TRAINER_TARA                        446
#define TRAINER_MISSY                       447
#define TRAINER_ALICE                       448
#define TRAINER_JENNY_1                     449
#define TRAINER_GRACE                       450
#define TRAINER_TANYA                       451
#define TRAINER_SHARON                      452
#define TRAINER_NIKKI                       453
#define TRAINER_BRENDA                      454
#define TRAINER_KATIE                       455
#define TRAINER_SUSIE                       456
#define TRAINER_KARA                        457
#define TRAINER_DANA                        458
#define TRAINER_SIENNA                      459
#define TRAINER_DEBRA                       460
#define TRAINER_LINDA                       461
#define TRAINER_KAYLEE                      462
#define TRAINER_LAUREL                      463
#define TRAINER_CARLEE                      464
#define TRAINER_JENNY_2                     465
#define TRAINER_JENNY_3                     466
#define TRAINER_JENNY_4                     467
#define TRAINER_JENNY_5                     468
#define TRAINER_HEIDI                       469
#define TRAINER_BECKY                       470
#define TRAINER_CAROL                       471
#define TRAINER_NANCY                       472
#define TRAINER_MARTHA                      473
#define TRAINER_DIANA_1                     474
#define TRAINER_CEDRIC                      475
#define TRAINER_IRENE                       476
#define TRAINER_DIANA_2                     477
#define TRAINER_DIANA_3                     478
#define TRAINER_DIANA_4                     479
#define TRAINER_DIANA_5                     480
#define TRAINER_AMY_AND_LIV_1               481
#define TRAINER_AMY_AND_LIV_2               482
#define TRAINER_GINA_AND_MIA_1              483
#define TRAINER_MIU_AND_YUKI                484
#define TRAINER_AMY_AND_LIV_3               485
#define TRAINER_GINA_AND_MIA_2              486
#define TRAINER_AMY_AND_LIV_4               487
#define TRAINER_AMY_AND_LIV_5               488
#define TRAINER_AMY_AND_LIV_6               489
#define TRAINER_HUEY                        490
#define TRAINER_EDMOND                      491
#define TRAINER_ERNEST_1                    492
#define TRAINER_DWAYNE                      493
#define TRAINER_PHILLIP                     494
#define TRAINER_LEONARD                     495
#define TRAINER_DUNCAN                      496
#define TRAINER_ERNEST_2                    497
#define TRAINER_ERNEST_3                    498
#define TRAINER_ERNEST_4                    499
#define TRAINER_ERNEST_5                    500
#define TRAINER_ELI                         501
#define TRAINER_ANNIKA                      502
#define TRAINER_JAZMYN                      503
#define TRAINER_JONAS                       504
#define TRAINER_KAYLEY                      505
#define TRAINER_AURON                       506
#define TRAINER_KELVIN                      507
#define TRAINER_MARLEY                      508
#define TRAINER_REYNA                       509
#define TRAINER_HUDSON                      510
#define TRAINER_CONOR                       511
#define TRAINER_EDWIN_1                     512
#define TRAINER_HECTOR                      513
#define TRAINER_TABITHA_MOSSDEEP            514
#define TRAINER_EDWIN_2                     515
#define TRAINER_EDWIN_3                     516
#define TRAINER_EDWIN_4                     517
#define TRAINER_EDWIN_5                     518
#define TRAINER_WALLY_VR_1                  519
#define TRAINER_BRENDAN_ROUTE_103_MUDKIP    520
#define TRAINER_BRENDAN_ROUTE_110_MUDKIP    521
#define TRAINER_BRENDAN_ROUTE_119_MUDKIP    522
#define TRAINER_BRENDAN_ROUTE_103_TREECKO   523
#define TRAINER_BRENDAN_ROUTE_110_TREECKO   524
#define TRAINER_BRENDAN_ROUTE_119_TREECKO   525
#define TRAINER_BRENDAN_ROUTE_103_TORCHIC   526
#define TRAINER_BRENDAN_ROUTE_110_TORCHIC   527
#define TRAINER_BRENDAN_ROUTE_119_TORCHIC   528
#define TRAINER_MAY_ROUTE_103_MUDKIP        529
#define TRAINER_MAY_ROUTE_110_MUDKIP        530
#define TRAINER_MAY_ROUTE_119_MUDKIP        531
#define TRAINER_MAY_ROUTE_103_TREECKO       532
#define TRAINER_MAY_ROUTE_110_TREECKO       533
#define TRAINER_MAY_ROUTE_119_TREECKO       534
#define TRAINER_MAY_ROUTE_103_TORCHIC       535
#define TRAINER_MAY_ROUTE_110_TORCHIC       536
#define TRAINER_MAY_ROUTE_119_TORCHIC       537
#define TRAINER_ISAAC_1                     538
#define TRAINER_DAVIS                       539
#define TRAINER_MITCHELL                    540
#define TRAINER_ISAAC_2                     541
#define TRAINER_ISAAC_3                     542
#define TRAINER_ISAAC_4                     543
#define TRAINER_ISAAC_5                     544
#define TRAINER_LYDIA_1                     545
#define TRAINER_HALLE                       546
#define TRAINER_GARRISON                    547
#define TRAINER_LYDIA_2                     548
#define TRAINER_LYDIA_3                     549
#define TRAINER_LYDIA_4                     550
#define TRAINER_LYDIA_5                     551
#define TRAINER_JACKSON_1                   552
#define TRAINER_LORENZO                     553
#define TRAINER_SEBASTIAN                   554
#define TRAINER_JACKSON_2                   555
#define TRAINER_JACKSON_3                   556
#define TRAINER_JACKSON_4                   557
#define TRAINER_JACKSON_5                   558
#define TRAINER_CATHERINE_1                 559
#define TRAINER_JENNA                       560
#define TRAINER_SOPHIA                      561
#define TRAINER_CATHERINE_2                 562
#define TRAINER_CATHERINE_3                 563
#define TRAINER_CATHERINE_4                 564
#define TRAINER_CATHERINE_5                 565
#define TRAINER_JULIO                       566
#define TRAINER_GRUNT_SEAFLOOR_CAVERN_5     567
#define TRAINER_GRUNT_UNUSED                568
#define TRAINER_GRUNT_MT_PYRE_4             569
#define TRAINER_GRUNT_JAGGED_PASS           570
#define TRAINER_MARC                        571
#define TRAINER_BRENDEN                     572
#define TRAINER_LILITH                      573
#define TRAINER_CRISTIAN                    574
#define TRAINER_SYLVIA                      575
#define TRAINER_LEONARDO                    576
#define TRAINER_ATHENA                      577
#define TRAINER_HARRISON                    578
#define TRAINER_GRUNT_MT_CHIMNEY_2          579
#define TRAINER_CLARENCE                    580
#define TRAINER_TERRY                       581
#define TRAINER_NATE                        582
#define TRAINER_KATHLEEN                    583
#define TRAINER_CLIFFORD                    584
#define TRAINER_NICHOLAS                    585
#define TRAINER_GRUNT_SPACE_CENTER_3        586
#define TRAINER_GRUNT_SPACE_CENTER_4        587
#define TRAINER_GRUNT_SPACE_CENTER_5        588
#define TRAINER_GRUNT_SPACE_CENTER_6        589
#define TRAINER_GRUNT_SPACE_CENTER_7        590
#define TRAINER_MACEY                       591
#define TRAINER_BRENDAN_RUSTBORO_TREECKO    592
#define TRAINER_BRENDAN_RUSTBORO_MUDKIP     593
#define TRAINER_PAXTON                      594
#define TRAINER_ISABELLA                    595
#define TRAINER_GRUNT_WEATHER_INST_5        596
#define TRAINER_TABITHA_MT_CHIMNEY          597
#define TRAINER_JONATHAN                    598
#define TRAINER_BRENDAN_RUSTBORO_TORCHIC    599
#define TRAINER_MAY_RUSTBORO_MUDKIP         600
#define TRAINER_MAXIE_MAGMA_HIDEOUT         601
#define TRAINER_MAXIE_MT_CHIMNEY            602
#define TRAINER_TIANA                       603
#define TRAINER_HALEY_1                     604
#define TRAINER_JANICE                      605
#define TRAINER_VIVI                        606
#define TRAINER_HALEY_2                     607
#define TRAINER_HALEY_3                     608
#define TRAINER_HALEY_4                     609
#define TRAINER_HALEY_5                     610
#define TRAINER_SALLY                       611
#define TRAINER_ROBIN                       612
#define TRAINER_ANDREA                      613
#define TRAINER_CRISSY                      614
#define TRAINER_RICK                        615
#define TRAINER_LYLE                        616
#define TRAINER_JOSE                        617
#define TRAINER_DOUG                        618
#define TRAINER_GREG                        619
#define TRAINER_KENT                        620
#define TRAINER_JAMES_1                     621
#define TRAINER_JAMES_2                     622
#define TRAINER_JAMES_3                     623
#define TRAINER_JAMES_4                     624
#define TRAINER_JAMES_5                     625
#define TRAINER_BRICE                       626
#define TRAINER_TRENT_1                     627
#define TRAINER_LENNY                       628
#define TRAINER_LUCAS_1                     629
#define TRAINER_ALAN                        630
#define TRAINER_CLARK                       631
#define TRAINER_ERIC                        632
#define TRAINER_LUCAS_2                     633
#define TRAINER_MIKE_1                      634
#define TRAINER_MIKE_2                      635
#define TRAINER_TRENT_2                     636
#define TRAINER_TRENT_3                     637
#define TRAINER_TRENT_4                     638
#define TRAINER_TRENT_5                     639
#define TRAINER_DEZ_AND_LUKE                640
#define TRAINER_LEA_AND_JED                 641
#define TRAINER_KIRA_AND_DAN_1              642
#define TRAINER_KIRA_AND_DAN_2              643
#define TRAINER_KIRA_AND_DAN_3              644
#define TRAINER_KIRA_AND_DAN_4              645
#define TRAINER_KIRA_AND_DAN_5              646
#define TRAINER_JOHANNA                     647
#define TRAINER_GERALD                      648
#define TRAINER_VIVIAN                      649
#define TRAINER_DANIELLE                    650
#define TRAINER_HIDEO                       651
#define TRAINER_KEIGO                       652
#define TRAINER_RILEY                       653
#define TRAINER_FLINT                       654
#define TRAINER_ASHLEY                      655
#define TRAINER_WALLY_MAUVILLE              656
#define TRAINER_WALLY_VR_2                  657
#define TRAINER_WALLY_VR_3                  658
#define TRAINER_WALLY_VR_4                  659
#define TRAINER_WALLY_VR_5                  660
#define TRAINER_BRENDAN_LILYCOVE_MUDKIP     661
#define TRAINER_BRENDAN_LILYCOVE_TREECKO    662
#define TRAINER_BRENDAN_LILYCOVE_TORCHIC    663
#define TRAINER_MAY_LILYCOVE_MUDKIP         664
#define TRAINER_MAY_LILYCOVE_TREECKO        665
#define TRAINER_MAY_LILYCOVE_TORCHIC        666
#define TRAINER_JONAH                       667
#define TRAINER_HENRY                       668
#define TRAINER_ROGER                       669
#define TRAINER_ALEXA                       670
#define TRAINER_RUBEN                       671
#define TRAINER_KOJI_1                      672
#define TRAINER_WAYNE                       673
#define TRAINER_AIDAN                       674
#define TRAINER_REED                        675
#define TRAINER_TISHA                       676
#define TRAINER_TORI_AND_TIA                677
#define TRAINER_KIM_AND_IRIS                678
#define TRAINER_TYRA_AND_IVY                679
#define TRAINER_MEL_AND_PAUL                680
#define TRAINER_JOHN_AND_JAY_1              681
#define TRAINER_JOHN_AND_JAY_2              682
#define TRAINER_JOHN_AND_JAY_3              683
#define TRAINER_JOHN_AND_JAY_4              684
#define TRAINER_JOHN_AND_JAY_5              685
#define TRAINER_RELI_AND_IAN                686
#define TRAINER_LILA_AND_ROY_1              687
#define TRAINER_LILA_AND_ROY_2              688
#define TRAINER_LILA_AND_ROY_3              689
#define TRAINER_LILA_AND_ROY_4              690
#define TRAINER_LILA_AND_ROY_5              691
#define TRAINER_LISA_AND_RAY                692
#define TRAINER_CHRIS                       693
#define TRAINER_DAWSON                      694
#define TRAINER_SARAH                       695
#define TRAINER_DARIAN                      696
#define TRAINER_HAILEY                      697
#define TRAINER_CHANDLER                    698
#define TRAINER_KALEB                       699
#define TRAINER_JOSEPH                      700
#define TRAINER_ALYSSA                      701
#define TRAINER_MARCOS                      702
#define TRAINER_RHETT                       703
#define TRAINER_TYRON                       704
#define TRAINER_CELINA                      705
#define TRAINER_BIANCA                      706
#define TRAINER_HAYDEN                      707
#define TRAINER_SOPHIE                      708
#define TRAINER_COBY                        709
#define TRAINER_LAWRENCE                    710
#define TRAINER_WYATT                       711
#define TRAINER_ANGELINA                    712
#define TRAINER_KAI                         713
#define TRAINER_CHARLOTTE                   714
#define TRAINER_DEANDRE                     715
#define TRAINER_GRUNT_MAGMA_HIDEOUT_1       716
#define TRAINER_GRUNT_MAGMA_HIDEOUT_2       717
#define TRAINER_GRUNT_MAGMA_HIDEOUT_3       718
#define TRAINER_GRUNT_MAGMA_HIDEOUT_4       719
#define TRAINER_GRUNT_MAGMA_HIDEOUT_5       720
#define TRAINER_GRUNT_MAGMA_HIDEOUT_6       721
#define TRAINER_GRUNT_MAGMA_HIDEOUT_7       722
#define TRAINER_GRUNT_MAGMA_HIDEOUT_8       723
#define TRAINER_GRUNT_MAGMA_HIDEOUT_9       724
#define TRAINER_GRUNT_MAGMA_HIDEOUT_10      725
#define TRAINER_GRUNT_MAGMA_HIDEOUT_11      726
#define TRAINER_GRUNT_MAGMA_HIDEOUT_12      727
#define TRAINER_GRUNT_MAGMA_HIDEOUT_13      728
#define TRAINER_GRUNT_MAGMA_HIDEOUT_14      729
#define TRAINER_GRUNT_MAGMA_HIDEOUT_15      730
#define TRAINER_GRUNT_MAGMA_HIDEOUT_16      731
#define TRAINER_TABITHA_MAGMA_HIDEOUT       732
#define TRAINER_DARCY                       733
#define TRAINER_MAXIE_MOSSDEEP              734
#define TRAINER_PETE                        735
#define TRAINER_ISABELLE                    736
#define TRAINER_ANDRES_1                    737
#define TRAINER_JOSUE                       738
#define TRAINER_CAMRON                      739
#define TRAINER_CORY_1                      740
#define TRAINER_CAROLINA                    741
#define TRAINER_ELIJAH                      742
#define TRAINER_CELIA                       743
#define TRAINER_BRYAN                       744
#define TRAINER_BRANDEN                     745
#define TRAINER_BRYANT                      746
#define TRAINER_SHAYLA                      747
#define TRAINER_KYRA                        748
#define TRAINER_JAIDEN                      749
#define TRAINER_ALIX                        750
#define TRAINER_HELENE                      751
#define TRAINER_MARLENE                     752
#define TRAINER_DEVAN                       753
#define TRAINER_JOHNSON                     754
#define TRAINER_MELINA                      755
#define TRAINER_BRANDI                      756
#define TRAINER_AISHA                       757
#define TRAINER_MAKAYLA                     758
#define TRAINER_FABIAN                      759
#define TRAINER_DAYTON                      760
#define TRAINER_RACHEL                      761
#define TRAINER_LEONEL                      762
#define TRAINER_CALLIE                      763
#define TRAINER_CALE                        764
#define TRAINER_MYLES                       765
#define TRAINER_PAT                         766
#define TRAINER_CRISTIN_1                   767
#define TRAINER_MAY_RUSTBORO_TREECKO        768
#define TRAINER_MAY_RUSTBORO_TORCHIC        769
#define TRAINER_ROXANNE_2                   770
#define TRAINER_ROXANNE_3                   771
#define TRAINER_ROXANNE_4                   772
#define TRAINER_ROXANNE_5                   773
#define TRAINER_BRAWLY_2                    774
#define TRAINER_BRAWLY_3                    775
#define TRAINER_BRAWLY_4                    776
#define TRAINER_BRAWLY_5                    777
#define TRAINER_WATTSON_2                   778
#define TRAINER_WATTSON_3                   779
#define TRAINER_WATTSON_4                   780
#define TRAINER_WATTSON_5                   781
#define TRAINER_FLANNERY_2                  782
#define TRAINER_FLANNERY_3                  783
#define TRAINER_FLANNERY_4                  784
#define TRAINER_FLANNERY_5                  785
#define TRAINER_NORMAN_2                    786
#define TRAINER_NORMAN_3                    787
#define TRAINER_NORMAN_4                    788
#define TRAINER_NORMAN_5                    789
#define TRAINER_WINONA_2                    790
#define TRAINER_WINONA_3                    791
#define TRAINER_WINONA_4                    792
#define TRAINER_WINONA_5                    793
#define TRAINER_TATE_AND_LIZA_2             794
#define TRAINER_TATE_AND_LIZA_3             795
#define TRAINER_TATE_AND_LIZA_4             796
#define TRAINER_TATE_AND_LIZA_5             797
#define TRAINER_JUAN_2                      798
#define TRAINER_JUAN_3                      799
#define TRAINER_JUAN_4                      800
#define TRAINER_JUAN_5                      801
#define TRAINER_ANGELO                      802
#define TRAINER_DARIUS                      803
#define TRAINER_STEVEN                      804
#define TRAINER_ANABEL                      805
#define TRAINER_TUCKER                      806
#define TRAINER_SPENSER                     807
#define TRAINER_GRETA                       808
#define TRAINER_NOLAND                      809
#define TRAINER_LUCY                        810
#define TRAINER_BRANDON                     811
#define TRAINER_ANDRES_2                    812
#define TRAINER_ANDRES_3                    813
#define TRAINER_ANDRES_4                    814
#define TRAINER_ANDRES_5                    815
#define TRAINER_CORY_2                      816
#define TRAINER_CORY_3                      817
#define TRAINER_CORY_4                      818
#define TRAINER_CORY_5                      819
#define TRAINER_PABLO_2                     820
#define TRAINER_PABLO_3                     821
#define TRAINER_PABLO_4                     822
#define TRAINER_PABLO_5                     823
#define TRAINER_KOJI_2                      824
#define TRAINER_KOJI_3                      825
#define TRAINER_KOJI_4                      826
#define TRAINER_KOJI_5                      827
#define TRAINER_CRISTIN_2                   828
#define TRAINER_CRISTIN_3                   829
#define TRAINER_CRISTIN_4                   830
#define TRAINER_CRISTIN_5                   831
#define TRAINER_FERNANDO_2                  832
#define TRAINER_FERNANDO_3                  833
#define TRAINER_FERNANDO_4                  834
#define TRAINER_FERNANDO_5                  835
#define TRAINER_SAWYER_2                    836
#define TRAINER_SAWYER_3                    837
#define TRAINER_SAWYER_4                    838
#define TRAINER_SAWYER_5                    839
#define TRAINER_GABRIELLE_2                 840
#define TRAINER_GABRIELLE_3                 841
#define TRAINER_GABRIELLE_4                 842
#define TRAINER_GABRIELLE_5                 843
#define TRAINER_THALIA_2                    844
#define TRAINER_THALIA_3                    845
#define TRAINER_THALIA_4                    846
#define TRAINER_THALIA_5                    847
#define TRAINER_MARIELA                     848
#define TRAINER_ALVARO                      849
#define TRAINER_EVERETT                     850
#define TRAINER_RED                         851
#define TRAINER_LEAF                        852
#define TRAINER_BRENDAN_PLACEHOLDER         853
#define TRAINER_MAY_PLACEHOLDER             854

// NOTE: Because each Trainer uses a flag to determine when they are defeated, there is only space for 9 additional trainers before trainer flag space overflows
//       More space can be made by shifting flags around in constants/flags.h or changing how trainer flags are handled
//       MAX_TRAINERS_COUNT can be increased but will take up additional saveblock space

#define TRAINERS_COUNT                      855
#define MAX_TRAINERS_COUNT                  864

#endif  // GUARD_CONSTANTS_OPPONENTS_H


code:
#ifndef GUARD_CONSTANTS_PARTY_MENU_H
#define GUARD_CONSTANTS_PARTY_MENU_H

#define AILMENT_NONE  0
#define AILMENT_PSN   1
#define AILMENT_PRZ   2
#define AILMENT_SLP   3
#define AILMENT_FRZ   4
#define AILMENT_BRN   5
#define AILMENT_PKRS  6
#define AILMENT_FNT   7

#define TUTOR_MOVE_MEGA_PUNCH      0
#define TUTOR_MOVE_SWORDS_DANCE    1
#define TUTOR_MOVE_MEGA_KICK       2
#define TUTOR_MOVE_BODY_SLAM       3
#define TUTOR_MOVE_DOUBLE_EDGE     4
#define TUTOR_MOVE_COUNTER         5
#define TUTOR_MOVE_SEISMIC_TOSS    6
#define TUTOR_MOVE_MIMIC           7
#define TUTOR_MOVE_METRONOME       8
#define TUTOR_MOVE_SOFT_BOILED     9
#define TUTOR_MOVE_DREAM_EATER     10
#define TUTOR_MOVE_THUNDER_WAVE    11
#define TUTOR_MOVE_EXPLOSION       12
#define TUTOR_MOVE_ROCK_SLIDE      13
#define TUTOR_MOVE_SUBSTITUTE      14
#define TUTOR_MOVE_DYNAMIC_PUNCH   15
#define TUTOR_MOVE_ROLLOUT         16
#define TUTOR_MOVE_PSYCH_UP        17
#define TUTOR_MOVE_SNORE           18
#define TUTOR_MOVE_ICY_WIND        19
#define TUTOR_MOVE_ENDURE          20
#define TUTOR_MOVE_MUD_SLAP        21
#define TUTOR_MOVE_ICE_PUNCH       22
#define TUTOR_MOVE_SWAGGER         23
#define TUTOR_MOVE_SLEEP_TALK      24
#define TUTOR_MOVE_SWIFT           25
#define TUTOR_MOVE_DEFENSE_CURL    26
#define TUTOR_MOVE_THUNDER_PUNCH   27
#define TUTOR_MOVE_FIRE_PUNCH      28
#define TUTOR_MOVE_FURY_CUTTER     29
#define TUTOR_MOVE_COUNT           30

#define PARTY_LAYOUT_SINGLE          0
#define PARTY_LAYOUT_DOUBLE          1
#define PARTY_LAYOUT_MULTI           2
#define PARTY_LAYOUT_MULTI_SHOWCASE  3  // The layout during the screen that appears just before a multi battle
#define PARTY_LAYOUT_COUNT           4
#define KEEP_PARTY_LAYOUT            0xFF

#define PARTY_MENU_TYPE_FIELD                     0
#define PARTY_MENU_TYPE_IN_BATTLE                 1
#define PARTY_MENU_TYPE_CONTEST                   2
#define PARTY_MENU_TYPE_CHOOSE_MON                3
#define PARTY_MENU_TYPE_CHOOSE_HALF               4  // multi battles, eReader battles, and some battle facilities
#define PARTY_MENU_TYPE_MULTI_SHOWCASE            5
#define PARTY_MENU_TYPE_DAYCARE                   6
#define PARTY_MENU_TYPE_MOVE_RELEARNER            7
#define PARTY_MENU_TYPE_UNION_ROOM_REGISTER       8  // trading board
#define PARTY_MENU_TYPE_UNION_ROOM_TRADE          9  // trading board
#define PARTY_MENU_TYPE_SPIN_TRADE                10 // Unused beta for Gen IV's Spin Trade
#define PARTY_MENU_TYPE_MINIGAME                  11
#define PARTY_MENU_TYPE_STORE_PYRAMID_HELD_ITEMS  12

#define PARTY_ACTION_CHOOSE_MON         0
#define PARTY_ACTION_SEND_OUT           1
#define PARTY_ACTION_CANT_SWITCH        2
#define PARTY_ACTION_USE_ITEM           3
#define PARTY_ACTION_ABILITY_PREVENTS   4
#define PARTY_ACTION_GIVE_ITEM          5
#define PARTY_ACTION_GIVE_PC_ITEM       6   // Unused. Not possible to give non-mail items directly from PC
#define PARTY_ACTION_GIVE_MAILBOX_MAIL  7
#define PARTY_ACTION_SWITCH             8
#define PARTY_ACTION_SWITCHING          9
#define PARTY_ACTION_SOFTBOILED         10
#define PARTY_ACTION_CHOOSE_AND_CLOSE   11
#define PARTY_ACTION_MOVE_TUTOR         12
#define PARTY_ACTION_MINIGAME           13
#define PARTY_ACTION_REUSABLE_ITEM      14  // Unused. The only reusable items are handled separately

// IDs for DisplayPartyMenuStdMessage, to display the message at the bottom of the party menu
#define PARTY_MSG_CHOOSE_MON                0
#define PARTY_MSG_CHOOSE_MON_OR_CANCEL      1
#define PARTY_MSG_CHOOSE_MON_AND_CONFIRM    2
#define PARTY_MSG_MOVE_TO_WHERE             3
#define PARTY_MSG_TEACH_WHICH_MON           4
#define PARTY_MSG_USE_ON_WHICH_MON          5
#define PARTY_MSG_GIVE_TO_WHICH_MON         6
#define PARTY_MSG_NOTHING_TO_CUT            7
#define PARTY_MSG_CANT_SURF_HERE            8
#define PARTY_MSG_ALREADY_SURFING           9
#define PARTY_MSG_CURRENT_TOO_FAST          10
#define PARTY_MSG_ENJOY_CYCLING             11
#define PARTY_MSG_ALREADY_IN_USE            12
#define PARTY_MSG_CANT_USE_HERE             13
#define PARTY_MSG_NO_MON_FOR_BATTLE         14
#define PARTY_MSG_CHOOSE_MON_2              15
#define PARTY_MSG_NOT_ENOUGH_HP             16
#define PARTY_MSG_X_MONS_ARE_NEEDED         17
#define PARTY_MSG_MONS_CANT_BE_SAME         18
#define PARTY_MSG_NO_SAME_HOLD_ITEMS        19
#define PARTY_MSG_UNUSED                    20
#define PARTY_MSG_DO_WHAT_WITH_MON          21
#define PARTY_MSG_RESTORE_WHICH_MOVE        22
#define PARTY_MSG_BOOST_PP_WHICH_MOVE       23
#define PARTY_MSG_DO_WHAT_WITH_ITEM         24
#define PARTY_MSG_DO_WHAT_WITH_MAIL         25
#define PARTY_MSG_ALREADY_HOLDING_ONE       26
#define PARTY_MSG_NONE                      127

// IDs for DisplayPartyPokemonDescriptionText, to display a message in the party pokemon's box
#define PARTYBOX_DESC_NO_USE      0
#define PARTYBOX_DESC_ABLE_3      1
#define PARTYBOX_DESC_FIRST       2
#define PARTYBOX_DESC_SECOND      3
#define PARTYBOX_DESC_THIRD       4
#define PARTYBOX_DESC_FOURTH      5
#define PARTYBOX_DESC_ABLE        6
#define PARTYBOX_DESC_NOT_ABLE    7
#define PARTYBOX_DESC_ABLE_2      8
#define PARTYBOX_DESC_NOT_ABLE_2  9
#define PARTYBOX_DESC_LEARNED     10
#define PARTYBOX_DESC_HAVE        11
#define PARTYBOX_DESC_DONT_HAVE   12

#define SELECTWINDOW_ACTIONS  0
#define SELECTWINDOW_ITEM     1
#define SELECTWINDOW_MAIL     2
#define SELECTWINDOW_MOVES    3

#endif // GUARD_CONSTANTS_PARTY_MENU_H