mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-18 04:27:38 +01:00
709 lines
19 KiB
C
709 lines
19 KiB
C
#ifndef GUARD_CONSTANTS_ITEMS_H
|
|
#define GUARD_CONSTANTS_ITEMS_H
|
|
|
|
#define ITEM_NONE 0
|
|
// Balls
|
|
#define ITEM_MASTER_BALL 1
|
|
#define ITEM_ULTRA_BALL 2
|
|
#define ITEM_GREAT_BALL 3
|
|
#define ITEM_POKE_BALL 4
|
|
#define ITEM_SAFARI_BALL 5
|
|
#define ITEM_NET_BALL 6
|
|
#define ITEM_DIVE_BALL 7
|
|
#define ITEM_NEST_BALL 8
|
|
#define ITEM_REPEAT_BALL 9
|
|
#define ITEM_TIMER_BALL 10
|
|
#define ITEM_LUXURY_BALL 11
|
|
#define ITEM_DUSK_BALL 12
|
|
#define ITEM_HEAL_BALL 13
|
|
#define ITEM_QUICK_BALL 14
|
|
#define ITEM_CHERISH_BALL 15
|
|
#define ITEM_FAST_BALL 16
|
|
#define ITEM_LEVEL_BALL 17
|
|
#define ITEM_LURE_BALL 18
|
|
#define ITEM_HEAVY_BALL 19
|
|
#define ITEM_LOVE_BALL 20
|
|
#define ITEM_FRIEND_BALL 21
|
|
#define ITEM_MOON_BALL 22
|
|
#define ITEM_SPORT_BALL 23
|
|
#define ITEM_PARK_BALL 24
|
|
#define ITEM_DREAM_BALL 25
|
|
#define ITEM_BEAST_BALL 26
|
|
#define ITEM_PREMIER_BALL 27
|
|
// Pokemon Items
|
|
#define ITEM_POTION 28
|
|
#define ITEM_ANTIDOTE 29
|
|
#define ITEM_BURN_HEAL 30
|
|
#define ITEM_ICE_HEAL 31
|
|
#define ITEM_AWAKENING 32
|
|
#define ITEM_PARALYZE_HEAL 33
|
|
#define ITEM_FULL_RESTORE 34
|
|
#define ITEM_MAX_POTION 35
|
|
#define ITEM_HYPER_POTION 36
|
|
#define ITEM_SUPER_POTION 37
|
|
#define ITEM_FULL_HEAL 38
|
|
#define ITEM_REVIVE 39
|
|
#define ITEM_MAX_REVIVE 40
|
|
#define ITEM_FRESH_WATER 41
|
|
#define ITEM_SODA_POP 42
|
|
#define ITEM_LEMONADE 43
|
|
#define ITEM_MOOMOO_MILK 44
|
|
#define ITEM_ENERGY_POWDER 45
|
|
#define ITEM_ENERGY_ROOT 46
|
|
#define ITEM_HEAL_POWDER 47
|
|
#define ITEM_REVIVAL_HERB 48
|
|
#define ITEM_ETHER 49
|
|
#define ITEM_MAX_ETHER 50
|
|
#define ITEM_ELIXIR 51
|
|
#define ITEM_MAX_ELIXIR 52
|
|
#define ITEM_LAVA_COOKIE 53
|
|
#define ITEM_BLUE_FLUTE 54
|
|
#define ITEM_YELLOW_FLUTE 55
|
|
#define ITEM_RED_FLUTE 56
|
|
#define ITEM_BLACK_FLUTE 57
|
|
#define ITEM_WHITE_FLUTE 58
|
|
#define ITEM_BERRY_JUICE 59
|
|
#define ITEM_SWEET_HEART 60
|
|
#define ITEM_BIG_MALASADA 61
|
|
#define ITEM_OLD_GATEAU 62
|
|
#define ITEM_SACRED_ASH 63
|
|
#define ITEM_SHOAL_SALT 64
|
|
#define ITEM_SHOAL_SHELL 65
|
|
#define ITEM_RED_SHARD 66
|
|
#define ITEM_BLUE_SHARD 67
|
|
#define ITEM_YELLOW_SHARD 68
|
|
#define ITEM_GREEN_SHARD 69
|
|
#define ITEM_HP_UP 70
|
|
#define ITEM_PROTEIN 71
|
|
#define ITEM_IRON 72
|
|
#define ITEM_CARBOS 73
|
|
#define ITEM_CALCIUM 74
|
|
#define ITEM_RARE_CANDY 75
|
|
#define ITEM_PP_UP 76
|
|
#define ITEM_ZINC 77
|
|
#define ITEM_PP_MAX 78
|
|
#define ITEM_GUARD_SPEC 79
|
|
#define ITEM_DIRE_HIT 80
|
|
#define ITEM_X_ATTACK 81
|
|
#define ITEM_X_DEFENSE 82
|
|
#define ITEM_X_SPEED 83
|
|
#define ITEM_X_ACCURACY 84
|
|
#define ITEM_X_SP_ATK 85
|
|
#define ITEM_X_SP_DEF 86
|
|
#define ITEM_POKE_DOLL 87
|
|
#define ITEM_FLUFFY_TAIL 88
|
|
#define ITEM_ESCAPE_ROPE 89
|
|
#define ITEM_REPEL 90
|
|
#define ITEM_SUPER_REPEL 91
|
|
#define ITEM_MAX_REPEL 92
|
|
#define ITEM_ABILITY_CAPSULE 93
|
|
// Evolution stones
|
|
#define ITEM_SUN_STONE 94
|
|
#define ITEM_MOON_STONE 95
|
|
#define ITEM_FIRE_STONE 96
|
|
#define ITEM_THUNDER_STONE 97
|
|
#define ITEM_WATER_STONE 98
|
|
#define ITEM_LEAF_STONE 99
|
|
#define ITEM_DAWN_STONE 100
|
|
#define ITEM_DUSK_STONE 101
|
|
#define ITEM_SHINY_STONE 102
|
|
#define ITEM_ICE_STONE 103
|
|
// Unusable
|
|
#define ITEM_RED_APRICORN 104
|
|
#define ITEM_BLUE_APRICORN 105
|
|
#define ITEM_YELLOW_APRICORN 106
|
|
#define ITEM_GREEN_APRICORN 107
|
|
#define ITEM_PINK_APRICORN 108
|
|
#define ITEM_WHITE_APRICORN 109
|
|
#define ITEM_BLACK_APRICORN 110
|
|
#define ITEM_TINY_MUSHROOM 111
|
|
#define ITEM_BIG_MUSHROOM 112
|
|
#define ITEM_PEARL 113
|
|
#define ITEM_BIG_PEARL 114
|
|
#define ITEM_STARDUST 115
|
|
#define ITEM_STAR_PIECE 116
|
|
#define ITEM_NUGGET 117
|
|
#define ITEM_HEART_SCALE 118
|
|
#define ITEM_RED_NECTAR 119
|
|
#define ITEM_YELLOW_NECTAR 120
|
|
#define ITEM_PINK_NECTAR 121
|
|
#define ITEM_PURPLE_NECTAR 122
|
|
#define ITEM_HONEY 123
|
|
#define ITEM_RARE_BONE 124
|
|
// Mails
|
|
#define ITEM_ORANGE_MAIL 125
|
|
#define ITEM_HARBOR_MAIL 126
|
|
#define ITEM_GLITTER_MAIL 127
|
|
#define ITEM_MECH_MAIL 128
|
|
#define ITEM_WOOD_MAIL 129
|
|
#define ITEM_WAVE_MAIL 130
|
|
#define ITEM_BEAD_MAIL 131
|
|
#define ITEM_SHADOW_MAIL 132
|
|
#define ITEM_TROPIC_MAIL 133
|
|
#define ITEM_DREAM_MAIL 134
|
|
#define ITEM_FAB_MAIL 135
|
|
#define ITEM_RETRO_MAIL 136
|
|
// Berries
|
|
#define ITEM_CHERI_BERRY 137
|
|
#define ITEM_CHESTO_BERRY 138
|
|
#define ITEM_PECHA_BERRY 139
|
|
#define ITEM_RAWST_BERRY 140
|
|
#define ITEM_ASPEAR_BERRY 141
|
|
#define ITEM_LEPPA_BERRY 142
|
|
#define ITEM_ORAN_BERRY 143
|
|
#define ITEM_PERSIM_BERRY 144
|
|
#define ITEM_LUM_BERRY 145
|
|
#define ITEM_SITRUS_BERRY 146
|
|
#define ITEM_FIGY_BERRY 147
|
|
#define ITEM_WIKI_BERRY 148
|
|
#define ITEM_MAGO_BERRY 149
|
|
#define ITEM_AGUAV_BERRY 150
|
|
#define ITEM_IAPAPA_BERRY 151
|
|
#define ITEM_RAZZ_BERRY 152
|
|
#define ITEM_BLUK_BERRY 153
|
|
#define ITEM_NANAB_BERRY 154
|
|
#define ITEM_WEPEAR_BERRY 155
|
|
#define ITEM_PINAP_BERRY 156
|
|
#define ITEM_POMEG_BERRY 157
|
|
#define ITEM_KELPSY_BERRY 158
|
|
#define ITEM_QUALOT_BERRY 159
|
|
#define ITEM_HONDEW_BERRY 160
|
|
#define ITEM_GREPA_BERRY 161
|
|
#define ITEM_TAMATO_BERRY 162
|
|
#define ITEM_CORNN_BERRY 163
|
|
#define ITEM_MAGOST_BERRY 164
|
|
#define ITEM_RABUTA_BERRY 165
|
|
#define ITEM_NOMEL_BERRY 166
|
|
#define ITEM_SPELON_BERRY 167
|
|
#define ITEM_PAMTRE_BERRY 168
|
|
#define ITEM_WATMEL_BERRY 169
|
|
#define ITEM_DURIN_BERRY 170
|
|
#define ITEM_BELUE_BERRY 171
|
|
#define ITEM_OCCA_BERRY 172
|
|
#define ITEM_PASSHO_BERRY 173
|
|
#define ITEM_WACAN_BERRY 174
|
|
#define ITEM_RINDO_BERRY 175
|
|
#define ITEM_YACHE_BERRY 176
|
|
#define ITEM_CHOPLE_BERRY 177
|
|
#define ITEM_KEBIA_BERRY 178
|
|
#define ITEM_SHUCA_BERRY 179
|
|
#define ITEM_COBA_BERRY 180
|
|
#define ITEM_PAYAPA_BERRY 181
|
|
#define ITEM_TANGA_BERRY 182
|
|
#define ITEM_CHARTI_BERRY 183
|
|
#define ITEM_KASIB_BERRY 184
|
|
#define ITEM_HABAN_BERRY 185
|
|
#define ITEM_COLBUR_BERRY 186
|
|
#define ITEM_BABIRI_BERRY 187
|
|
#define ITEM_CHILAN_BERRY 188
|
|
#define ITEM_ROSELI_BERRY 189
|
|
#define ITEM_LIECHI_BERRY 190
|
|
#define ITEM_GANLON_BERRY 191
|
|
#define ITEM_SALAC_BERRY 192
|
|
#define ITEM_PETAYA_BERRY 193
|
|
#define ITEM_APICOT_BERRY 194
|
|
#define ITEM_LANSAT_BERRY 195
|
|
#define ITEM_STARF_BERRY 196
|
|
#define ITEM_MICLE_BERRY 197
|
|
#define ITEM_ENIGMA_BERRY 198
|
|
#define ITEM_CUSTAP_BERRY 199
|
|
#define ITEM_JABOCA_BERRY 200
|
|
#define ITEM_ROWAP_BERRY 201
|
|
#define ITEM_KEE_BERRY 202
|
|
#define ITEM_MARANGA_BERRY 203
|
|
// Battle Held items
|
|
#define ITEM_BRIGHT_POWDER 204
|
|
#define ITEM_WHITE_HERB 205
|
|
#define ITEM_MACHO_BRACE 206
|
|
#define ITEM_EXP_SHARE 207
|
|
#define ITEM_QUICK_CLAW 208
|
|
#define ITEM_SOOTHE_BELL 209
|
|
#define ITEM_MENTAL_HERB 210
|
|
#define ITEM_CHOICE_BAND 211
|
|
#define ITEM_KINGS_ROCK 212
|
|
#define ITEM_SILVER_POWDER 213
|
|
#define ITEM_AMULET_COIN 214
|
|
#define ITEM_CLEANSE_TAG 215
|
|
#define ITEM_SMOKE_BALL 216
|
|
#define ITEM_EVERSTONE 217
|
|
#define ITEM_FOCUS_BAND 218
|
|
#define ITEM_LUCKY_EGG 219
|
|
#define ITEM_SCOPE_LENS 220
|
|
#define ITEM_METAL_COAT 221
|
|
#define ITEM_LEFTOVERS 222
|
|
#define ITEM_DRAGON_SCALE 223
|
|
#define ITEM_OVAL_STONE 224
|
|
#define ITEM_PROTECTOR 225
|
|
#define ITEM_ELECTIRIZER 226
|
|
#define ITEM_MAGMARIZER 227
|
|
#define ITEM_DUBIOUS_DISC 228
|
|
#define ITEM_REAPER_CLOTH 229
|
|
#define ITEM_RAZOR_CLAW 230
|
|
#define ITEM_RAZOR_FANG 231
|
|
#define ITEM_PRISM_SCALE 232
|
|
#define ITEM_WHIPPED_DREAM 233
|
|
#define ITEM_SACHET 234
|
|
#define ITEM_SOFT_SAND 235
|
|
#define ITEM_HARD_STONE 236
|
|
#define ITEM_MIRACLE_SEED 237
|
|
#define ITEM_BLACK_GLASSES 238
|
|
#define ITEM_BLACK_BELT 239
|
|
#define ITEM_MAGNET 240
|
|
#define ITEM_MYSTIC_WATER 241
|
|
#define ITEM_SHARP_BEAK 242
|
|
#define ITEM_POISON_BARB 243
|
|
#define ITEM_NEVER_MELT_ICE 244
|
|
#define ITEM_SPELL_TAG 245
|
|
#define ITEM_TWISTED_SPOON 246
|
|
#define ITEM_CHARCOAL 247
|
|
#define ITEM_DRAGON_FANG 248
|
|
#define ITEM_SILK_SCARF 249
|
|
#define ITEM_UP_GRADE 250
|
|
#define ITEM_SHELL_BELL 251
|
|
#define ITEM_POWER_BRACER 252
|
|
#define ITEM_POWER_BELT 253
|
|
#define ITEM_POWER_LENS 254
|
|
#define ITEM_POWER_BAND 255
|
|
#define ITEM_POWER_ANKLET 256
|
|
#define ITEM_POWER_WEIGHT 257
|
|
#define ITEM_POWER_HERB 258
|
|
#define ITEM_CHOICE_SCARF 259
|
|
#define ITEM_CHOICE_SPECS 260
|
|
#define ITEM_FOCUS_SASH 261
|
|
#define ITEM_WIDE_LENS 262
|
|
#define ITEM_ZOOM_LENS 263
|
|
#define ITEM_METRONOME 264
|
|
#define ITEM_MUSCLE_BAND 265
|
|
#define ITEM_WISE_GLASSES 266
|
|
#define ITEM_EXPERT_BELT 267
|
|
#define ITEM_LIGHT_CLAY 268
|
|
#define ITEM_ICY_ROCK 269
|
|
#define ITEM_SMOOTH_ROCK 270
|
|
#define ITEM_HEAT_ROCK 271
|
|
#define ITEM_DAMP_ROCK 272
|
|
#define ITEM_DESTINY_KNOT 273
|
|
#define ITEM_GRIP_CLAW 274
|
|
#define ITEM_LIFE_ORB 275
|
|
#define ITEM_TOXIC_ORB 276
|
|
#define ITEM_FLAME_ORB 277
|
|
#define ITEM_STICKY_BARB 278
|
|
#define ITEM_BLACK_SLUDGE 279
|
|
#define ITEM_IRON_BALL 280
|
|
#define ITEM_LAGGING_TAIL 281
|
|
#define ITEM_SHED_SHELL 282
|
|
#define ITEM_BIG_ROOT 283
|
|
#define ITEM_EVIOLITE 284
|
|
#define ITEM_FLOAT_STONE 285
|
|
#define ITEM_ROCKY_HELMET 286
|
|
#define ITEM_AIR_BALLOON 287
|
|
#define ITEM_RED_CARD 288
|
|
#define ITEM_RING_TARGET 289
|
|
#define ITEM_BINDING_BAND 290
|
|
#define ITEM_EJECT_BUTTON 291
|
|
#define ITEM_ABSORB_BULB 292
|
|
#define ITEM_CELL_BATTERY 293
|
|
#define ITEM_LUMINOUS_MOSS 294
|
|
#define ITEM_SNOWBALL 295
|
|
#define ITEM_WEAKNESS_POLICY 296
|
|
#define ITEM_ASSAULT_VEST 297
|
|
#define ITEM_SAFETY_GOGGLES 298
|
|
#define ITEM_ADRENALINE_ORB 299
|
|
#define ITEM_TERRAIN_EXTENDER 300
|
|
#define ITEM_PROTECTIVE_PADS 301
|
|
#define ITEM_ELECTRIC_SEED 302
|
|
#define ITEM_PSYCHIC_SEED 303
|
|
#define ITEM_MISTY_SEED 304
|
|
#define ITEM_GRASSY_SEED 305
|
|
// Incenses
|
|
#define ITEM_SEA_INCENSE 306
|
|
#define ITEM_LAX_INCENSE 307
|
|
#define ITEM_ODD_INCENSE 308
|
|
#define ITEM_ROCK_INCENSE 309
|
|
#define ITEM_FULL_INCENSE 310
|
|
#define ITEM_WAVE_INCENSE 311
|
|
#define ITEM_ROSE_INCENSE 312
|
|
#define ITEM_LUCK_INCENSE 313
|
|
#define ITEM_PURE_INCENSE 314
|
|
// Plates
|
|
#define ITEM_INSECT_PLATE 315
|
|
#define ITEM_DREAD_PLATE 316
|
|
#define ITEM_DRACO_PLATE 317
|
|
#define ITEM_ZAP_PLATE 318
|
|
#define ITEM_PIXIE_PLATE 319
|
|
#define ITEM_FIST_PLATE 320
|
|
#define ITEM_FLAME_PLATE 321
|
|
#define ITEM_SKY_PLATE 322
|
|
#define ITEM_SPOOKY_PLATE 323
|
|
#define ITEM_MEADOW_PLATE 324
|
|
#define ITEM_EARTH_PLATE 325
|
|
#define ITEM_ICICLE_PLATE 326
|
|
#define ITEM_TOXIC_PLATE 327
|
|
#define ITEM_MIND_PLATE 328
|
|
#define ITEM_STONE_PLATE 329
|
|
#define ITEM_IRON_PLATE 330
|
|
#define ITEM_SPLASH_PLATE 331
|
|
// Gems
|
|
#define ITEM_BUG_GEM 332
|
|
#define ITEM_DARK_GEM 333
|
|
#define ITEM_DRAGON_GEM 334
|
|
#define ITEM_ELECTRIC_GEM 335
|
|
#define ITEM_FAIRY_GEM 336
|
|
#define ITEM_FIGHTING_GEM 337
|
|
#define ITEM_FIRE_GEM 338
|
|
#define ITEM_FLYING_GEM 339
|
|
#define ITEM_GHOST_GEM 340
|
|
#define ITEM_GRASS_GEM 341
|
|
#define ITEM_GROUND_GEM 342
|
|
#define ITEM_ICE_GEM 343
|
|
#define ITEM_NORMAL_GEM 344
|
|
#define ITEM_POISON_GEM 345
|
|
#define ITEM_PSYCHIC_GEM 346
|
|
#define ITEM_ROCK_GEM 347
|
|
#define ITEM_STEEL_GEM 348
|
|
#define ITEM_WATER_GEM 349
|
|
// Mon specific
|
|
#define ITEM_SOUL_DEW 350
|
|
#define ITEM_DEEP_SEA_TOOTH 351
|
|
#define ITEM_DEEP_SEA_SCALE 352
|
|
#define ITEM_LUCKY_PUNCH 353
|
|
#define ITEM_METAL_POWDER 354
|
|
#define ITEM_THICK_CLUB 355
|
|
#define ITEM_STICK 356
|
|
#define ITEM_LIGHT_BALL 357
|
|
#define ITEM_QUICK_POWDER 358
|
|
#define ITEM_ODD_KEYSTONE 359
|
|
#define ITEM_ADAMANT_ORB 360
|
|
#define ITEM_LUSTROUS_ORB 361
|
|
#define ITEM_GRISEOUS_ORB 362
|
|
#define ITEM_GRACIDEA 363
|
|
// Memories
|
|
#define ITEM_BUG_MEMORY 364
|
|
#define ITEM_DARK_MEMORY 365
|
|
#define ITEM_DRAGON_MEMORY 366
|
|
#define ITEM_ELECTRIC_MEMORY 367
|
|
#define ITEM_FAIRY_MEMORY 368
|
|
#define ITEM_FIGHTING_MEMORY 369
|
|
#define ITEM_FIRE_MEMORY 370
|
|
#define ITEM_FLYING_MEMORY 371
|
|
#define ITEM_GHOST_MEMORY 372
|
|
#define ITEM_GRASS_MEMORY 373
|
|
#define ITEM_GROUND_MEMORY 374
|
|
#define ITEM_ICE_MEMORY 375
|
|
#define ITEM_POISON_MEMORY 376
|
|
#define ITEM_PSYCHIC_MEMORY 377
|
|
#define ITEM_ROCK_MEMORY 378
|
|
#define ITEM_STEEL_MEMORY 379
|
|
#define ITEM_WATER_MEMORY 380
|
|
// Drives
|
|
#define ITEM_DOUSE_DRIVE 381
|
|
#define ITEM_SHOCK_DRIVE 382
|
|
#define ITEM_BURN_DRIVE 383
|
|
#define ITEM_CHILL_DRIVE 384
|
|
// Contest held items
|
|
#define ITEM_RED_SCARF 385
|
|
#define ITEM_BLUE_SCARF 386
|
|
#define ITEM_PINK_SCARF 387
|
|
#define ITEM_GREEN_SCARF 388
|
|
#define ITEM_YELLOW_SCARF 389
|
|
// Mega stones
|
|
#define ITEM_ABOMASITE 390
|
|
#define ITEM_ABSOLITE 391
|
|
#define ITEM_AERODACTYLITE 392
|
|
#define ITEM_AGGRONITE 393
|
|
#define ITEM_ALAKAZITE 394
|
|
#define ITEM_ALTARIANITE 395
|
|
#define ITEM_AMPHAROSITE 396
|
|
#define ITEM_AUDINITE 397
|
|
#define ITEM_BANETTITE 398
|
|
#define ITEM_BEEDRILLITE 399
|
|
#define ITEM_BLASTOISINITE 400
|
|
#define ITEM_BLAZIKENITE 401
|
|
#define ITEM_CAMERUPTITE 402
|
|
#define ITEM_CHARIZARDITE_X 403
|
|
#define ITEM_CHARIZARDITE_Y 404
|
|
#define ITEM_DIANCITE 405
|
|
#define ITEM_GALLADITE 406
|
|
#define ITEM_GARCHOMPITE 407
|
|
#define ITEM_GARDEVOIRITE 408
|
|
#define ITEM_GENGARITE 409
|
|
#define ITEM_GLALITITE 410
|
|
#define ITEM_GYARADOSITE 411
|
|
#define ITEM_HERACRONITE 412
|
|
#define ITEM_HOUNDOOMINITE 413
|
|
#define ITEM_KANGASKHANITE 414
|
|
#define ITEM_LATIASITE 415
|
|
#define ITEM_LATIOSITE 416
|
|
#define ITEM_LOPUNNITE 417
|
|
#define ITEM_LUCARIONITE 418
|
|
#define ITEM_MANECTITE 419
|
|
#define ITEM_MAWILITE 420
|
|
#define ITEM_MEDICHAMITE 421
|
|
#define ITEM_METAGROSSITE 422
|
|
#define ITEM_MEWTWONITE_X 423
|
|
#define ITEM_MEWTWONITE_Y 424
|
|
#define ITEM_PIDGEOTITE 425
|
|
#define ITEM_PINSIRITE 426
|
|
#define ITEM_SABLENITE 427
|
|
#define ITEM_SALAMENCITE 428
|
|
#define ITEM_SCEPTILITE 429
|
|
#define ITEM_SCIZORITE 430
|
|
#define ITEM_SHARPEDONITE 431
|
|
#define ITEM_SLOWBRONITE 432
|
|
#define ITEM_STEELIXITE 433
|
|
#define ITEM_SWAMPERTITE 434
|
|
#define ITEM_TYRANITARITE 435
|
|
#define ITEM_VENUSAURITE 436
|
|
#define ITEM_MEGA_BRACELET 437
|
|
// Fossils
|
|
#define ITEM_ARMOR_FOSSIL 438
|
|
#define ITEM_SKULL_FOSSIL 439
|
|
#define ITEM_HELIX_FOSSIL 440
|
|
#define ITEM_DOME_FOSSIL 441
|
|
#define ITEM_COVER_FOSSIL 442
|
|
#define ITEM_PLUME_FOSSIL 443
|
|
#define ITEM_JAW_FOSSIL 444
|
|
#define ITEM_SAIL_FOSSIL 445
|
|
#define ITEM_ROOT_FOSSIL 446
|
|
#define ITEM_CLAW_FOSSIL 447
|
|
// Key Items
|
|
#define ITEM_MACH_BIKE 448
|
|
#define ITEM_COIN_CASE 449
|
|
#define ITEM_ITEMFINDER 450
|
|
#define ITEM_OLD_ROD 451
|
|
#define ITEM_GOOD_ROD 452
|
|
#define ITEM_SUPER_ROD 453
|
|
#define ITEM_SS_TICKET 454
|
|
#define ITEM_CONTEST_PASS 455
|
|
#define ITEM_WAILMER_PAIL 456
|
|
#define ITEM_DEVON_GOODS 457
|
|
#define ITEM_SOOT_SACK 458
|
|
#define ITEM_BASEMENT_KEY 459
|
|
#define ITEM_ACRO_BIKE 460
|
|
#define ITEM_POKEBLOCK_CASE 461
|
|
#define ITEM_LETTER 462
|
|
#define ITEM_EON_TICKET 463
|
|
#define ITEM_RED_ORB 464
|
|
#define ITEM_BLUE_ORB 465
|
|
#define ITEM_SCANNER 466
|
|
#define ITEM_GO_GOGGLES 467
|
|
#define ITEM_METEORITE 468
|
|
#define ITEM_ROOM_1_KEY 469
|
|
#define ITEM_ROOM_2_KEY 470
|
|
#define ITEM_ROOM_4_KEY 471
|
|
#define ITEM_ROOM_6_KEY 472
|
|
#define ITEM_STORAGE_KEY 473
|
|
#define ITEM_DEVON_SCOPE 474
|
|
// TMs/HMs
|
|
#define ITEM_TM01 475
|
|
#define ITEM_TM02 476
|
|
#define ITEM_TM03 477
|
|
#define ITEM_TM04 478
|
|
#define ITEM_TM05 479
|
|
#define ITEM_TM06 480
|
|
#define ITEM_TM07 481
|
|
#define ITEM_TM08 482
|
|
#define ITEM_TM09 483
|
|
#define ITEM_TM10 484
|
|
#define ITEM_TM11 485
|
|
#define ITEM_TM12 486
|
|
#define ITEM_TM13 487
|
|
#define ITEM_TM14 488
|
|
#define ITEM_TM15 489
|
|
#define ITEM_TM16 490
|
|
#define ITEM_TM17 491
|
|
#define ITEM_TM18 492
|
|
#define ITEM_TM19 493
|
|
#define ITEM_TM20 494
|
|
#define ITEM_TM21 495
|
|
#define ITEM_TM22 496
|
|
#define ITEM_TM23 497
|
|
#define ITEM_TM24 498
|
|
#define ITEM_TM25 499
|
|
#define ITEM_TM26 500
|
|
#define ITEM_TM27 501
|
|
#define ITEM_TM28 502
|
|
#define ITEM_TM29 503
|
|
#define ITEM_TM30 504
|
|
#define ITEM_TM31 505
|
|
#define ITEM_TM32 506
|
|
#define ITEM_TM33 507
|
|
#define ITEM_TM34 508
|
|
#define ITEM_TM35 509
|
|
#define ITEM_TM36 510
|
|
#define ITEM_TM37 511
|
|
#define ITEM_TM38 512
|
|
#define ITEM_TM39 513
|
|
#define ITEM_TM40 514
|
|
#define ITEM_TM41 515
|
|
#define ITEM_TM42 516
|
|
#define ITEM_TM43 517
|
|
#define ITEM_TM44 518
|
|
#define ITEM_TM45 519
|
|
#define ITEM_TM46 520
|
|
#define ITEM_TM47 521
|
|
#define ITEM_TM48 522
|
|
#define ITEM_TM49 523
|
|
#define ITEM_TM50 524
|
|
#define ITEM_TM51 525
|
|
#define ITEM_TM52 526
|
|
#define ITEM_TM53 527
|
|
#define ITEM_TM54 528
|
|
#define ITEM_TM55 529
|
|
#define ITEM_TM56 530
|
|
#define ITEM_TM57 531
|
|
#define ITEM_TM58 532
|
|
#define ITEM_TM59 533
|
|
#define ITEM_TM60 534
|
|
#define ITEM_TM61 535
|
|
#define ITEM_TM62 536
|
|
#define ITEM_TM63 537
|
|
#define ITEM_TM64 538
|
|
#define ITEM_TM65 539
|
|
#define ITEM_TM66 540
|
|
#define ITEM_TM67 541
|
|
#define ITEM_TM68 542
|
|
#define ITEM_TM69 543
|
|
#define ITEM_TM70 544
|
|
#define ITEM_TM71 545
|
|
#define ITEM_TM72 546
|
|
#define ITEM_TM73 547
|
|
#define ITEM_TM74 548
|
|
#define ITEM_TM75 549
|
|
#define ITEM_TM76 550
|
|
#define ITEM_TM77 551
|
|
#define ITEM_TM78 552
|
|
#define ITEM_TM79 553
|
|
#define ITEM_TM80 554
|
|
#define ITEM_TM81 555
|
|
#define ITEM_TM82 556
|
|
#define ITEM_TM83 557
|
|
#define ITEM_TM84 558
|
|
#define ITEM_TM85 559
|
|
#define ITEM_TM86 560
|
|
#define ITEM_TM87 561
|
|
#define ITEM_TM88 562
|
|
#define ITEM_TM89 563
|
|
#define ITEM_TM90 564
|
|
#define ITEM_TM91 565
|
|
#define ITEM_TM92 566
|
|
#define ITEM_TM93 567
|
|
#define ITEM_TM94 568
|
|
#define ITEM_TM95 569
|
|
#define ITEM_TM96 570
|
|
#define ITEM_TM97 571
|
|
#define ITEM_TM98 572
|
|
#define ITEM_TM99 573
|
|
#define ITEM_TM100 574
|
|
|
|
#define ITEM_HM01 525
|
|
#define ITEM_HM02 526
|
|
#define ITEM_HM03 527
|
|
#define ITEM_HM04 528
|
|
#define ITEM_HM05 529
|
|
#define ITEM_HM06 530
|
|
#define ITEM_HM07 531
|
|
#define ITEM_HM08 532
|
|
|
|
#define ITEM_TM01_FOCUS_PUNCH 475
|
|
#define ITEM_TM02_DRAGON_CLAW 476
|
|
#define ITEM_TM03_WATER_PULSE 477
|
|
#define ITEM_TM04_CALM_MIND 478
|
|
#define ITEM_TM05_ROAR 479
|
|
#define ITEM_TM06_TOXIC 480
|
|
#define ITEM_TM07_HAIL 481
|
|
#define ITEM_TM08_BULK_UP 482
|
|
#define ITEM_TM09_BULLET_SEED 483
|
|
#define ITEM_TM10_HIDDEN_POWER 484
|
|
#define ITEM_TM11_SUNNY_DAY 485
|
|
#define ITEM_TM12_TAUNT 486
|
|
#define ITEM_TM13_ICE_BEAM 487
|
|
#define ITEM_TM14_BLIZZARD 488
|
|
#define ITEM_TM15_HYPER_BEAM 489
|
|
#define ITEM_TM16_LIGHT_SCREEN 490
|
|
#define ITEM_TM17_PROTECT 491
|
|
#define ITEM_TM18_RAIN_DANCE 492
|
|
#define ITEM_TM19_GIGA_DRAIN 493
|
|
#define ITEM_TM20_SAFEGUARD 494
|
|
#define ITEM_TM21_FRUSTRATION 495
|
|
#define ITEM_TM22_SOLARBEAM 496
|
|
#define ITEM_TM23_IRON_TAIL 497
|
|
#define ITEM_TM24_THUNDERBOLT 498
|
|
#define ITEM_TM25_THUNDER 499
|
|
#define ITEM_TM26_EARTHQUAKE 500
|
|
#define ITEM_TM27_RETURN 501
|
|
#define ITEM_TM28_DIG 502
|
|
#define ITEM_TM29_PSYCHIC 503
|
|
#define ITEM_TM30_SHADOW_BALL 504
|
|
#define ITEM_TM31_BRICK_BREAK 505
|
|
#define ITEM_TM32_DOUBLE_TEAM 506
|
|
#define ITEM_TM33_REFLECT 507
|
|
#define ITEM_TM34_SHOCK_WAVE 508
|
|
#define ITEM_TM35_FLAMETHROWER 509
|
|
#define ITEM_TM36_SLUDGE_BOMB 510
|
|
#define ITEM_TM37_SANDSTORM 511
|
|
#define ITEM_TM38_FIRE_BLAST 512
|
|
#define ITEM_TM39_ROCK_TOMB 513
|
|
#define ITEM_TM40_AERIAL_ACE 514
|
|
#define ITEM_TM41_TORMENT 515
|
|
#define ITEM_TM42_FACADE 516
|
|
#define ITEM_TM43_SECRET_POWER 517
|
|
#define ITEM_TM44_REST 518
|
|
#define ITEM_TM45_ATTRACT 519
|
|
#define ITEM_TM46_THIEF 520
|
|
#define ITEM_TM47_STEEL_WING 521
|
|
#define ITEM_TM48_SKILL_SWAP 522
|
|
#define ITEM_TM49_SNATCH 523
|
|
#define ITEM_TM50_OVERHEAT 524
|
|
|
|
#define ITEM_HM01_CUT 525
|
|
#define ITEM_HM02_FLY 526
|
|
#define ITEM_HM03_SURF 527
|
|
#define ITEM_HM04_STRENGTH 528
|
|
#define ITEM_HM05_FLASH 529
|
|
#define ITEM_HM06_ROCK_SMASH 530
|
|
#define ITEM_HM07_WATERFALL 531
|
|
#define ITEM_HM08_DIVE 532
|
|
// FireRed/LeafGreen
|
|
#define ITEM_OAKS_PARCEL 583
|
|
#define ITEM_POKE_FLUTE 584
|
|
#define ITEM_SECRET_KEY 585
|
|
#define ITEM_BIKE_VOUCHER 586
|
|
#define ITEM_GOLD_TEETH 587
|
|
#define ITEM_OLD_AMBER 588
|
|
#define ITEM_CARD_KEY 589
|
|
#define ITEM_LIFT_KEY 590
|
|
#define ITEM_SILPH_SCOPE 591
|
|
#define ITEM_BICYCLE 592
|
|
#define ITEM_TOWN_MAP 593
|
|
#define ITEM_VS_SEEKER 594
|
|
#define ITEM_FAME_CHECKER 595
|
|
#define ITEM_TM_CASE 596
|
|
#define ITEM_BERRY_POUCH 597
|
|
#define ITEM_TEACHY_TV 598
|
|
#define ITEM_TRI_PASS 599
|
|
#define ITEM_RAINBOW_PASS 600
|
|
#define ITEM_TEA 601
|
|
#define ITEM_MYSTIC_TICKET 602
|
|
#define ITEM_AURORA_TICKET 603
|
|
#define ITEM_POWDER_JAR 604
|
|
#define ITEM_RUBY 605
|
|
#define ITEM_SAPPHIRE 606
|
|
// Emerald
|
|
#define ITEM_MAGMA_EMBLEM 607
|
|
#define ITEM_OLD_SEA_MAP 608
|
|
|
|
#define ITEMS_COUNT 609
|
|
#define ITEM_FIELD_ARROW ITEMS_COUNT
|
|
|
|
#define FIRST_BERRY_INDEX ITEM_CHERI_BERRY
|
|
#define LAST_BERRY_INDEX ITEM_MARANGA_BERRY
|
|
#define ITEM_TO_BERRY(itemId)(((itemId - FIRST_BERRY_INDEX) + 1))
|
|
|
|
#define NUM_TECHNICAL_MACHINES 50
|
|
#define NUM_HIDDEN_MACHINES 8
|
|
|
|
// Check if the item is one that can be used on a Pokemon.
|
|
#define ITEM_HAS_EFFECT(item) ((item) >= ITEM_POTION && (item) <= LAST_BERRY_INDEX)
|
|
|
|
#endif // GUARD_CONSTANTS_ITEMS_H
|