From 94b0bfbe791ac6b8b15337628bf26f8bcb5760e0 Mon Sep 17 00:00:00 2001 From: sylph-decoder Date: Mon, 31 Aug 2026 03:43:35 +0000 Subject: [PATCH] handoff: correct the dialog record layout -- ids and names unaffected Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01Wuu56cE8vJGTBtn1ppsk8v --- docs/port/HANDOFF.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/port/HANDOFF.md b/docs/port/HANDOFF.md index 74af0ae8..388a65b7 100644 --- a/docs/port/HANDOFF.md +++ b/docs/port/HANDOFF.md @@ -53,7 +53,10 @@ anywhere, that is the version to carry. > ✅ **STRENGTHENED the same day, twice.** > * **The dialog table is decoded** — every `DLG_` name in the image sits in a -> 12-byte record `{u32 handler, u32 id, u32 name_ptr}` spanning +> 12-byte record ⚠️ **`{u32 id, u32 name_ptr, u32 handler}`** — ~~`{handler, id, +> name_ptr}`~~ **corrected 2026-08-31**: the same fields shifted one word, so each +> record was credited with the *previous* one's handler. **ids and names are +> unaffected**; `DLG_SELECT_DIFFICULTY` is still **2000**. Spanning > `0x820A0A2C`–`0x820A0D68`. **70 names, 70 records, none unmatched.** > **`DLG_SELECT_DIFFICULTY` is id 2000**, in a band with `SYSTEM_PAUSE` (2001) > and the two leaderboard dialogs (2002/2003).