Msbt: Difference between revisions

imported>Argo
imported>Argo
Line 320: Line 320:
70 | 00 02 00 03 00 04 00 05 02 03 00 00            | ............    |
70 | 00 02 00 03 00 04 00 05 02 03 00 00            | ............    |
</pre>
</pre>
At byte <code>0x68</code> is the command indicator followed by the type of <code>1</code>. Command types of <code>1</code> seem to be variable length. The type (in this instance) is followed by the number of additional Unsigned Shorts <code>6</code> and 6 shorts or choices in text.
At byte <code>0x68</code> is the command indicator followed by the type of <code>1</code>. Command types of <code>1</code> seem to be variable length. The type (in this instance) is followed by the number of additional Unsigned Shorts <code>6</code> and 6 shorts or choices in text. Each choice is a reference to another .msbt file or action.


<code>[00 0A] [00 02] [00 03] [00 04] [00 05] [02 03]</code>
<code>[00 0A] [00 02] [00 03] [00 04] [00 05] [02 03]</code>
There is also the <code>[00 00]</code> at the end which is a reference to the 


=== Commands ===
=== Commands ===
Line 356: Line 358:
|}
|}


=== Text Modifiers ===
==== Text Modifiers ====
The Modify text or 0 command can have up to 3 shorts after it. The shorts follow in this order <code>Font</code> <code>Color Modifier</code> <code>Color</code>.
The Modify text or 0 command can have up to 3 shorts after it. The shorts follow in this order <code>Font</code> <code>Color Modifier</code> <code>Color</code>.


Line 402: Line 404:
|<code>FF FF</code>
|<code>FF FF</code>
|White
|White
|}
==== Text Stop Types ====
The Stop text or 1 command has varying stops depending on the type. There are two known types at this time: <code>Choice</code> and <code>Delay</code>
'''Choice''' is a stop of the text until the player makes a choice which then moves the the text option choosen. A choice is shown above in <code>100enemy.msbt</code>.
'''Delay''' is a stop of the text for X number of frames.
Below are the known Hex codes for the shorts.
{| class="wikitable"
!Type
!Hex
!Notes
|-
|}
|}


Anonymous user