Msbt: Difference between revisions

Jump to navigation Jump to search
imported>Argo
imported>Argo
Line 407: Line 407:


==== Text Stop Types ====
==== 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>
The Stop text or 1 command has varying stops depending on the type. There are two known stop 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>.
*'''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.
*'''Delay''' is a stop of the text for X number of frames. This is then followed by the frame counter and number of frames.
 
{| class="wikitable"
!Type
!Code
|Choice
|<code>[00 XX]</code>
|X is the number of choices availible. This can reference an event or text in other documents or its own.
|-
|Delay
|<code>[00 00]</code>
|Requires the frame counter
|-
|Frame Counter
|<code>[00 04]</code>
|Followed by 4 nibbles <code>[00 00 00 XX]</code> where XX is the number of frames in hex. EX: 1 sec = 30 frames = <code>[1E]</code>
|-
|}
 


Below are the known Hex codes for the shorts.  
Below are the known Hex codes for the shorts.  
Anonymous user

Navigation menu