List of Control Characters: Difference between revisions
Happylappy (talk | contribs) Add Capital Text Tags Temp |
Happylappy (talk | contribs) m Rearrange tables |
||
| Line 21: | Line 21: | ||
|[M:X], [M:#] | |[M:X], [M:#] | ||
|Markfont | |Markfont | ||
|Inserts an icon from markfont.dat as specified by X. Alternatively, a raw index for the icon can be provided. See | |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. | |||
{| class="wikitable" | {| class="wikitable" | ||
| colspan="2" rowspan="1" |'''Tag (Name + #)''' | | colspan="2" rowspan="1" |'''Tag (Name + #)''' | ||
| Line 544: | Line 332: | ||
|Orb | |Orb | ||
|[TODO] | |[TODO] | ||
|} | |||
These text tags alter the properties of normal text characters that follow them. | |||
{| class="wikitable" | |||
|'''Text Tag''' | |||
|'''Meaning''' | |||
|'''Description''' | |||
|- | |||
|[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. | |||
|- | |||
|[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. | |||
|- | |||
|[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. | |||
|- | |||
|[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. | |||
|- | |||
|[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. | |||
|} | |||
These text tags insert different characters depending on the system language. | |||
{| class="wikitable" | |||
| rowspan="1" |'''Text Tag''' | |||
|'''Meaning''' | |||
|'''Description''' | |||
|- | |||
|[MP] | |||
|Money Partition | |||
|Inserts the language-appropriate equivalent for the thousands-place separator: comma, period, space, etc. | |||
|- | |||
|[GP] | |||
|Gold Partition | |||
|Seems to be a carbon copy of [MP]? Only exists in EU, will crash NA and JP. | |||
|- | |||
|[F:X] | |||
|Foreign | |||
|Displays certain "Foreign" characters by abbreviation. Can differ by language in EU, see the following table for more info. | |||
|} | |||
A detailed table of all available [F:X] subtags. | |||
{| class="wikitable" | |||
| colspan="2" rowspan="1" |'''[F:X] Text Tag''' | |||
| colspan="2" rowspan="1" |'''Character''' | |||
| colspan="2" rowspan="1" |'''Hex Id''' | |||
| rowspan="2" |'''Description''' | |||
|- | |||
|'''Tag''' | |||
|'''Abbrev.''' | |||
|'''German''' | |||
|'''Other''' | |||
|'''German''' | |||
|'''Other''' | |||
|- | |||
|[F:ER] | |||
| - | |||
| colspan="2" rowspan="1" |er | |||
|0x96 | |||
|0x96 | |||
|e and r condensed into one character. Used in French when referring to Sky Peak Station Pass 1. | |||
|- | |||
|[F:RE] | |||
| - | |||
| colspan="2" rowspan="1" |re | |||
|0x97 | |||
|0x97 | |||
|r and e condensed to one character. Unused | |||
|- | |||
|[F:O] | |||
| - | |||
| colspan="2" rowspan="1" |º | |||
|0xBA | |||
|0xBA | |||
|Masculine Ordinal Indicator. Unused? | |||
|- | |||
|[F:E] | |||
| - | |||
| colspan="2" rowspan="1" |ᵉ | |||
|0x8D | |||
|0x8D | |||
|Superscript "e". Used in French when referring to Sky Peak Station Pass 2+ | |||
|- | |||
|[F:RQ] | |||
|Reverse Question | |||
| colspan="2" rowspan="1" |¿ | |||
|0xBF | |||
|0xBF | |||
|Reverse question mark. Unused? | |||
|- | |||
|[F:S1] | |||
|Start 1 | |||
|‚ | |||
|‘ | |||
|0xB8 | |||
|0x91 | |||
|Start of a single quote. Differs in German, to match the language's quotation mark convention. Unused. | |||
|- | |||
|[F:E1] | |||
|End 1 | |||
|‘ | |||
|’ | |||
|0x91 | |||
|0x92 | |||
|End of a single quote. Differs in German, to match the language's quotation mark convention. Unused. | |||
|- | |||
|[F:S2] | |||
|Start 2 | |||
|„ | |||
|“ | |||
|0xB7 | |||
|0x93 | |||
|Start of a double quote. Differs in German, to match the language's quotation mark convention. Used frequently in EU. | |||
|- | |||
|[F:E2] | |||
|End 2 | |||
|“ | |||
|” | |||
|0x93 | |||
|0x94 | |||
|End of a double quote. Differs in German, to match the language's quotation mark convention. Used frequently in EU. | |||
|} | |||
These text tags alter the rate that text is printed, and/or create a line break. | |||
{| class="wikitable" | |||
| rowspan="1" |'''Text Tag''' | |||
|'''Meaning''' | |||
|'''Description''' | |||
|- | |||
|[K] | |||
|Key Wait | |||
|Pauses text printing until the player makes an input with A, B, or the Touch Screen. | |||
|- | |||
|[W:#] | |||
|Wait | |||
|Waits # frames before continuing to print text. | |||
|- | |||
|[C] | |||
|Continue | |||
|Begins the next page of text, erasing the current block of text instantly. | |||
|- | |||
|[P] | |||
|Page | |||
|Scrolls the currently printed text off the window, then begins the next page of text. A pause in dialogue. | |||
|- | |||
|[STS] | |||
|Sudden Text Start | |||
|Ends instant text printing for the line prematurely. | |||
|- | |||
|[STE] | |||
|Sudden Text End | |||
|Begins instant text printing, until the next line break. | |||
|- | |||
|[R] | |||
|Return | |||
|Two characters longer than an actual new line, or one if "\n" is used. Redundant. | |||
|- | |||
|[HR] | |||
|Half Return | |||
|Does a line break, but only moves down by half the normal amount. | |||
|} | |||
These text tags alter the printing position of characters that follow them. | |||
{| class="wikitable" | |||
| rowspan="1" |'''Text Tag''' | |||
|'''Meaning''' | |||
|'''Description''' | |||
|- | |||
|[CN] | |||
|Center | |||
|Begins text centering, until the next line break. | |||
|- | |||
|[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. | |||
|- | |||
|[CLUM_OFFSET:#] | |||
|Column Offset | |||
|Offsets the cursor's current horizontal position by #. Most likely identical to [S:#]. | |||
|- | |||
|[MS:#] | |||
|Multiple Space | |||
|Inserts 6*# horizontal pixels of space. | |||
|- | |||
|[S:#] | |||
|Space | |||
|Inserts # horizontal pixels of space. | |||
|} | |||
These text tags create audio effects when they are parsed, but do not affect the textbox visually. | |||
{| class="wikitable" | |||
| rowspan="1" |'''Text Tag''' | |||
|'''Meaning''' | |||
|'''Description''' | |||
|- | |||
|[ME_PLAY:#] | |||
|Message Effect Play | |||
|Plays the #th me_effect directly! | |||
|- | |||
|[SE_PLAY:#] | |||
|Sound Effect Play | |||
|Plays the #th sound effect directly! | |||
|} | |} | ||
==CS== | == CS == | ||
The following control characters are used to change the color of text in scripts. | The following control characters are used to change the color of text in scripts. | ||
{| class="wikitable" style="text-align: left;" | {| class="wikitable" style="text-align: left;" | ||