Merge branch 'master' of https://github.com/pret/pokefirered into doc-ql

This commit is contained in:
GriffinR
2023-04-10 10:18:07 -04:00
372 changed files with 6942 additions and 8149 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
#define HOLD_EFFECT_MACHO_BRACE 24
#define HOLD_EFFECT_EXP_SHARE 25
#define HOLD_EFFECT_QUICK_CLAW 26
#define HOLD_EFFECT_HAPPINESS_UP 27
#define HOLD_EFFECT_FRIENDSHIP_UP 27
#define HOLD_EFFECT_CURE_ATTRACT 28
#define HOLD_EFFECT_CHOICE_BAND 29
#define HOLD_EFFECT_FLINCH 30
+15 -2
View File
@@ -3,7 +3,7 @@
// field 0 masks
#define ITEM0_X_ATTACK 0x0F
#define ITEM0_HIGH_CRIT 0x30 // For Dire Hit, works the same way as move Focus Energy.
#define ITEM0_DIRE_HIT 0x30 // Works the same way as move Focus Energy.
#define ITEM0_SACRED_ASH 0x40
#define ITEM0_INFATUATION 0x80
@@ -23,7 +23,7 @@
#define ITEM3_POISON 0x10
#define ITEM3_SLEEP 0x20
#define ITEM3_LEVEL_UP 0x40
#define ITEM3_MIST 0x80 // For Guard Specs, works the same way as move Mist.
#define ITEM3_GUARD_SPEC 0x80 // Works the same way as the move Mist.
#define ITEM3_STATUS_ALL (ITEM3_CONFUSION | ITEM3_PARALYSIS | ITEM3_FREEZE | ITEM3_BURN | ITEM3_POISON | ITEM3_SLEEP)
@@ -50,6 +50,19 @@
#define ITEM5_FRIENDSHIP_ALL (ITEM5_FRIENDSHIP_LOW | ITEM5_FRIENDSHIP_MID | ITEM5_FRIENDSHIP_HIGH)
// fields 6 and onwards are item-specific arguments
#define ITEM_EFFECT_ARG_START 6
// Special HP recovery amounts for ITEM4_HEAL_HP
#define ITEM6_HEAL_HP_FULL ((u8) -1)
#define ITEM6_HEAL_HP_HALF ((u8) -2)
#define ITEM6_HEAL_HP_LVL_UP ((u8) -3)
// Special PP recovery amounts for ITEM4_HEAL_PP
#define ITEM6_HEAL_PP_FULL 0x7F
// Amount of EV modified by ITEM4_EV_HP, ITEM4_EV_ATK, ITEM5_EV_DEF, ITEM5_EV_SPEED, ITEM5_EV_SPDEF and ITEM5_EV_SPATK
#define ITEM6_ADD_EV 10
#define ITEM6_SUBTRACT_EV -10
// Used for GetItemEffectType.
#define ITEM_EFFECT_X_ITEM 0
+2
View File
@@ -70,6 +70,8 @@
#define MULTICHOICE_JOIN_OR_LEAD 63
#define MULTICHOICE_TRAINER_TOWER_MODE 64
#define MULTICHOICE_NONE 255
#define LISTMENU_BADGES 0
#define LISTMENU_SILPHCO_FLOORS 1
#define LISTMENU_ROCKET_HIDEOUT_FLOORS 2
+263 -263
View File
@@ -1,298 +1,298 @@
#ifndef GUARD_METATILE_LABELS_H
#define GUARD_METATILE_LABELS_H
// gTileset_General
#define METATILE_General_Plain_Mowed 0x001
#define METATILE_General_ThinTreeTop_Grass 0x00A
#define METATILE_General_WideTreeTopLeft_Grass 0x00B
#define METATILE_General_WideTreeTopRight_Grass 0x00C
#define METATILE_General_Plain_Grass 0x00D
#define METATILE_General_WideTreeTopLeft_Mowed 0x00E
#define METATILE_General_WideTreeTopRight_Mowed 0x00F
#define METATILE_General_ThinTreeTop_Mowed 0x013
#define METATILE_General_CalmWater 0x12B
#define METATILE_General_Door 0x03D
#define METATILE_General_SlidingSingleDoor 0x062
#define METATILE_General_SlidingDoubleDoor 0x15B
// gTileset_Building
#define METATILE_Building_PCOff 0x062
#define METATILE_Building_PCOn 0x063
// gTileset_GenericBuilding1
#define METATILE_GenericBuilding1_PlayersPCOn 0x28A
#define METATILE_GenericBuilding1_PlayersPCOff 0x28F
// gTileset_Mart
#define METATILE_Mart_CounterMid_Top 0x2BF
#define METATILE_Mart_CounterMid_Bottom 0x2C0
// gTileset_PokemonCenter
#define METATILE_PokemonCenter_Floor_ShadeLeft 0x2C5
#define METATILE_PokemonCenter_CounterBarrier 0x2F9
#define METATILE_PokemonCenter_NetworkMachine_ScreenLeft_On 0x35A
#define METATILE_PokemonCenter_NetworkMachine_ScreenRight_On 0x35B
#define METATILE_PokemonCenter_NetworkMachine_Ruby 0x35D
#define METATILE_PokemonCenter_NetworkMachine_Sapphire 0x35F
#define METATILE_PokemonCenter_Escalator_Top_Normal 0x2E4
#define METATILE_PokemonCenter_Escalator_Top_Transition1 0x317
#define METATILE_PokemonCenter_Escalator_Top_Transition2 0x315
#define METATILE_PokemonCenter_Escalator_TopNext_Normal 0x2E3
#define METATILE_PokemonCenter_Escalator_TopNext_Transition1 0x316
#define METATILE_PokemonCenter_Escalator_TopNext_Transition2 0x314
#define METATILE_PokemonCenter_Escalator_TopNextRail_Normal 0x2EB
#define METATILE_PokemonCenter_Escalator_TopNextRail_Transition1 0x31E
#define METATILE_PokemonCenter_Escalator_TopNextRail_Transition2 0x31C
#define METATILE_PokemonCenter_Escalator_Bottom_Normal 0x2D9
#define METATILE_PokemonCenter_Escalator_Bottom_Transition1 0x313
#define METATILE_PokemonCenter_Escalator_Bottom_Transition2 0x311
#define METATILE_PokemonCenter_Escalator_BottomRail_Normal 0x2D1
#define METATILE_PokemonCenter_Escalator_BottomRail_Transition1 0x30B
#define METATILE_PokemonCenter_Escalator_BottomRail_Transition2 0x309
#define METATILE_PokemonCenter_Escalator_BottomNext_Normal 0x2D8
#define METATILE_PokemonCenter_Escalator_BottomNext_Transition1 0x312
#define METATILE_PokemonCenter_Escalator_BottomNext_Transition2 0x310
#define METATILE_PokemonCenter_Escalator_BottomNextRail_Normal 0x2D0
#define METATILE_PokemonCenter_Escalator_BottomNextRail_Transition1 0x30A
#define METATILE_PokemonCenter_Escalator_BottomNextRail_Transition2 0x308
#define METATILE_PokemonCenter_CableClubDoor 0x2DE
#define METATILE_Building_PCOff 0x062
#define METATILE_Building_PCOn 0x063
// gTileset_Cave
#define METATILE_Cave_Floor_Ledge_Top 0x2D1
#define METATILE_Cave_Floor_Ledge_Bottom 0x2E1
#define METATILE_Cave_RockBarrier_Top 0x307
#define METATILE_Cave_RockBarrier_Bottom 0x317
#define METATILE_Cave_Floor_Ledge_Bottom 0x2E1
#define METATILE_Cave_Floor_Ledge_Top 0x2D1
#define METATILE_Cave_RockBarrier_Bottom 0x317
#define METATILE_Cave_RockBarrier_Top 0x307
// gTileset_PalletTown
#define METATILE_PalletTown_Door 0x2A3
#define METATILE_PalletTown_OaksLabDoor 0x2AC
// gTileset_ViridianCity
#define METATILE_ViridianCity_Door 0x299
// gTileset_ViridianForest
#define METATILE_ViridianForest_HugeTreeTopMiddle_Grass 0x284
#define METATILE_ViridianForest_HugeTreeTopMiddle_Mowed 0x281
// gTileset_PewterCity
#define METATILE_PewterCity_Door 0x2CE
// gTileset_CeladonCity
#define METATILE_CeladonCity_CyclingRoad_Grass 0x352
#define METATILE_CeladonCity_CyclingRoad_Mowed 0x33E
#define METATILE_CeladonCity_DeptStoreDoor 0x294
// gTileset_CeruleanCity
#define METATILE_CeruleanCity_Door 0x298
// gTileset_SeaCottage
#define METATILE_SeaCottage_Teleporter_Light_Green 0x28A
#define METATILE_SeaCottage_Teleporter_Light_Yellow 0x2B5
#define METATILE_SeaCottage_Teleporter_Light_Red 0x2B6
#define METATILE_SeaCottage_Teleporter_Cable_Top 0x285
#define METATILE_SeaCottage_Teleporter_Cable_Bottom 0x2B4
#define METATILE_SeaCottage_Teleporter_CableBall_Top 0x2B9
#define METATILE_SeaCottage_Teleporter_CableBall_Bottom 0x2BA
#define METATILE_SeaCottage_Teleporter_Door 0x296
#define METATILE_SeaCottage_Teleporter_Door_HalfGlowing 0x2B7
#define METATILE_SeaCottage_Teleporter_Door_FullGlowing 0x2B8
// gTileset_VermilionCity
#define METATILE_VermilionCity_Door 0x29E
#define METATILE_VermilionCity_SSAnneWarp 0x2E1
// gTileset_VermilionGym
#define METATILE_VermilionGym_Floor 0x281
#define METATILE_VermilionGym_Beam_MidTop 0x285
#define METATILE_VermilionGym_Beam_MidBottom 0x28D
#define METATILE_VermilionGym_Beam_Node_TopLeft_Off 0x293
#define METATILE_VermilionGym_Beam_Node_TopLeft_Edge_Off 0x294
#define METATILE_VermilionGym_Beam_Node_TopRight_Edge_Off 0x295
#define METATILE_VermilionGym_Beam_Node_TopRight_Off 0x296
#define METATILE_VermilionGym_Beam_Node_BottomLeft_Off 0x29B
#define METATILE_VermilionGym_Beam_Node_BottomLeft_Edge_Off 0x29C
#define METATILE_VermilionGym_Beam_Node_BottomRight_Edge_Off 0x29D
#define METATILE_VermilionGym_Beam_Node_BottomRight_Off 0x29E
#define METATILE_VermilionGym_Beam_Node_TopLeft_On 0x2A9
#define METATILE_VermilionGym_Beam_Node_TopLeft_Edge_On 0x2AA
#define METATILE_VermilionGym_Beam_Node_TopRight_Edge_On 0x2AB
#define METATILE_VermilionGym_Beam_Node_TopRight_On 0x2AC
#define METATILE_VermilionGym_Beam_Node_BottomLeft_On 0x2B1
#define METATILE_VermilionGym_Beam_Node_BottomLeft_Edge_On 0x2B2
#define METATILE_VermilionGym_Beam_Node_BottomRight_Edge_On 0x2B3
#define METATILE_VermilionGym_Beam_Node_BottomRight_On 0x2B4
#define METATILE_VermilionGym_Beam_Node_TopLeft_HalfOn 0x2BB
#define METATILE_VermilionGym_Beam_Node_TopLeft_Edge_HalfOn 0x2BC
#define METATILE_VermilionGym_Beam_MidTop_HalfOn 0x2BD
#define METATILE_VermilionGym_Beam_Node_TopRight_Edge_HalfOn 0x2BE
#define METATILE_VermilionGym_Beam_Node_TopRight_HalfOn 0x2BF
#define METATILE_VermilionGym_Beam_Node_BottomLeft_HalfOn 0x2C3
#define METATILE_VermilionGym_Beam_Node_BottomLeft_Edge_HalfOn 0x2C4
#define METATILE_VermilionGym_Beam_MidBottom_HalfOn 0x2C5
#define METATILE_VermilionGym_Beam_Node_BottomRight_Edge_HalfOn 0x2C6
#define METATILE_VermilionGym_Beam_Node_BottomRight_HalfOn 0x2C7
// gTileset_SSAnne
#define METATILE_SSAnne_Door 0x281
// gTileset_LavenderTown
#define METATILE_LavenderTown_Door 0x2A2
// gTilset_CeladonCity
#define METATILE_CeladonCity_DeptStoreDoor 0x294
#define METATILE_CeladonCity_CyclingRoad_Grass 0x352
#define METATILE_CeladonCity_CyclingRoad_Mowed 0x33E
// gTileset_DepartmentStore
#define METATILE_DepartmentStore_ElevatorDoor 0x28D
// gTileset_GameCorner
#define METATILE_GameCorner_Floor_ShadeFull 0x292
#define METATILE_GameCorner_Floor_StairsTop 0x29D
#define METATILE_GameCorner_StairsTop 0x29E
#define METATILE_GameCorner_StairsBottom 0x29F
#define METATILE_GameCorner_PurpleWall_Floor 0x2CF
#define METATILE_GameCorner_PurpleWall_StairsTop 0x2A6
#define METATILE_GameCorner_PurpleWall_stairsBottom 0x2A7
#define METATILE_GameCorner_CheckeredFloor_ShadeLeft 0x2E1
#define METATILE_GameCorner_CounterBarrier 0x2F7
// gTileset_SaffronCity
#define METATILE_SaffronCity_Door 0x284
#define METATILE_SaffronCity_SilphCoDoor 0x2BC
// gTileset_SilphCo Includes Silph Co, Rocket Hideout/Warehouse, and all Elevators
#define METATILE_SilphCo_HideoutFloor 0x281
#define METATILE_SilphCo_HideoutFloor_ShadeFull 0x282
#define METATILE_SilphCo_Arrow_Up 0x2A0
#define METATILE_SilphCo_Arrow_Left 0x2A1
#define METATILE_SilphCo_Arrow_Down 0x2A8
#define METATILE_SilphCo_Arrow_Right 0x2A9
#define METATILE_SilphCo_HideoutBarrier_TopLeft_Wall 0x2C6
#define METATILE_SilphCo_HideoutBarrier_TopRight_Wall 0x2C7
#define METATILE_SilphCo_HideoutBarrier_TopLeft_Floor 0x2CE
#define METATILE_SilphCo_HideoutBarrier_TopRight_Floor 0x2CF
#define METATILE_SilphCo_HideoutBarrier_BottomLeft 0x2D6
#define METATILE_SilphCo_HideoutBarrier_BottomRight 0x2D7
#define METATILE_SilphCo_HideoutElevatorDoor 0x2AB
#define METATILE_SilphCo_ElevatorDoor 0x2E2
#define METATILE_SilphCo_ElevatorWindow_Top0 0x2E8
#define METATILE_SilphCo_ElevatorWindow_Top1 0x2E9
#define METATILE_SilphCo_ElevatorWindow_Top2 0x2EA
#define METATILE_SilphCo_ElevatorWindow_Mid0 0x2F0
#define METATILE_SilphCo_ElevatorWindow_Mid1 0x2F1
#define METATILE_SilphCo_ElevatorWindow_Mid2 0x2F2
#define METATILE_SilphCo_ElevatorWindow_Bottom0 0x2F8
#define METATILE_SilphCo_ElevatorWindow_Bottom1 0x2F9
#define METATILE_SilphCo_ElevatorWindow_Bottom2 0x2FA
#define METATILE_SilphCo_Floor 0x334
#define METATILE_SilphCo_Floor_ShadeFull 0x335
#define METATILE_SilphCo_Floor_WallLeftCorner 0x339
#define METATILE_SilphCo_Floor_WallRightCorner 0x33A
#define METATILE_SilphCo_Wall_RightEdge 0x346
#define METATILE_SilphCo_Wall_LeftEdge 0x347
#define METATILE_SilphCo_HorizontalBarrier_TopLeft 0x3B0
#define METATILE_SilphCo_HorizontalBarrier_TopRight 0x3B1
#define METATILE_SilphCo_HorizontalBarrier_BottomLeft 0x3B8
#define METATILE_SilphCo_HorizontalBarrier_BottomRight 0x3B9
#define METATILE_SilphCo_VerticalBarrier_TopLeft 0x3C0
#define METATILE_SilphCo_VerticalBarrier_TopRight 0x3C1
#define METATILE_SilphCo_VerticalBarrier_MidLeft 0x3C2
#define METATILE_SilphCo_VerticalBarrier_MidRight 0x3C3
#define METATILE_SilphCo_VerticalBarrier_BottomLeft 0x3C4
#define METATILE_SilphCo_VerticalBarrier_BottomRight 0x3C5
// gTileset_FuchsiaCity
#define METATILE_FuchsiaCity_Door 0x2BF
#define METATILE_FuchsiaCity_SafariZoneDoor 0x2D2
#define METATILE_FuchsiaCity_SafariZoneTreeTopLeft_Grass 0x300
#define METATILE_FuchsiaCity_SafariZoneTreeTopMiddle_Grass 0x301
#define METATILE_FuchsiaCity_SafariZoneTreeTopRight_Grass 0x302
#define METATILE_FuchsiaCity_SafariZoneTreeTopLeft_Mowed 0x310
#define METATILE_FuchsiaCity_SafariZoneTreeTopMiddle_Mowed 0x311
#define METATILE_FuchsiaCity_SafariZoneTreeTopRight_Mowed 0x312
// gTileset_CinnabarIsland
#define METATILE_CinnabarIsland_LabDoor 0x2AD
#define METATILE_CeruleanCity_Door 0x298
// gTileset_CinnabarGym
#define METATILE_CinnabarGym_Floor 0x281
#define METATILE_CinnabarGym_Floor_ShadeDiagonal 0x282
#define METATILE_CinnabarGym_Floor_ShadeFull 0x289
#define METATILE_CinnabarGym_Floor_WallRightCorner 0x2C6
#define METATILE_CinnabarGym_Floor_WallLeftCorner 0x2C7
#define METATILE_CinnabarGym_Floor_WallRightEdge 0x2CE
#define METATILE_CinnabarGym_Floor_WallLeftEdge 0x2CF
#define METATILE_CinnabarGym_Floor_WallRightCorner 0x2C6
#define METATILE_CinnabarGym_Floor_WallRightEdge 0x2CE
#define METATILE_CinnabarGym_Wall_RetractedBarrier 0x2D1
// gTileset_PokemonMansion
#define METATILE_PokemonMansion_Floor 0x284
#define METATILE_PokemonMansion_Floor_ShadeFull 0x285
#define METATILE_PokemonMansion_BasementFloor 0x286
#define METATILE_PokemonMansion_BasementFloor_ShadeFull 0x287
#define METATILE_PokemonMansion_Wall_EndPost_Mid 0x2A5
#define METATILE_PokemonMansion_Wall_EndPost_Bottom 0x2AD
#define METATILE_PokemonMansion_Wall_EndCap_Basement 0x2B0
#define METATILE_PokemonMansion_Wall_EndCap 0x2B5
#define METATILE_PokemonMansion_Barrier_Horizontal_TopLeft 0x2F8
#define METATILE_PokemonMansion_Barrier_Horizontal_TopMid 0x2F9
#define METATILE_PokemonMansion_Barrier_Horizontal_TopRight 0x2FA
#define METATILE_PokemonMansion_Barrier_Horizontal_BottomLeft 0x300
#define METATILE_PokemonMansion_Barrier_Horizontal_BottomMid 0x301
#define METATILE_PokemonMansion_Barrier_Horizontal_BottomRight 0x302
#define METATILE_PokemonMansion_Barrier_Horizontal_BottomLeft_Basement 0x354
#define METATILE_PokemonMansion_Barrier_Horizontal_BottomMid_Basement 0x355
#define METATILE_PokemonMansion_Barrier_Horizontal_BottomRight_Basement 0x356
#define METATILE_PokemonMansion_Barrier_Vertical_TopWall 0x350
#define METATILE_PokemonMansion_Barrier_Vertical_TopBase 0x358
#define METATILE_PokemonMansion_Barrier_Vertical_MidShadow 0x360
#define METATILE_PokemonMansion_Barrier_Vertical_Mid 0x368
#define METATILE_PokemonMansion_Barrier_Vertical_Bottom 0x370
#define METATILE_PokemonMansion_Barrier_Vertical_MidShadow_Basement 0x362
#define METATILE_PokemonMansion_Barrier_Vertical_Mid_Basement 0x36A
#define METATILE_PokemonMansion_Barrier_Vertical_Bottom_Basement 0x372
#define METATILE_PokemonMansion_Statue_BlackEyes 0x314
#define METATILE_PokemonMansion_Statue_BlackEyes_Shade 0x315
#define METATILE_PokemonMansion_Statue_BlackEyes_Basement 0x316
#define METATILE_PokemonMansion_Statue_RedEyes 0x34D
#define METATILE_PokemonMansion_Statue_RedEyes_Shade 0x34E
#define METATILE_PokemonMansion_Statue_RedEyes_Basement 0x34F
// gTileset_CinnabarIsland
#define METATILE_CinnabarIsland_LabDoor 0x2AD
// gTileset_PokemonLeague
#define METATILE_PokemonLeague_Door_Top_Open 0x28E
#define METATILE_PokemonLeague_Door_Mid_Open 0x296
#define METATILE_PokemonLeague_Entry_TopLeft_Closed 0x29D
#define METATILE_PokemonLeague_Entry_TopMid_Closed 0x29E
#define METATILE_PokemonLeague_Entry_TopRight_Closed 0x29F
#define METATILE_PokemonLeague_Entry_BottomLeft_Closed 0x2A5
#define METATILE_PokemonLeague_Entry_BottomMid_Closed 0x2A6
#define METATILE_PokemonLeague_Entry_BottomRight_Closed 0x2A7
#define METATILE_PokemonLeague_Floor_ShadeFull_Lance 0x311
// gTileset_DepartmentStore
#define METATILE_DepartmentStore_ElevatorDoor 0x28D
// gTileset_FuchsiaCity
#define METATILE_FuchsiaCity_Door 0x2BF
#define METATILE_FuchsiaCity_SafariZoneDoor 0x2D2
#define METATILE_FuchsiaCity_SafariZoneTreeTopLeft_Grass 0x300
#define METATILE_FuchsiaCity_SafariZoneTreeTopLeft_Mowed 0x310
#define METATILE_FuchsiaCity_SafariZoneTreeTopMiddle_Grass 0x301
#define METATILE_FuchsiaCity_SafariZoneTreeTopMiddle_Mowed 0x311
#define METATILE_FuchsiaCity_SafariZoneTreeTopRight_Grass 0x302
#define METATILE_FuchsiaCity_SafariZoneTreeTopRight_Mowed 0x312
// gTileset_GameCorner
#define METATILE_GameCorner_CheckeredFloor_ShadeLeft 0x2E1
#define METATILE_GameCorner_CounterBarrier 0x2F7
#define METATILE_GameCorner_Floor_ShadeFull 0x292
#define METATILE_GameCorner_Floor_StairsTop 0x29D
#define METATILE_GameCorner_PurpleWall_Floor 0x2CF
#define METATILE_GameCorner_PurpleWall_StairsTop 0x2A6
#define METATILE_GameCorner_PurpleWall_stairsBottom 0x2A7
#define METATILE_GameCorner_StairsBottom 0x29F
#define METATILE_GameCorner_StairsTop 0x29E
// gTileset_General
#define METATILE_General_CalmWater 0x12B
#define METATILE_General_Door 0x03D
#define METATILE_General_Plain_Grass 0x00D
#define METATILE_General_Plain_Mowed 0x001
#define METATILE_General_SlidingDoubleDoor 0x15B
#define METATILE_General_SlidingSingleDoor 0x062
#define METATILE_General_ThinTreeTop_Grass 0x00A
#define METATILE_General_ThinTreeTop_Mowed 0x013
#define METATILE_General_WideTreeTopLeft_Grass 0x00B
#define METATILE_General_WideTreeTopLeft_Mowed 0x00E
#define METATILE_General_WideTreeTopRight_Grass 0x00C
#define METATILE_General_WideTreeTopRight_Mowed 0x00F
// gTileset_GenericBuilding1
#define METATILE_GenericBuilding1_PlayersPCOff 0x28F
#define METATILE_GenericBuilding1_PlayersPCOn 0x28A
// gTileset_LavenderTown
#define METATILE_LavenderTown_Door 0x2A2
// gTileset_Mart
#define METATILE_Mart_CounterMid_Bottom 0x2C0
#define METATILE_Mart_CounterMid_Top 0x2BF
// gTileset_MtEmber
#define METATILE_MtEmber_CaveEntrance 0x346
// gTileset_SeafoamIslands
#define METATILE_SeafoamIslands_SlidingIce 0x34B
#define METATILE_SeafoamIslands_UncrackedIce 0x359
#define METATILE_SeafoamIslands_CrackedIce 0x35A
#define METATILE_SeafoamIslands_IceHole 0x35B
// gTileset_PalletTown
#define METATILE_PalletTown_Door 0x2A3
#define METATILE_PalletTown_OaksLabDoor 0x2AC
// gTileset_TrainerTower
#define METATILE_TrainerTower_Floor_ShadeBottomLeft 0x287
#define METATILE_TrainerTower_CounterBarrier 0x2B4
#define METATILE_TrainerTower_LobbyElevatorDoor 0x2C3
#define METATILE_TrainerTower_RoofElevatorDoor 0x356
// gTileset_PewterCity
#define METATILE_PewterCity_Door 0x2CE
// gTileset_PokemonCenter
#define METATILE_PokemonCenter_CableClubDoor 0x2DE
#define METATILE_PokemonCenter_CounterBarrier 0x2F9
#define METATILE_PokemonCenter_Escalator_BottomNextRail_Normal 0x2D0
#define METATILE_PokemonCenter_Escalator_BottomNextRail_Transition1 0x30A
#define METATILE_PokemonCenter_Escalator_BottomNextRail_Transition2 0x308
#define METATILE_PokemonCenter_Escalator_BottomNext_Normal 0x2D8
#define METATILE_PokemonCenter_Escalator_BottomNext_Transition1 0x312
#define METATILE_PokemonCenter_Escalator_BottomNext_Transition2 0x310
#define METATILE_PokemonCenter_Escalator_BottomRail_Normal 0x2D1
#define METATILE_PokemonCenter_Escalator_BottomRail_Transition1 0x30B
#define METATILE_PokemonCenter_Escalator_BottomRail_Transition2 0x309
#define METATILE_PokemonCenter_Escalator_Bottom_Normal 0x2D9
#define METATILE_PokemonCenter_Escalator_Bottom_Transition1 0x313
#define METATILE_PokemonCenter_Escalator_Bottom_Transition2 0x311
#define METATILE_PokemonCenter_Escalator_TopNextRail_Normal 0x2EB
#define METATILE_PokemonCenter_Escalator_TopNextRail_Transition1 0x31E
#define METATILE_PokemonCenter_Escalator_TopNextRail_Transition2 0x31C
#define METATILE_PokemonCenter_Escalator_TopNext_Normal 0x2E3
#define METATILE_PokemonCenter_Escalator_TopNext_Transition1 0x316
#define METATILE_PokemonCenter_Escalator_TopNext_Transition2 0x314
#define METATILE_PokemonCenter_Escalator_Top_Normal 0x2E4
#define METATILE_PokemonCenter_Escalator_Top_Transition1 0x317
#define METATILE_PokemonCenter_Escalator_Top_Transition2 0x315
#define METATILE_PokemonCenter_Floor_ShadeLeft 0x2C5
#define METATILE_PokemonCenter_NetworkMachine_Ruby 0x35D
#define METATILE_PokemonCenter_NetworkMachine_Sapphire 0x35F
#define METATILE_PokemonCenter_NetworkMachine_ScreenLeft_On 0x35A
#define METATILE_PokemonCenter_NetworkMachine_ScreenRight_On 0x35B
// gTileset_PokemonLeague
#define METATILE_PokemonLeague_Door_Mid_Open 0x296
#define METATILE_PokemonLeague_Door_Top_Open 0x28E
#define METATILE_PokemonLeague_Entry_BottomLeft_Closed 0x2A5
#define METATILE_PokemonLeague_Entry_BottomMid_Closed 0x2A6
#define METATILE_PokemonLeague_Entry_BottomRight_Closed 0x2A7
#define METATILE_PokemonLeague_Entry_TopLeft_Closed 0x29D
#define METATILE_PokemonLeague_Entry_TopMid_Closed 0x29E
#define METATILE_PokemonLeague_Entry_TopRight_Closed 0x29F
#define METATILE_PokemonLeague_Floor_ShadeFull_Lance 0x311
// gTileset_PokemonMansion
#define METATILE_PokemonMansion_Barrier_Horizontal_BottomLeft 0x300
#define METATILE_PokemonMansion_Barrier_Horizontal_BottomLeft_Basement 0x354
#define METATILE_PokemonMansion_Barrier_Horizontal_BottomMid 0x301
#define METATILE_PokemonMansion_Barrier_Horizontal_BottomMid_Basement 0x355
#define METATILE_PokemonMansion_Barrier_Horizontal_BottomRight 0x302
#define METATILE_PokemonMansion_Barrier_Horizontal_BottomRight_Basement 0x356
#define METATILE_PokemonMansion_Barrier_Horizontal_TopLeft 0x2F8
#define METATILE_PokemonMansion_Barrier_Horizontal_TopMid 0x2F9
#define METATILE_PokemonMansion_Barrier_Horizontal_TopRight 0x2FA
#define METATILE_PokemonMansion_Barrier_Vertical_Bottom 0x370
#define METATILE_PokemonMansion_Barrier_Vertical_Bottom_Basement 0x372
#define METATILE_PokemonMansion_Barrier_Vertical_Mid 0x368
#define METATILE_PokemonMansion_Barrier_Vertical_MidShadow 0x360
#define METATILE_PokemonMansion_Barrier_Vertical_MidShadow_Basement 0x362
#define METATILE_PokemonMansion_Barrier_Vertical_Mid_Basement 0x36A
#define METATILE_PokemonMansion_Barrier_Vertical_TopBase 0x358
#define METATILE_PokemonMansion_Barrier_Vertical_TopWall 0x350
#define METATILE_PokemonMansion_BasementFloor 0x286
#define METATILE_PokemonMansion_BasementFloor_ShadeFull 0x287
#define METATILE_PokemonMansion_Floor 0x284
#define METATILE_PokemonMansion_Floor_ShadeFull 0x285
#define METATILE_PokemonMansion_Statue_BlackEyes 0x314
#define METATILE_PokemonMansion_Statue_BlackEyes_Basement 0x316
#define METATILE_PokemonMansion_Statue_BlackEyes_Shade 0x315
#define METATILE_PokemonMansion_Statue_RedEyes 0x34D
#define METATILE_PokemonMansion_Statue_RedEyes_Basement 0x34F
#define METATILE_PokemonMansion_Statue_RedEyes_Shade 0x34E
#define METATILE_PokemonMansion_Wall_EndCap 0x2B5
#define METATILE_PokemonMansion_Wall_EndCap_Basement 0x2B0
#define METATILE_PokemonMansion_Wall_EndPost_Bottom 0x2AD
#define METATILE_PokemonMansion_Wall_EndPost_Mid 0x2A5
// gTileset_SSAnne
#define METATILE_SSAnne_Door 0x281
// gTileset_SaffronCity
#define METATILE_SaffronCity_Door 0x284
#define METATILE_SaffronCity_SilphCoDoor 0x2BC
// gTileset_SeaCottage
#define METATILE_SeaCottage_Teleporter_CableBall_Bottom 0x2BA
#define METATILE_SeaCottage_Teleporter_CableBall_Top 0x2B9
#define METATILE_SeaCottage_Teleporter_Cable_Bottom 0x2B4
#define METATILE_SeaCottage_Teleporter_Cable_Top 0x285
#define METATILE_SeaCottage_Teleporter_Door 0x296
#define METATILE_SeaCottage_Teleporter_Door_FullGlowing 0x2B8
#define METATILE_SeaCottage_Teleporter_Door_HalfGlowing 0x2B7
#define METATILE_SeaCottage_Teleporter_Light_Green 0x28A
#define METATILE_SeaCottage_Teleporter_Light_Red 0x2B6
#define METATILE_SeaCottage_Teleporter_Light_Yellow 0x2B5
// gTileset_SeafoamIslands
#define METATILE_SeafoamIslands_CrackedIce 0x35A
#define METATILE_SeafoamIslands_IceHole 0x35B
#define METATILE_SeafoamIslands_SlidingIce 0x34B
#define METATILE_SeafoamIslands_UncrackedIce 0x359
// gTileset_SeviiIslands123
#define METATILE_SeviiIslands123_Door 0x297
#define METATILE_SeviiIslands123_GameCornerDoor 0x29B
#define METATILE_SeviiIslands123_PokeCenterDoor 0x2EB
#define METATILE_SeviiIslands123_Door 0x297
#define METATILE_SeviiIslands123_GameCornerDoor 0x29B
#define METATILE_SeviiIslands123_PokeCenterDoor 0x2EB
// gTileset_SeviiIslands45
#define METATILE_SeviiIslands45_Door 0x29A
#define METATILE_SeviiIslands45_DayCareDoor 0x2B9
#define METATILE_SeviiIslands45_RocketWarehouseDoor_Locked 0x30B
#define METATILE_SeviiIslands45_RocketWarehouseDoor_Unlocked 0x2AF
#define METATILE_SeviiIslands45_DayCareDoor 0x2B9
#define METATILE_SeviiIslands45_Door 0x29A
#define METATILE_SeviiIslands45_RocketWarehouseDoor_Locked 0x30B
#define METATILE_SeviiIslands45_RocketWarehouseDoor_Unlocked 0x2AF
// gTileset_SeviiIslands67
#define METATILE_SeviiIslands67_Door 0x30C
#define METATILE_SeviiIslands67_DottedHoleDoor_Closed 0x357
#define METATILE_SeviiIslands67_DottedHoleDoor_Open 0x358
// gTileset_SilphCo
#define METATILE_SilphCo_Arrow_Down 0x2A8
#define METATILE_SilphCo_Arrow_Left 0x2A1
#define METATILE_SilphCo_Arrow_Right 0x2A9
#define METATILE_SilphCo_Arrow_Up 0x2A0
#define METATILE_SilphCo_ElevatorDoor 0x2E2
#define METATILE_SilphCo_ElevatorWindow_Bottom0 0x2F8
#define METATILE_SilphCo_ElevatorWindow_Bottom1 0x2F9
#define METATILE_SilphCo_ElevatorWindow_Bottom2 0x2FA
#define METATILE_SilphCo_ElevatorWindow_Mid0 0x2F0
#define METATILE_SilphCo_ElevatorWindow_Mid1 0x2F1
#define METATILE_SilphCo_ElevatorWindow_Mid2 0x2F2
#define METATILE_SilphCo_ElevatorWindow_Top0 0x2E8
#define METATILE_SilphCo_ElevatorWindow_Top1 0x2E9
#define METATILE_SilphCo_ElevatorWindow_Top2 0x2EA
#define METATILE_SilphCo_Floor 0x334
#define METATILE_SilphCo_Floor_ShadeFull 0x335
#define METATILE_SilphCo_Floor_WallLeftCorner 0x339
#define METATILE_SilphCo_Floor_WallRightCorner 0x33A
#define METATILE_SilphCo_HideoutBarrier_BottomLeft 0x2D6
#define METATILE_SilphCo_HideoutBarrier_BottomRight 0x2D7
#define METATILE_SilphCo_HideoutBarrier_TopLeft_Floor 0x2CE
#define METATILE_SilphCo_HideoutBarrier_TopLeft_Wall 0x2C6
#define METATILE_SilphCo_HideoutBarrier_TopRight_Floor 0x2CF
#define METATILE_SilphCo_HideoutBarrier_TopRight_Wall 0x2C7
#define METATILE_SilphCo_HideoutElevatorDoor 0x2AB
#define METATILE_SilphCo_HideoutFloor 0x281
#define METATILE_SilphCo_HideoutFloor_ShadeFull 0x282
#define METATILE_SilphCo_HorizontalBarrier_BottomLeft 0x3B8
#define METATILE_SilphCo_HorizontalBarrier_BottomRight 0x3B9
#define METATILE_SilphCo_HorizontalBarrier_TopLeft 0x3B0
#define METATILE_SilphCo_HorizontalBarrier_TopRight 0x3B1
#define METATILE_SilphCo_VerticalBarrier_BottomLeft 0x3C4
#define METATILE_SilphCo_VerticalBarrier_BottomRight 0x3C5
#define METATILE_SilphCo_VerticalBarrier_MidLeft 0x3C2
#define METATILE_SilphCo_VerticalBarrier_MidRight 0x3C3
#define METATILE_SilphCo_VerticalBarrier_TopLeft 0x3C0
#define METATILE_SilphCo_VerticalBarrier_TopRight 0x3C1
#define METATILE_SilphCo_Wall_LeftEdge 0x347
#define METATILE_SilphCo_Wall_RightEdge 0x346
// gTileset_TrainerTower
#define METATILE_TrainerTower_CounterBarrier 0x2B4
#define METATILE_TrainerTower_Floor_ShadeBottomLeft 0x287
#define METATILE_TrainerTower_LobbyElevatorDoor 0x2C3
#define METATILE_TrainerTower_RoofElevatorDoor 0x356
// gTileset_VermilionCity
#define METATILE_VermilionCity_Door 0x29E
#define METATILE_VermilionCity_SSAnneWarp 0x2E1
// gTileset_VermilionGym
#define METATILE_VermilionGym_Beam_MidBottom 0x28D
#define METATILE_VermilionGym_Beam_MidBottom_HalfOn 0x2C5
#define METATILE_VermilionGym_Beam_MidTop 0x285
#define METATILE_VermilionGym_Beam_MidTop_HalfOn 0x2BD
#define METATILE_VermilionGym_Beam_Node_BottomLeft_Edge_HalfOn 0x2C4
#define METATILE_VermilionGym_Beam_Node_BottomLeft_Edge_Off 0x29C
#define METATILE_VermilionGym_Beam_Node_BottomLeft_Edge_On 0x2B2
#define METATILE_VermilionGym_Beam_Node_BottomLeft_HalfOn 0x2C3
#define METATILE_VermilionGym_Beam_Node_BottomLeft_Off 0x29B
#define METATILE_VermilionGym_Beam_Node_BottomLeft_On 0x2B1
#define METATILE_VermilionGym_Beam_Node_BottomRight_Edge_HalfOn 0x2C6
#define METATILE_VermilionGym_Beam_Node_BottomRight_Edge_Off 0x29D
#define METATILE_VermilionGym_Beam_Node_BottomRight_Edge_On 0x2B3
#define METATILE_VermilionGym_Beam_Node_BottomRight_HalfOn 0x2C7
#define METATILE_VermilionGym_Beam_Node_BottomRight_Off 0x29E
#define METATILE_VermilionGym_Beam_Node_BottomRight_On 0x2B4
#define METATILE_VermilionGym_Beam_Node_TopLeft_Edge_HalfOn 0x2BC
#define METATILE_VermilionGym_Beam_Node_TopLeft_Edge_Off 0x294
#define METATILE_VermilionGym_Beam_Node_TopLeft_Edge_On 0x2AA
#define METATILE_VermilionGym_Beam_Node_TopLeft_HalfOn 0x2BB
#define METATILE_VermilionGym_Beam_Node_TopLeft_Off 0x293
#define METATILE_VermilionGym_Beam_Node_TopLeft_On 0x2A9
#define METATILE_VermilionGym_Beam_Node_TopRight_Edge_HalfOn 0x2BE
#define METATILE_VermilionGym_Beam_Node_TopRight_Edge_Off 0x295
#define METATILE_VermilionGym_Beam_Node_TopRight_Edge_On 0x2AB
#define METATILE_VermilionGym_Beam_Node_TopRight_HalfOn 0x2BF
#define METATILE_VermilionGym_Beam_Node_TopRight_Off 0x296
#define METATILE_VermilionGym_Beam_Node_TopRight_On 0x2AC
#define METATILE_VermilionGym_Floor 0x281
// gTileset_ViridianCity
#define METATILE_ViridianCity_Door 0x299
// gTileset_ViridianForest
#define METATILE_ViridianForest_HugeTreeTopMiddle_Grass 0x284
#define METATILE_ViridianForest_HugeTreeTopMiddle_Mowed 0x281
#endif // GUARD_METATILE_LABELS_H
+177 -118
View File
@@ -2,95 +2,95 @@
#define GUARD_CONSTANTS_POKEMON_H
// For (Set|Get)(Box)?MonData
#define MON_DATA_PERSONALITY 0
#define MON_DATA_OT_ID 1
#define MON_DATA_NICKNAME 2
#define MON_DATA_LANGUAGE 3
#define MON_DATA_SANITY_IS_BAD_EGG 4
#define MON_DATA_SANITY_HAS_SPECIES 5
#define MON_DATA_SANITY_IS_EGG 6
#define MON_DATA_OT_NAME 7
#define MON_DATA_MARKINGS 8
#define MON_DATA_CHECKSUM 9
#define MON_DATA_ENCRYPT_SEPARATOR 10
#define MON_DATA_SPECIES 11
#define MON_DATA_HELD_ITEM 12
#define MON_DATA_MOVE1 13
#define MON_DATA_MOVE2 14
#define MON_DATA_MOVE3 15
#define MON_DATA_MOVE4 16
#define MON_DATA_PP1 17
#define MON_DATA_PP2 18
#define MON_DATA_PP3 19
#define MON_DATA_PP4 20
#define MON_DATA_PP_BONUSES 21
#define MON_DATA_COOL 22
#define MON_DATA_BEAUTY 23
#define MON_DATA_CUTE 24
#define MON_DATA_EXP 25
#define MON_DATA_HP_EV 26
#define MON_DATA_ATK_EV 27
#define MON_DATA_DEF_EV 28
#define MON_DATA_SPEED_EV 29
#define MON_DATA_SPATK_EV 30
#define MON_DATA_SPDEF_EV 31
#define MON_DATA_FRIENDSHIP 32
#define MON_DATA_SMART 33
#define MON_DATA_POKERUS 34
#define MON_DATA_MET_LOCATION 35
#define MON_DATA_MET_LEVEL 36
#define MON_DATA_MET_GAME 37
#define MON_DATA_POKEBALL 38
#define MON_DATA_HP_IV 39
#define MON_DATA_ATK_IV 40
#define MON_DATA_DEF_IV 41
#define MON_DATA_SPEED_IV 42
#define MON_DATA_SPATK_IV 43
#define MON_DATA_SPDEF_IV 44
#define MON_DATA_IS_EGG 45
#define MON_DATA_ABILITY_NUM 46
#define MON_DATA_TOUGH 47
#define MON_DATA_SHEEN 48
#define MON_DATA_OT_GENDER 49
#define MON_DATA_COOL_RIBBON 50
#define MON_DATA_BEAUTY_RIBBON 51
#define MON_DATA_CUTE_RIBBON 52
#define MON_DATA_SMART_RIBBON 53
#define MON_DATA_TOUGH_RIBBON 54
#define MON_DATA_STATUS 55
#define MON_DATA_LEVEL 56
#define MON_DATA_HP 57
#define MON_DATA_MAX_HP 58
#define MON_DATA_ATK 59
#define MON_DATA_DEF 60
#define MON_DATA_SPEED 61
#define MON_DATA_SPATK 62
#define MON_DATA_SPDEF 63
#define MON_DATA_MAIL 64
#define MON_DATA_SPECIES2 65
#define MON_DATA_IVS 66
#define MON_DATA_CHAMPION_RIBBON 67
#define MON_DATA_WINNING_RIBBON 68
#define MON_DATA_VICTORY_RIBBON 69
#define MON_DATA_ARTIST_RIBBON 70
#define MON_DATA_EFFORT_RIBBON 71
#define MON_DATA_MARINE_RIBBON 72
#define MON_DATA_LAND_RIBBON 73
#define MON_DATA_SKY_RIBBON 74
#define MON_DATA_COUNTRY_RIBBON 75
#define MON_DATA_NATIONAL_RIBBON 76
#define MON_DATA_EARTH_RIBBON 77
#define MON_DATA_WORLD_RIBBON 78
#define MON_DATA_UNUSED_RIBBONS 79
#define MON_DATA_EVENT_LEGAL 80
#define MON_DATA_KNOWN_MOVES 81
#define MON_DATA_RIBBON_COUNT 82
#define MON_DATA_RIBBONS 83
#define MON_DATA_ATK2 84
#define MON_DATA_DEF2 85
#define MON_DATA_SPEED2 86
#define MON_DATA_SPATK2 87
#define MON_DATA_SPDEF2 88
#define MON_DATA_PERSONALITY 0
#define MON_DATA_OT_ID 1
#define MON_DATA_NICKNAME 2
#define MON_DATA_LANGUAGE 3
#define MON_DATA_SANITY_IS_BAD_EGG 4
#define MON_DATA_SANITY_HAS_SPECIES 5
#define MON_DATA_SANITY_IS_EGG 6
#define MON_DATA_OT_NAME 7
#define MON_DATA_MARKINGS 8
#define MON_DATA_CHECKSUM 9
#define MON_DATA_ENCRYPT_SEPARATOR 10
#define MON_DATA_SPECIES 11
#define MON_DATA_HELD_ITEM 12
#define MON_DATA_MOVE1 13
#define MON_DATA_MOVE2 14
#define MON_DATA_MOVE3 15
#define MON_DATA_MOVE4 16
#define MON_DATA_PP1 17
#define MON_DATA_PP2 18
#define MON_DATA_PP3 19
#define MON_DATA_PP4 20
#define MON_DATA_PP_BONUSES 21
#define MON_DATA_COOL 22
#define MON_DATA_BEAUTY 23
#define MON_DATA_CUTE 24
#define MON_DATA_EXP 25
#define MON_DATA_HP_EV 26
#define MON_DATA_ATK_EV 27
#define MON_DATA_DEF_EV 28
#define MON_DATA_SPEED_EV 29
#define MON_DATA_SPATK_EV 30
#define MON_DATA_SPDEF_EV 31
#define MON_DATA_FRIENDSHIP 32
#define MON_DATA_SMART 33
#define MON_DATA_POKERUS 34
#define MON_DATA_MET_LOCATION 35
#define MON_DATA_MET_LEVEL 36
#define MON_DATA_MET_GAME 37
#define MON_DATA_POKEBALL 38
#define MON_DATA_HP_IV 39
#define MON_DATA_ATK_IV 40
#define MON_DATA_DEF_IV 41
#define MON_DATA_SPEED_IV 42
#define MON_DATA_SPATK_IV 43
#define MON_DATA_SPDEF_IV 44
#define MON_DATA_IS_EGG 45
#define MON_DATA_ABILITY_NUM 46
#define MON_DATA_TOUGH 47
#define MON_DATA_SHEEN 48
#define MON_DATA_OT_GENDER 49
#define MON_DATA_COOL_RIBBON 50
#define MON_DATA_BEAUTY_RIBBON 51
#define MON_DATA_CUTE_RIBBON 52
#define MON_DATA_SMART_RIBBON 53
#define MON_DATA_TOUGH_RIBBON 54
#define MON_DATA_STATUS 55
#define MON_DATA_LEVEL 56
#define MON_DATA_HP 57
#define MON_DATA_MAX_HP 58
#define MON_DATA_ATK 59
#define MON_DATA_DEF 60
#define MON_DATA_SPEED 61
#define MON_DATA_SPATK 62
#define MON_DATA_SPDEF 63
#define MON_DATA_MAIL 64
#define MON_DATA_SPECIES_OR_EGG 65
#define MON_DATA_IVS 66
#define MON_DATA_CHAMPION_RIBBON 67
#define MON_DATA_WINNING_RIBBON 68
#define MON_DATA_VICTORY_RIBBON 69
#define MON_DATA_ARTIST_RIBBON 70
#define MON_DATA_EFFORT_RIBBON 71
#define MON_DATA_MARINE_RIBBON 72
#define MON_DATA_LAND_RIBBON 73
#define MON_DATA_SKY_RIBBON 74
#define MON_DATA_COUNTRY_RIBBON 75
#define MON_DATA_NATIONAL_RIBBON 76
#define MON_DATA_EARTH_RIBBON 77
#define MON_DATA_WORLD_RIBBON 78
#define MON_DATA_UNUSED_RIBBONS 79
#define MON_DATA_MODERN_FATEFUL_ENCOUNTER 80
#define MON_DATA_KNOWN_MOVES 81
#define MON_DATA_RIBBON_COUNT 82
#define MON_DATA_RIBBONS 83
#define MON_DATA_ATK2 84
#define MON_DATA_DEF2 85
#define MON_DATA_SPEED2 86
#define MON_DATA_SPATK2 87
#define MON_DATA_SPDEF2 88
// Pokemon types
#define TYPE_NONE 255
@@ -115,21 +115,21 @@
#define NUMBER_OF_MON_TYPES 18
// Pokemon egg groups
#define EGG_GROUP_NONE 0
#define EGG_GROUP_MONSTER 1
#define EGG_GROUP_WATER_1 2
#define EGG_GROUP_BUG 3
#define EGG_GROUP_FLYING 4
#define EGG_GROUP_FIELD 5
#define EGG_GROUP_FAIRY 6
#define EGG_GROUP_GRASS 7
#define EGG_GROUP_HUMAN_LIKE 8
#define EGG_GROUP_WATER_3 9
#define EGG_GROUP_MINERAL 10
#define EGG_GROUP_AMORPHOUS 11
#define EGG_GROUP_WATER_2 12
#define EGG_GROUP_DITTO 13
#define EGG_GROUP_DRAGON 14
#define EGG_GROUP_NONE 0
#define EGG_GROUP_MONSTER 1
#define EGG_GROUP_WATER_1 2
#define EGG_GROUP_BUG 3
#define EGG_GROUP_FLYING 4
#define EGG_GROUP_FIELD 5
#define EGG_GROUP_FAIRY 6
#define EGG_GROUP_GRASS 7
#define EGG_GROUP_HUMAN_LIKE 8
#define EGG_GROUP_WATER_3 9
#define EGG_GROUP_MINERAL 10
#define EGG_GROUP_AMORPHOUS 11
#define EGG_GROUP_WATER_2 12
#define EGG_GROUP_DITTO 13
#define EGG_GROUP_DRAGON 14
#define EGG_GROUP_UNDISCOVERED 15
#define EGG_GROUPS_PER_MON 2
@@ -184,23 +184,29 @@
// Shiny odds
#define SHINY_ODDS 8 // Actual probability is SHINY_ODDS/65536
#define MAX_LEVEL 100
#define OT_ID_PLAYER_ID 0
#define OT_ID_PRESET 1
#define OT_ID_RANDOM_NO_SHINY 2
#define MON_GIVEN_TO_PARTY 0
#define MON_GIVEN_TO_PC 1
#define MON_CANT_GIVE 2
#define PLAYER_HAS_TWO_USABLE_MONS 0
#define PLAYER_HAS_ONE_MON 1
#define PLAYER_HAS_ONE_USABLE_MON 2
// Learning moves
#define MON_ALREADY_KNOWS_MOVE 0xFFFE
#define MON_HAS_MAX_MOVES 0xFFFF
#define PLAYER_HAS_TWO_USABLE_MONS 0x0
#define PLAYER_HAS_ONE_MON 0x1
#define PLAYER_HAS_ONE_USABLE_MON 0x2
#define LEVEL_UP_MOVE_ID 0x01FF
#define LEVEL_UP_MOVE_LV 0xFE00
#define LEVEL_UP_END 0xFFFF
#define MAX_LEVEL 100
#define OT_ID_RANDOM_NO_SHINY 2
#define OT_ID_PRESET 1
#define OT_ID_PLAYER_ID 0
#define MON_GIVEN_TO_PARTY 0x0
#define MON_GIVEN_TO_PC 0x1
#define MON_CANT_GIVE 0x2
#define MAX_LEVEL_UP_MOVES 20
#define MON_MALE 0x00
#define MON_FEMALE 0xFE
@@ -217,6 +223,10 @@
#define FRIENDSHIP_EVENT_FAINT_OUTSIDE_BATTLE 8
#define FRIENDSHIP_EVENT_FAINT_LARGE 9
#define MAX_FRIENDSHIP 255
#define MAX_SHEEN 255
#define MAX_CONDITION 255
#define MAX_PER_STAT_IVS 31
#define MAX_IV_MASK 31
#define USE_RANDOM_IVS (MAX_PER_STAT_IVS + 1)
@@ -224,8 +234,52 @@
#define MAX_TOTAL_EVS 510
#define EV_ITEM_RAISE_LIMIT 100
#define PARTY_SIZE 6
#define BOX_NAME_LENGTH 8
// Battle move flags
#define FLAG_MAKES_CONTACT (1 << 0)
#define FLAG_PROTECT_AFFECTED (1 << 1)
#define FLAG_MAGIC_COAT_AFFECTED (1 << 2)
#define FLAG_SNATCH_AFFECTED (1 << 3)
#define FLAG_MIRROR_MOVE_AFFECTED (1 << 4)
#define FLAG_KINGS_ROCK_AFFECTED (1 << 5)
// Growth rates
#define GROWTH_MEDIUM_FAST 0
#define GROWTH_ERRATIC 1
#define GROWTH_FLUCTUATING 2
#define GROWTH_MEDIUM_SLOW 3
#define GROWTH_FAST 4
#define GROWTH_SLOW 5
// Body colors for pokedex search
#define BODY_COLOR_RED 0
#define BODY_COLOR_BLUE 1
#define BODY_COLOR_YELLOW 2
#define BODY_COLOR_GREEN 3
#define BODY_COLOR_BLACK 4
#define BODY_COLOR_BROWN 5
#define BODY_COLOR_PURPLE 6
#define BODY_COLOR_GRAY 7
#define BODY_COLOR_WHITE 8
#define BODY_COLOR_PINK 9
// Evolution types
#define EVO_FRIENDSHIP 1 // Pokémon levels up with friendship ≥ 220
#define EVO_FRIENDSHIP_DAY 2 // Pokémon levels up during the day with friendship ≥ 220
#define EVO_FRIENDSHIP_NIGHT 3 // Pokémon levels up at night with friendship ≥ 220
#define EVO_LEVEL 4 // Pokémon reaches the specified level
#define EVO_TRADE 5 // Pokémon is traded
#define EVO_TRADE_ITEM 6 // Pokémon is traded while it's holding the specified item
#define EVO_ITEM 7 // specified item is used on Pokémon
#define EVO_LEVEL_ATK_GT_DEF 8 // Pokémon reaches the specified level with attack > defense
#define EVO_LEVEL_ATK_EQ_DEF 9 // Pokémon reaches the specified level with attack = defense
#define EVO_LEVEL_ATK_LT_DEF 10 // Pokémon reaches the specified level with attack < defense
#define EVO_LEVEL_SILCOON 11 // Pokémon reaches the specified level with a Silcoon personality value
#define EVO_LEVEL_CASCOON 12 // Pokémon reaches the specified level with a Cascoon personality value
#define EVO_LEVEL_NINJASK 13 // Pokémon reaches the specified level (special value for Ninjask)
#define EVO_LEVEL_SHEDINJA 14 // Pokémon reaches the specified level (special value for Shedinja)
#define EVO_BEAUTY 15 // Pokémon levels up with beauty ≥ specified value
#define EVOS_PER_MON 5
#define EVO_MODE_NORMAL 0
#define EVO_MODE_TRADE 1
@@ -236,6 +290,11 @@
#define MON_PIC_HEIGHT 64
#define MON_PIC_SIZE (MON_PIC_WIDTH * MON_PIC_HEIGHT / 2)
// Most pokemon have 1 frame. There are 2 exceptions:
// - Castform has 4 frames, 1 for each form
// - Deoxys has 2 frames, 1 for each form
#define MAX_MON_PIC_FRAMES 4
// used by ShouldIgnoreDeoxysForm
#define DEOXYS_CHECK_BATTLE_SPRITE 1
#define DEOXYS_CHECK_TRADE_MAIN 3