Join item and skill message semantics
This commit is contained in:
@@ -6,6 +6,16 @@
|
||||
[meta]
|
||||
note = "Curated global addresses override the auto shape-inference map (build/global-var-map.json)."
|
||||
|
||||
[[global]]
|
||||
address = "0x8c877"
|
||||
name = "current_item_id"
|
||||
category = "index-pointer"
|
||||
type = "int"
|
||||
value_domain = "ITINIT item id; 0 means none"
|
||||
usage = "Shared item-id argument/selection slot. Item menus and gameplay scripts write a chosen item id, use it to index ITINIT arrays, and dispatch through item_handler_script_id; ITMES compares it against all 287 item ids to select the matching player-facing title and description."
|
||||
source = "investigation"
|
||||
confidence = "high"
|
||||
|
||||
[[global]]
|
||||
address = "0x8c879"
|
||||
name = "item_sort_key"
|
||||
@@ -196,6 +206,16 @@ usage = "Sparse ITINIT consumable field. Item 106, Blood Price Healing Hand, des
|
||||
source = "investigation"
|
||||
confidence = "high"
|
||||
|
||||
[[global]]
|
||||
address = "0xa6e59"
|
||||
name = "current_skill_id"
|
||||
category = "index-pointer"
|
||||
type = "int"
|
||||
value_domain = "SKINIT skill id; 0 means none"
|
||||
usage = "Shared skill-id argument/selection slot. Skill menus and combat scripts write the chosen skill id and use it to index SKINIT arrays; SKMES compares it against all 131 skill ids to select the matching player-facing title and description."
|
||||
source = "investigation"
|
||||
confidence = "high"
|
||||
|
||||
[[global]]
|
||||
address = "0xa6e5a"
|
||||
name = "skill_sort_key"
|
||||
@@ -1367,17 +1387,6 @@ source = "auto-shape"
|
||||
confidence = "med"
|
||||
depends_on = []
|
||||
|
||||
[[global]]
|
||||
address = "0xa6e59"
|
||||
name = ""
|
||||
category = "story-flag"
|
||||
type = "int"
|
||||
value_domain = "one of {1, 2, 3, 4, 11, 21, 22, 23}"
|
||||
usage = "TODO: confirm. Branch-read in 0 scenes / 5 scripts; compared against [1, 2, 3, 4, 11, 21, 22, 23]; writers=['CALCDMG.BIN', 'CHMENU.BIN', 'FORT.BIN', 'INFOIT.BIN']."
|
||||
source = "auto-shape"
|
||||
confidence = "med"
|
||||
depends_on = []
|
||||
|
||||
[[global]]
|
||||
address = "0xab8e7"
|
||||
name = ""
|
||||
|
||||
Reference in New Issue
Block a user