List of Control Characters: Difference between revisions

Happylappy (talk | contribs)
m Rearrange tables
Happylappy (talk | contribs)
mNo edit summary
Line 8: Line 8:
{| class="wikitable"
{| class="wikitable"
| rowspan="1" |'''Text Tag'''
| rowspan="1" |'''Text Tag'''
|'''Meaning'''
|'''Description'''
|'''Description'''
|-
|-
|[BAR]
|[BAR]
| -
|Inserts a bar covering the entire line, then applies a line break.
|Inserts a bar covering the entire line, then applies a line break.
|-
|-
|[LINE:X:#]
|[LINE:X:#]
| -
|Inserts a line of type (135,139) [type X=0] or (135,140) [type X=1], with thickness #. Used only in JP. Functional in other regions, but only produces redacted text.
|Inserts a line of type (135,139) [type X=0] or (135,140) [type X=1], with thickness #. Used only in JP. Functional in other regions, but only produces redacted text.
|-
|-
|[M:X], [M:#]
|[M:X], [M:#]
|Markfont
|Inserts an icon from markfont.dat as specified by X. Alternatively, a raw index for the icon can be provided. See the following table for more info.
|Inserts an icon from markfont.dat as specified by X. Alternatively, a raw index for the icon can be provided. See the following table for more info.
|}A detailed table of all [M:X]/[M:#] subtags.
|}A detailed table of all [M:X]/[M:#] subtags.
Line 336: Line 332:
{| class="wikitable"
{| class="wikitable"
|'''Text Tag'''
|'''Text Tag'''
|'''Meaning'''
|'''Description'''
|'''Description'''
|-
|-
|[CS:X],[CS:#,X]
|[CS:X],[CS:#,X]
|Color Set
|Sets colored text with color code X. Or more accurately, adds one layer of colored text. Has an optional numerical param "#" with an unknown use.
|Sets colored text with color code X. Or more accurately, adds one layer of colored text. Has an optional numerical param "#" with an unknown use.
|-
|-
|[CR], [CR:#]
|[CR], [CR:#]
|Color Reset
|Reverts colored text. Or more accurately, reverts the top-most layer of colored text. Has an optional numerical param "#" with an unknown use.
|Reverts colored text. Or more accurately, reverts the top-most layer of colored text. Has an optional numerical param "#" with an unknown use.
|-
|-
|[FT:#]
|[FT:#]
|Font
|Sets the current font to the #th font. 0 = Normal, 1 = Unown, 2 = Credits Small, 3 = Credits Large. Fonts 2 and 3 do not function as intended outside of the credits sequence, with 2 being entirely icons, and 3 being empty characters.
|Sets the current font to the #th font. 0 = Normal, 1 = Unown, 2 = Credits Small, 3 = Credits Large. Fonts 2 and 3 do not function as intended outside of the credits sequence, with 2 being entirely icons, and 3 being empty characters.
|-
|-
|[LS:#]
|[LS:#]
|Link Start
|Starts a link to another text string. Used in move/item/status/etc. descriptions for subtopics. Ex: Sleep Seed may link the description of the Sleep status.
|Starts a link to another text string. Used in move/item/status/etc. descriptions for subtopics. Ex: Sleep Seed may link the description of the Sleep status.
|-
|-
|[LE]
|[LE]
|Link End
|Ends a link to another text string. Used in move/item/status/etc. descriptions for subtopics. Ex: Sleep Seed may link the description of the Sleep status.
|Ends a link to another text string. Used in move/item/status/etc. descriptions for subtopics. Ex: Sleep Seed may link the description of the Sleep status.
|}
|}
Line 364: Line 354:
{| class="wikitable"
{| class="wikitable"
| rowspan="1" |'''Text Tag'''
| rowspan="1" |'''Text Tag'''
|'''Meaning'''
|'''Description'''
|'''Description'''
|-
|-
|[MP]
|[MP]
|Money Partition
|Inserts the language-appropriate equivalent for the thousands-place separator: comma, period, space, etc.
|Inserts the language-appropriate equivalent for the thousands-place separator: comma, period, space, etc.
|-
|-
|[GP]
|[GP]
|Gold Partition
|Seems to be a carbon copy of [MP]? Only exists in EU, will crash NA and JP.
|Seems to be a carbon copy of [MP]? Only exists in EU, will crash NA and JP.
|-
|-
|[F:X]
|[F:X]
|Foreign
|Displays certain "Foreign" characters by abbreviation. Can differ by language in EU, see the following table for more info.
|Displays certain "Foreign" characters by abbreviation. Can differ by language in EU, see the following table for more info.
|}
|}
Line 466: Line 452:
{| class="wikitable"
{| class="wikitable"
| rowspan="1" |'''Text Tag'''
| rowspan="1" |'''Text Tag'''
|'''Meaning'''
|'''Description'''
|'''Description'''
|-
|-
|[K]
|[K]
|Key Wait
|Pauses text printing until the player makes an input with A, B, or the Touch Screen.
|Pauses text printing until the player makes an input with A, B, or the Touch Screen.
|-
|-
|[W:#]
|[W:#]
|Wait
|Waits # frames before continuing to print text.
|Waits # frames before continuing to print text.
|-
|-
|[C]
|[C]
|Continue
|Begins the next page of text, erasing the current block of text instantly.
|Begins the next page of text, erasing the current block of text instantly.
|-
|-
|[P]
|[P]
|Page
|Scrolls the currently printed text off the window, then begins the next page of text. A pause in dialogue.
|Scrolls the currently printed text off the window, then begins the next page of text. A pause in dialogue.
|-
|-
|[STS]
|[STS]
|Sudden Text Start
|Ends instant text printing for the line prematurely.
|Ends instant text printing for the line prematurely.
|-
|-
|[STE]
|[STE]
|Sudden Text End
|Begins instant text printing, until the next line break.
|Begins instant text printing, until the next line break.
|-
|-
|[R]
|[R]
|Return
|Two characters longer than an actual new line, or one if "\n" is used. Redundant.
|Two characters longer than an actual new line, or one if "\n" is used. Redundant.
|-
|-
|[HR]
|[HR]
|Half Return
|Does a line break, but only moves down by half the normal amount.
|Does a line break, but only moves down by half the normal amount.
|}
|}
Line 506: Line 483:
{| class="wikitable"
{| class="wikitable"
| rowspan="1" |'''Text Tag'''
| rowspan="1" |'''Text Tag'''
|'''Meaning'''
|'''Description'''
|'''Description'''
|-
|-
|[CN]
|[CN]
|Center
|Begins text centering, until the next line break.
|Begins text centering, until the next line break.
|-
|-
|[CLUM_SET:#]
|[CLUM_SET:#]
|Column Set
|Moves the cursor left or right to the #th pixel in the window. Can be used to move backwards horizontally in a textbox.
|Moves the cursor left or right to the #th pixel in the window. Can be used to move backwards horizontally in a textbox.
|-
|-
|[CLUM_OFFSET:#]
|[CLUM_OFFSET:#]
|Column Offset
|Offsets the cursor's current horizontal position by #. Most likely identical to [S:#].
|Offsets the cursor's current horizontal position by #. Most likely identical to [S:#].
|-
|-
|[MS:#]
|[MS:#]
|Multiple Space
|Inserts 6*# horizontal pixels of space.
|Inserts 6*# horizontal pixels of space.
|-
|-
|[S:#]
|[S:#]
|Space
|Inserts # horizontal pixels of space.
|Inserts # horizontal pixels of space.
|}
|}
Line 532: Line 503:
{| class="wikitable"
{| class="wikitable"
| rowspan="1" |'''Text Tag'''
| rowspan="1" |'''Text Tag'''
|'''Meaning'''
|'''Description'''
|'''Description'''
|-
|-
|[ME_PLAY:#]
|[ME_PLAY:#]
|Message Effect Play
|Plays the #th me_effect directly!
|Plays the #th me_effect directly!
|-
|-
|[SE_PLAY:#]
|[SE_PLAY:#]
|Sound Effect Play
|Plays the #th sound effect directly!
|Plays the #th sound effect directly!
|}
|}