Enumerate the item constants.

This commit is contained in:
yenatch 2015-05-18 02:16:38 -07:00
parent b47c4bc6fd
commit d4817060de
1 changed files with 320 additions and 301 deletions

View File

@ -1,254 +1,255 @@
NO_ITEM EQU $00 const_def
MASTER_BALL EQU $01 const NO_ITEM ; $00
ULTRA_BALL EQU $02 const MASTER_BALL ; $01
BRIGHTPOWDER EQU $03 const ULTRA_BALL ; $02
GREAT_BALL EQU $04 const BRIGHTPOWDER ; $03
POKE_BALL EQU $05 const GREAT_BALL ; $04
TOWN_MAP EQU $06 const POKE_BALL ; $05
BICYCLE EQU $07 const TOWN_MAP ; $06
MOON_STONE EQU $08 const BICYCLE ; $07
ANTIDOTE EQU $09 const MOON_STONE ; $08
BURN_HEAL EQU $0A const ANTIDOTE ; $09
ICE_HEAL EQU $0B const BURN_HEAL ; $0A
AWAKENING EQU $0C const ICE_HEAL ; $0B
PARLYZ_HEAL EQU $0D const AWAKENING ; $0C
FULL_RESTORE EQU $0E const PARLYZ_HEAL ; $0D
MAX_POTION EQU $0F const FULL_RESTORE ; $0E
HYPER_POTION EQU $10 const MAX_POTION ; $0F
SUPER_POTION EQU $11 const HYPER_POTION ; $10
POTION EQU $12 const SUPER_POTION ; $11
ESCAPE_ROPE EQU $13 const POTION ; $12
REPEL EQU $14 const ESCAPE_ROPE ; $13
MAX_ELIXER EQU $15 const REPEL ; $14
FIRE_STONE EQU $16 const MAX_ELIXER ; $15
THUNDERSTONE EQU $17 const FIRE_STONE ; $16
WATER_STONE EQU $18 const THUNDERSTONE ; $17
ITEM_19 EQU $19 const WATER_STONE ; $18
HP_UP EQU $1A const ITEM_19 ; $19
PROTEIN EQU $1B const HP_UP ; $1A
IRON EQU $1C const PROTEIN ; $1B
CARBOS EQU $1D const IRON ; $1C
LUCKY_PUNCH EQU $1E const CARBOS ; $1D
CALCIUM EQU $1F const LUCKY_PUNCH ; $1E
RARE_CANDY EQU $20 const CALCIUM ; $1F
X_ACCURACY EQU $21 const RARE_CANDY ; $20
LEAF_STONE EQU $22 const X_ACCURACY ; $21
METAL_POWDER EQU $23 const LEAF_STONE ; $22
NUGGET EQU $24 const METAL_POWDER ; $23
POKE_DOLL EQU $25 const NUGGET ; $24
FULL_HEAL EQU $26 const POKE_DOLL ; $25
REVIVE EQU $27 const FULL_HEAL ; $26
MAX_REVIVE EQU $28 const REVIVE ; $27
GUARD_SPEC EQU $29 const MAX_REVIVE ; $28
SUPER_REPEL EQU $2A const GUARD_SPEC ; $29
MAX_REPEL EQU $2B const SUPER_REPEL ; $2A
DIRE_HIT EQU $2C const MAX_REPEL ; $2B
ITEM_2D EQU $2D const DIRE_HIT ; $2C
FRESH_WATER EQU $2E const ITEM_2D ; $2D
SODA_POP EQU $2F const FRESH_WATER ; $2E
LEMONADE EQU $30 const SODA_POP ; $2F
X_ATTACK EQU $31 const LEMONADE ; $30
ITEM_32 EQU $32 const X_ATTACK ; $31
X_DEFEND EQU $33 const ITEM_32 ; $32
X_SPEED EQU $34 const X_DEFEND ; $33
X_SPECIAL EQU $35 const X_SPEED ; $34
COIN_CASE EQU $36 const X_SPECIAL ; $35
ITEMFINDER EQU $37 const COIN_CASE ; $36
POKE_FLUTE EQU $38 const ITEMFINDER ; $37
EXP_SHARE EQU $39 const POKE_FLUTE ; $38
OLD_ROD EQU $3A const EXP_SHARE ; $39
GOOD_ROD EQU $3B const OLD_ROD ; $3A
SILVER_LEAF EQU $3C const GOOD_ROD ; $3B
SUPER_ROD EQU $3D const SILVER_LEAF ; $3C
PP_UP EQU $3E const SUPER_ROD ; $3D
ETHER EQU $3F const PP_UP ; $3E
MAX_ETHER EQU $40 const ETHER ; $3F
ELIXER EQU $41 const MAX_ETHER ; $40
RED_SCALE EQU $42 const ELIXER ; $41
SECRETPOTION EQU $43 const RED_SCALE ; $42
S_S_TICKET EQU $44 const SECRETPOTION ; $43
MYSTERY_EGG EQU $45 const S_S_TICKET ; $44
CLEAR_BELL EQU $46 const MYSTERY_EGG ; $45
SILVER_WING EQU $47 const CLEAR_BELL ; $46
MOOMOO_MILK EQU $48 const SILVER_WING ; $47
QUICK_CLAW EQU $49 const MOOMOO_MILK ; $48
PSNCUREBERRY EQU $4A const QUICK_CLAW ; $49
GOLD_LEAF EQU $4B const PSNCUREBERRY ; $4A
SOFT_SAND EQU $4C const GOLD_LEAF ; $4B
SHARP_BEAK EQU $4D const SOFT_SAND ; $4C
PRZCUREBERRY EQU $4E const SHARP_BEAK ; $4D
BURNT_BERRY EQU $4F const PRZCUREBERRY ; $4E
ICE_BERRY EQU $50 const BURNT_BERRY ; $4F
POISON_BARB EQU $51 const ICE_BERRY ; $50
KINGS_ROCK EQU $52 const POISON_BARB ; $51
BITTER_BERRY EQU $53 const KINGS_ROCK ; $52
MINT_BERRY EQU $54 const BITTER_BERRY ; $53
RED_APRICORN EQU $55 const MINT_BERRY ; $54
TINYMUSHROOM EQU $56 const RED_APRICORN ; $55
BIG_MUSHROOM EQU $57 const TINYMUSHROOM ; $56
SILVERPOWDER EQU $58 const BIG_MUSHROOM ; $57
BLU_APRICORN EQU $59 const SILVERPOWDER ; $58
ITEM_5A EQU $5A const BLU_APRICORN ; $59
AMULET_COIN EQU $5B const ITEM_5A ; $5A
YLW_APRICORN EQU $5C const AMULET_COIN ; $5B
GRN_APRICORN EQU $5D const YLW_APRICORN ; $5C
CLEANSE_TAG EQU $5E const GRN_APRICORN ; $5D
MYSTIC_WATER EQU $5F const CLEANSE_TAG ; $5E
TWISTEDSPOON EQU $60 const MYSTIC_WATER ; $5F
WHT_APRICORN EQU $61 const TWISTEDSPOON ; $60
BLACKBELT EQU $62 const WHT_APRICORN ; $61
BLK_APRICORN EQU $63 const BLACKBELT ; $62
ITEM_64 EQU $64 const BLK_APRICORN ; $63
PNK_APRICORN EQU $65 const ITEM_64 ; $64
BLACKGLASSES EQU $66 const PNK_APRICORN ; $65
SLOWPOKETAIL EQU $67 const BLACKGLASSES ; $66
PINK_BOW EQU $68 const SLOWPOKETAIL ; $67
STICK EQU $69 const PINK_BOW ; $68
SMOKE_BALL EQU $6A const STICK ; $69
NEVERMELTICE EQU $6B const SMOKE_BALL ; $6A
MAGNET EQU $6C const NEVERMELTICE ; $6B
MIRACLEBERRY EQU $6D const MAGNET ; $6C
PEARL EQU $6E const MIRACLEBERRY ; $6D
BIG_PEARL EQU $6F const PEARL ; $6E
EVERSTONE EQU $70 const BIG_PEARL ; $6F
SPELL_TAG EQU $71 const EVERSTONE ; $70
RAGECANDYBAR EQU $72 const SPELL_TAG ; $71
GS_BALL EQU $73 const RAGECANDYBAR ; $72
BLUE_CARD EQU $74 const GS_BALL ; $73
MIRACLE_SEED EQU $75 const BLUE_CARD ; $74
THICK_CLUB EQU $76 const MIRACLE_SEED ; $75
FOCUS_BAND EQU $77 const THICK_CLUB ; $76
ITEM_78 EQU $78 const FOCUS_BAND ; $77
ENERGYPOWDER EQU $79 const ITEM_78 ; $78
ENERGY_ROOT EQU $7A const ENERGYPOWDER ; $79
HEAL_POWDER EQU $7B const ENERGY_ROOT ; $7A
REVIVAL_HERB EQU $7C const HEAL_POWDER ; $7B
HARD_STONE EQU $7D const REVIVAL_HERB ; $7C
LUCKY_EGG EQU $7E const HARD_STONE ; $7D
CARD_KEY EQU $7F const LUCKY_EGG ; $7E
MACHINE_PART EQU $80 const CARD_KEY ; $7F
EGG_TICKET EQU $81 const MACHINE_PART ; $80
LOST_ITEM EQU $82 const EGG_TICKET ; $81
STARDUST EQU $83 const LOST_ITEM ; $82
STAR_PIECE EQU $84 const STARDUST ; $83
BASEMENT_KEY EQU $85 const STAR_PIECE ; $84
PASS EQU $86 const BASEMENT_KEY ; $85
ITEM_87 EQU $87 const PASS ; $86
ITEM_88 EQU $88 const ITEM_87 ; $87
ITEM_89 EQU $89 const ITEM_88 ; $88
CHARCOAL EQU $8A const ITEM_89 ; $89
BERRY_JUICE EQU $8B const CHARCOAL ; $8A
SCOPE_LENS EQU $8C const BERRY_JUICE ; $8B
ITEM_8D EQU $8D const SCOPE_LENS ; $8C
ITEM_8E EQU $8E const ITEM_8D ; $8D
METAL_COAT EQU $8F const ITEM_8E ; $8E
DRAGON_FANG EQU $90 const METAL_COAT ; $8F
ITEM_91 EQU $91 const DRAGON_FANG ; $90
LEFTOVERS EQU $92 const ITEM_91 ; $91
ITEM_93 EQU $93 const LEFTOVERS ; $92
ITEM_94 EQU $94 const ITEM_93 ; $93
ITEM_95 EQU $95 const ITEM_94 ; $94
MYSTERYBERRY EQU $96 const ITEM_95 ; $95
DRAGON_SCALE EQU $97 const MYSTERYBERRY ; $96
BERSERK_GENE EQU $98 const DRAGON_SCALE ; $97
ITEM_99 EQU $99 const BERSERK_GENE ; $98
ITEM_9A EQU $9A const ITEM_99 ; $99
ITEM_9B EQU $9B const ITEM_9A ; $9A
SACRED_ASH EQU $9C const ITEM_9B ; $9B
HEAVY_BALL EQU $9D const SACRED_ASH ; $9C
FLOWER_MAIL EQU $9E const HEAVY_BALL ; $9D
LEVEL_BALL EQU $9F const FLOWER_MAIL ; $9E
LURE_BALL EQU $A0 const LEVEL_BALL ; $9F
FAST_BALL EQU $A1 const LURE_BALL ; $A0
ITEM_A2 EQU $A2 const FAST_BALL ; $A1
LIGHT_BALL EQU $A3 const ITEM_A2 ; $A2
FRIEND_BALL EQU $A4 const LIGHT_BALL ; $A3
MOON_BALL EQU $A5 const FRIEND_BALL ; $A4
LOVE_BALL EQU $A6 const MOON_BALL ; $A5
NORMAL_BOX EQU $A7 const LOVE_BALL ; $A6
GORGEOUS_BOX EQU $A8 const NORMAL_BOX ; $A7
SUN_STONE EQU $A9 const GORGEOUS_BOX ; $A8
POLKADOT_BOW EQU $AA const SUN_STONE ; $A9
ITEM_AB EQU $AB const POLKADOT_BOW ; $AA
UP_GRADE EQU $AC const ITEM_AB ; $AB
BERRY EQU $AD const UP_GRADE ; $AC
GOLD_BERRY EQU $AE const BERRY ; $AD
SQUIRTBOTTLE EQU $AF const GOLD_BERRY ; $AE
ITEM_B0 EQU $B0 const SQUIRTBOTTLE ; $AF
PARK_BALL EQU $B1 const ITEM_B0 ; $B0
RAINBOW_WING EQU $B2 const PARK_BALL ; $B1
ITEM_B3 EQU $B3 const RAINBOW_WING ; $B2
BRICK_PIECE EQU $B4 const ITEM_B3 ; $B3
SURF_MAIL EQU $B5 const BRICK_PIECE ; $B4
LITEBLUEMAIL EQU $B6 const SURF_MAIL ; $B5
PORTRAITMAIL EQU $B7 const LITEBLUEMAIL ; $B6
LOVELY_MAIL EQU $B8 const PORTRAITMAIL ; $B7
EON_MAIL EQU $B9 const LOVELY_MAIL ; $B8
MORPH_MAIL EQU $BA const EON_MAIL ; $B9
BLUESKY_MAIL EQU $BB const MORPH_MAIL ; $BA
MUSIC_MAIL EQU $BC const BLUESKY_MAIL ; $BB
MIRAGE_MAIL EQU $BD const MUSIC_MAIL ; $BC
ITEM_BE EQU $BE const MIRAGE_MAIL ; $BD
TM_01 EQU $BF const ITEM_BE ; $BE
TM_02 EQU $C0 const TM_01 ; $BF
TM_03 EQU $C1 const TM_02 ; $C0
TM_04 EQU $C2 const TM_03 ; $C1
ITEM_C3 EQU $C3 const TM_04 ; $C2
TM_05 EQU $C4 const ITEM_C3 ; $C3
TM_06 EQU $C5 const TM_05 ; $C4
TM_07 EQU $C6 const TM_06 ; $C5
TM_08 EQU $C7 const TM_07 ; $C6
TM_09 EQU $C8 const TM_08 ; $C7
TM_10 EQU $C9 const TM_09 ; $C8
TM_11 EQU $CA const TM_10 ; $C9
TM_12 EQU $CB const TM_11 ; $CA
TM_13 EQU $CC const TM_12 ; $CB
TM_14 EQU $CD const TM_13 ; $CC
TM_15 EQU $CE const TM_14 ; $CD
TM_16 EQU $CF const TM_15 ; $CE
TM_17 EQU $D0 const TM_16 ; $CF
TM_18 EQU $D1 const TM_17 ; $D0
TM_19 EQU $D2 const TM_18 ; $D1
TM_20 EQU $D3 const TM_19 ; $D2
TM_21 EQU $D4 const TM_20 ; $D3
TM_22 EQU $D5 const TM_21 ; $D4
TM_23 EQU $D6 const TM_22 ; $D5
TM_24 EQU $D7 const TM_23 ; $D6
TM_25 EQU $D8 const TM_24 ; $D7
TM_26 EQU $D9 const TM_25 ; $D8
TM_27 EQU $DA const TM_26 ; $D9
TM_28 EQU $DB const TM_27 ; $DA
ITEM_DC EQU $DC const TM_28 ; $DB
TM_29 EQU $DD const ITEM_DC ; $DC
TM_30 EQU $DE const TM_29 ; $DD
TM_31 EQU $DF const TM_30 ; $DE
TM_32 EQU $E0 const TM_31 ; $DF
TM_33 EQU $E1 const TM_32 ; $E0
TM_34 EQU $E2 const TM_33 ; $E1
TM_35 EQU $E3 const TM_34 ; $E2
TM_36 EQU $E4 const TM_35 ; $E3
TM_37 EQU $E5 const TM_36 ; $E4
TM_38 EQU $E6 const TM_37 ; $E5
TM_39 EQU $E7 const TM_38 ; $E6
TM_40 EQU $E8 const TM_39 ; $E7
TM_41 EQU $E9 const TM_40 ; $E8
TM_42 EQU $EA const TM_41 ; $E9
TM_43 EQU $EB const TM_42 ; $EA
TM_44 EQU $EC const TM_43 ; $EB
TM_45 EQU $ED const TM_44 ; $EC
TM_46 EQU $EE const TM_45 ; $ED
TM_47 EQU $EF const TM_46 ; $EE
TM_48 EQU $F0 const TM_47 ; $EF
TM_49 EQU $F1 const TM_48 ; $F0
TM_50 EQU $F2 const TM_49 ; $F1
HM_01 EQU $F3 const TM_50 ; $F2
HM_02 EQU $F4 const HM_01 ; $F3
HM_03 EQU $F5 const HM_02 ; $F4
HM_04 EQU $F6 const HM_03 ; $F5
HM_05 EQU $F7 const HM_04 ; $F6
HM_06 EQU $F8 const HM_05 ; $F7
HM_07 EQU $F9 const HM_06 ; $F8
HM_08 EQU $FA const HM_07 ; $F9
const HM_08 ; $FA
NUM_TMS EQU 50 NUM_TMS EQU 50
@ -271,61 +272,79 @@ TM_HM EQU 4
CANT_SELECT EQU 1 << 6 CANT_SELECT EQU 1 << 6
CANT_TOSS EQU 1 << 7 CANT_TOSS EQU 1 << 7
; held item effects ; held item effects
HELD_BERRY EQU $01 const_def
HELD_LEFTOVERS EQU $03
HELD_RESTORE_PP EQU $06
HELD_CLEANSE_TAG EQU $08
HELD_HEAL_POISON EQU $0a const HELD_NONE
HELD_HEAL_FREEZE EQU $0b const HELD_BERRY
HELD_HEAL_BURN EQU $0c const HELD_2
HELD_HEAL_SLEEP EQU $0d const HELD_LEFTOVERS
HELD_HEAL_PARALYZE EQU $0e const HELD_4
HELD_HEAL_STATUS EQU $0f const HELD_5
HELD_HEAL_CONFUSION EQU $10 const HELD_RESTORE_PP
const HELD_7
const HELD_CLEANSE_TAG
HELD_PREVENT_POISON EQU $14 const_value = 10
HELD_PREVENT_BURN EQU $15 const HELD_HEAL_POISON
HELD_PREVENT_FREEZE EQU $16 const HELD_HEAL_FREEZE
HELD_PREVENT_SLEEP EQU $17 const HELD_HEAL_BURN
HELD_PREVENT_PARALYZE EQU $18 const HELD_HEAL_SLEEP
HELD_PREVENT_CONFUSE EQU $19 const HELD_HEAL_PARALYZE
const HELD_HEAL_STATUS
const HELD_HEAL_CONFUSION
HELD_ATTACK_UP EQU $1f const_value = 20
HELD_DEFENSE_UP EQU $20 const HELD_PREVENT_POISON
HELD_SPEED_UP EQU $21 const HELD_PREVENT_BURN
HELD_SP_ATTACK_UP EQU $22 const HELD_PREVENT_FREEZE
HELD_SP_DEFENSE_UP EQU $23 const HELD_PREVENT_SLEEP
HELD_ACCURACY_UP EQU $24 const HELD_PREVENT_PARALYZE
HELD_EVASION_UP EQU $25 const HELD_PREVENT_CONFUSE
HELD_METAL_POWDER EQU $2a const_value = 30
const HELD_30
const HELD_ATTACK_UP
const HELD_DEFENSE_UP
const HELD_SPEED_UP
const HELD_SP_ATTACK_UP
const HELD_SP_DEFENSE_UP
const HELD_ACCURACY_UP
const HELD_EVASION_UP
HELD_NORMAL_BOOST EQU $32 const_value = 40
HELD_FIGHTING_BOOST EQU $33 const HELD_40
HELD_FLYING_BOOST EQU $34 const HELD_41
HELD_POISON_BOOST EQU $35 const HELD_METAL_POWDER
HELD_GROUND_BOOST EQU $36
HELD_ROCK_BOOST EQU $37
HELD_BUG_BOOST EQU $38
HELD_GHOST_BOOST EQU $39
HELD_FIRE_BOOST EQU $3a
HELD_WATER_BOOST EQU $3b
HELD_GRASS_BOOST EQU $3c
HELD_ELECTRIC_BOOST EQU $3d
HELD_PSYCHIC_BOOST EQU $3e
HELD_ICE_BOOST EQU $3f
HELD_DRAGON_BOOST EQU $40
HELD_DARK_BOOST EQU $41
HELD_STEEL_BOOST EQU $42
HELD_CATCH_CHANCE EQU $46 const_value = 50
const HELD_NORMAL_BOOST
const HELD_FIGHTING_BOOST
const HELD_FLYING_BOOST
const HELD_POISON_BOOST
const HELD_GROUND_BOOST
const HELD_ROCK_BOOST
const HELD_BUG_BOOST
const HELD_GHOST_BOOST
const HELD_FIRE_BOOST
const HELD_WATER_BOOST
const HELD_GRASS_BOOST
const HELD_ELECTRIC_BOOST
const HELD_PSYCHIC_BOOST
const HELD_ICE_BOOST
const HELD_DRAGON_BOOST
const HELD_DARK_BOOST
const HELD_STEEL_BOOST
HELD_ESCAPE EQU $48 const_value = 70
HELD_CRITICAL_UP EQU $49 const HELD_CATCH_CHANCE
HELD_QUICK_CLAW EQU $4a const HELD_71
HELD_TRADE_EVOLVE EQU $4b const HELD_ESCAPE
HELD_AMULET_COIN EQU $4c const HELD_CRITICAL_UP
HELD_BRIGHTPOWDER EQU $4d const HELD_QUICK_CLAW
HELD_FOCUS_BAND EQU $4f const HELD_TRADE_EVOLVE
const HELD_AMULET_COIN
const HELD_BRIGHTPOWDER
const HELD_4E
const HELD_FOCUS_BAND