Msbt: Difference between revisions

(→‎EUI Tags: Choices)
Line 361: Line 361:
|1
|1
|4
|4
|Two Choices (extra data is an array of u16 label indices for each choice followed by a u8 selected index and u8 cancel index)
|Two Choices (See [[#Choices]])
|-
|-
|1
|1
|5
|5
|Three Choices
|Three Choices (See [[#Choices]])
|-
|-
|1
|1
|6
|6
|Four Choices
|Four Choices (See [[#Choices]])
|-
|-
|1
|1
Line 387: Line 387:
|
|
|}
|}
===== Choices =====
{| class="wikitable"
!Offset (h)
!Size
!Data Type
!Description
|-
|0x00
|2
|Unsigned Short
|First choice
|-
|0x02
|2
|Unsigned Short
|Second choice
|-
|0x04
|1
|Byte
|Default option (option highlighted when the choices are first shown)
|-
|0x05
|1
|Byte
|Cancel option (option chosen when the B button is pressed)
|}
Each choice type is a group of choices, whose text corresponds to the string conversion of the label indices in the current file. For example, if the label is <code>00 04</code> then the displayed choice will be the text corresponding to the <code>"0004"</code> key.
For ChoiceThree there is an additional choice at 0x04, and the default and cancel options are at 0x06 and 0x07, respectively.
For ChoiceFour there are additional choices at 0x04 and 0x06, and the default and cancel options are at 0x08 and 0x09, respectively.


==== App Tags ====
==== App Tags ====
autopatrol, editnews
222

edits