Skip to content
DameDizzman edited this page Sep 19, 2025 · 1 revision

Items

Edit item prices and (optionally) Poké Mart inventories.

Overview

  • Two parts: Item Prices (always) and Mart Items (addon, auto‑detected)
  • Use Preview to review diffs before Save; backups (.bak) are automatic

Item prices

  • Browse/search items on the left; select to edit price on the right
  • Preview/Save writes .price = N in data/itemdata/itemdata.c for the selected item
  • Prices are written inside the [ITEM_*] entry; unrelated fields are preserved

Workflow

  1. Open Items → pick an item
  2. Change the price value
  3. Preview → Save

Mart Items (addon)

Enabled only if armips/asm/custom/mart_items.s exists.

  • Section picker:
    • General Poké Mart table (global availability with badge gates)
    • Individual shop sections (friendly names)
  • Edit items (and badge gates for the General table)
  • Preview shows diff against mart_items.s
  • Save rewrites only the targeted section:
    • General table: only the body between /* General Poké Mart Table */ and the next section marker (comment/.org/.close)
    • Shop section: the block starting at .org <address> up to (not including) the next .org
  • Whitespace/blank lines are preserved to minimize diffs

Workflow

  1. Open Items → expand Mart Items
  2. Choose General table or a shop section
  3. Add/remove items (and set badge gates for General)
  4. Preview → Save (only that section is changed)

Tips & troubleshooting

  • Mart Items disabled? Ensure armips/asm/custom/mart_items.s exists under your project root; restart or reload project
  • General table not replaced? Confirm the header comment exists exactly: /* General Poké Mart Table */
  • Avoid stray .org lines inside the General table body; they mark section boundaries

Files touched

  • data/itemdata/itemdata.c (prices)
  • armips/asm/custom/mart_items.s (addon; inventories/tables)

HG Engine Editor Wiki Navigation

Quick Start

  1. Home
  2. Getting Started
  3. User Interface
  4. FAQ

Guides

Technical

Support

Clone this wiki locally