items.txt file defines all items in the game, including their properties, prices, effects, and categorization. Each item is defined on a single line in CSV format.
File Format
Each line defines one item with comma-separated values:Example Entries
Field Definitions
Unique item ID number. Must be sequential starting from 1.
Internal identifier in UPPERCASE. Used in code and scripts.
Display name shown to players (singular form).
Plural form of the item name.
Bag pocket/category where the item is stored.
0- Key Items (cannot be sold)1- Items (general items)2- Medicine (healing items)3- Poké Balls4- TMs & HMs5- Berries6- Battle Items7- Mail
Purchase price at Poké Marts. Sell price is typically 50% of this.Use
0 for items that cannot be bought.Item description shown to players. Must be in quotes.
Usage behavior outside of battle.
0- Cannot use in field1- Can use on a Pokémon2- Can use directly (like Repel)3- Can use on Pokémon or directly
Usage behavior during battle.
0- Cannot use in battle1- Can use on a Pokémon2- Can use directly (Poké Balls)3- Can use on Pokémon or directly
Special flags for the item.
0- No special flags1- Evolution stone2- Key item (cannot toss)3- Poké Ball4- Multiple balls can be held
Additional properties (optional, can be empty).Leave empty for most items. Used for special mechanics.
Item Categories
Medicine Items
Healing items stored in the Medicine pocket (Pocket=2).Status Healers
Revival Items
PP Restoration
Evolution Stones
Evolution items with Flag=1.Poké Balls
Capture items with Pocket=3 and Flags=3 or 4.Special Poké Balls
Held Items
Items that Pokémon can hold for various effects.Stat Boosters
Battle Items
Type-Boosting Items
Increase power of moves of a specific type.TMs
Technical Machines with Pocket=4.HONECLAWS) which specifies the move.
Pricing Guidelines
Common Item Prices
Common Item Prices
- Basic healing: 100-300 (Potions, status healers)
- Mid-tier healing: 600-1200 (Super Potion, Hyper Potion)
- High-tier healing: 2500+ (Max Potion, Full Restore)
- Poké Balls: 200-1200 (Basic to Ultra)
- Evolution stones: 2100
- Stat boosters: 9800 (Vitamins)
- Held items: 100-200 (most)
- Specialty items: 0 (cannot buy)
Complete Examples
Healing Item
- Restores 20 HP
- Can use in field and battle on Pokémon
- Costs 300, sells for 150
- Medicine pocket
Evolution Stone
- Evolves certain Pokémon
- Field use only, on Pokémon
- Flag 1 indicates evolution item
- Items pocket
Poké Ball
- Battle use only, direct use
- Poké Balls pocket
- Flag 4 allows stacking
- Basic capture device
Held Item
- Cannot use directly (FieldUse=0, BattleUse=0)
- Must be held by Pokémon
- Effect coded in battle scripts
- General items pocket
Item Effects: The actual effects of items (HP restoration amount, stat boost values, etc.) are coded in the game scripts. The PBS file only defines the item’s properties and description.
TM Items: TMs require an additional parameter specifying which move they teach. This is appended to the end of the line after the consumable field.
Key Items: Items with Pocket=0 or Flag=2 are key items that cannot be sold or tossed. Use these for quest items and important story objects.