List of Control Characters: Difference between revisions
Column for identical colors |
|||
| (20 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Stub}} | {{Stub}} | ||
== | == Control Characters == | ||
{| class="wikitable" | |||
!Character | |||
!Hex | |||
!Description | |||
|- | |||
|~ | |||
|0x7E | |||
|Reads the following 2 characters '''as hex''' and prints the result. Can be used to print normally unprintable characters such as brackets and 0x7E itself. Example: <code>~5B ~5D</code> will result in <code>[ ]</code> in-game.<br>Note: <code>~7E</code> results in a second small tilde (<code>˜</code>) in-game. Use the Shift-JIS character described below for a full tilde. | |||
|- | |||
| | |||
|0x81 | |||
|Shift-JIS activator. Used normally in Japanese, but the international versions also use it to display the following extra characters from <code>kanji.dat/table 129</code>: | |||
{| class="wikitable" | |||
!Character | |||
!Hex | |||
!Note | |||
|- | |||
|~ | |||
|0x8160 | |||
|The only way to display a full tilde in-game. To input in SkyTemple, enter a Japanese wave dash (<code>〜</code>). | |||
|- | |||
|→ | |||
|0x81A8 | |||
|This character can be entered normally in SkyTemple. | |||
|- | |||
|← | |||
|0x81A9 | |||
|This character can be entered normally in SkyTemple. | |||
|- | |||
|↑ | |||
|0x81AA | |||
|This character can be entered normally in SkyTemple. | |||
|- | |||
|↓ | |||
|0x81AB | |||
|This character can be entered normally in SkyTemple. | |||
|- | |||
|♪ | |||
|0x81F4 | |||
|This character can be entered normally in SkyTemple. | |||
|} | |||
|} | |||
== Lowercase Text Tags == | |||
<TODO: parameters, (technical) descriptions, potential organization> | |||
{| class="wikitable" | |||
!Tag | |||
!Description | |||
|- | |||
|[area:#] | |||
| | |||
|- | |||
|[adverb:#] | |||
|Unused. | |||
|- | |||
|[bank:#] | |||
| | |||
|- | |||
|[bank_left:#] | |||
| | |||
|- | |||
|[c_kind:<actor>] | |||
|Prints the Pokémon species of the specified actor, using the light green text color for species (see [CS:K]). | |||
|- | |||
|[c_i:#] | |||
| | |||
|- | |||
|[c_name:<actor>] | |||
| | |||
|- | |||
|style=white-space:nowrap|[c_stammer:<actor>] | |||
|Prints the first character of the specified actor's name. Used only in JP. | |||
|- | |||
|[class:#] | |||
|Unused. | |||
|- | |||
|[digits:#] | |||
| | |||
|- | |||
|[digits_c:#] | |||
| | |||
|- | |||
|[dungeon:#] | |||
| | |||
|- | |||
|[equip_list] | |||
| | |||
|- | |||
|[experience:#] | |||
| | |||
|- | |||
|[floor:0] | |||
|Prints the job's destination floor. | |||
|- | |||
|[gadget_bag] | |||
|Prints the current name of the player's inventory. Used by the base game to specify the One-Item Inventory or Treasure Bag depending on the player's progress. | |||
|- | |||
|[gender:#] | |||
| | |||
|- | |||
|[gold:#] | |||
| | |||
|- | |||
|[gold_left:#] | |||
| | |||
|- | |||
|[hero] | |||
|Prints the hero's name. Special Episodes instead use <code>[c_name:NPC_HERO_FIRST]</code>. | |||
|- | |||
|[item:#] | |||
| | |||
|- | |||
|[kind:]<br>[kind:#] | |||
| | |||
|- | |||
|[move:]<br>[move:#] | |||
| | |||
|- | |||
|[me_play:#] | |||
| | |||
|- | |||
|[move_hit_ratio] | |||
| | |||
|- | |||
|[move_power] | |||
| | |||
|- | |||
|[name:#] | |||
| | |||
|- | |||
|[now_team] | |||
| | |||
|- | |||
|[partner] | |||
|Prints the partner's name. Special Episodes instead use <code>[c_name:NPC_PARTNER_FIRST]</code>. | |||
|- | |||
|[partner2] | |||
|Unused. <code>[partner2]</code> and <code>[partner2:0]</code> both seem to invariably crash the game. | |||
|- | |||
|[player] | |||
|Prints the current leader's name using a blue text color. | |||
|- | |||
|[purpose:#] | |||
|Unused. Seems to print "Recover the stolen item." as seen within the "Mission objectives" menu inside Beach Cave on the first visit, regardless of the player's progress. | |||
|- | |||
|[rank:#] | |||
| | |||
|- | |||
|[range:#] | |||
|Unused. | |||
|- | |||
|[s_item:#] | |||
| | |||
|- | |||
|[string0] | |||
| | |||
|- | |||
|[string:#] | |||
| | |||
|- | |||
|[se_play:#] | |||
| | |||
|- | |||
|[type:#] | |||
| | |||
|- | |||
|[trap:#] | |||
| | |||
|- | |||
|[tactics:#] | |||
| | |||
|- | |||
|[team]<br>[team:]<br>[team:#] | |||
| | |||
|- | |||
|[time:#] | |||
| | |||
|- | |||
|[value0:#:#] | |||
| | |||
|- | |||
|[value:#:#] | |||
| | |||
|- | |||
|[value_i:#]<br>[value_i:#:#] | |||
|Unused. | |||
|- | |||
|[weather:#] | |||
| | |||
|- | |||
|[wiseness:]<br>[wiseness:#] | |||
| | |||
|} | |||
== Capitalized Text Tags (Parse-on-Print) == | |||
All text tags that begin with a capital letter are parsed immediately before they would be printed. They typically apply formatting, insert objects, or adjust print control flow. There is a hard limit on how many can be in one text string, but that limit is not currently known. | |||
=== Object Insert Tags === | |||
These text tags draw something that isn't text in the textbox. | These text tags draw something that isn't text in the textbox. | ||
{| class="wikitable" | {| class="wikitable" | ||
!Tag | |||
!Description | |||
|- | |- | ||
|[BAR] | |[BAR] | ||
| Line 17: | Line 214: | ||
|- | |- | ||
|[M:X], [M:#] | |[M:X], [M:#] | ||
|Inserts an icon from markfont.dat as specified by X. Alternatively, a raw index for the icon can be provided. See the | |Inserts an icon from markfont.dat as specified by X. Alternatively, a raw index for the icon can be provided. See the '''[M:X] Icon Table''' for more info. | ||
|}A detailed table of all [M:X]/[M:#] subtags. | |} | ||
As a side note, [D:0], [D:1] and [D:2] are intended to display the [[File:M-T4.png]], [[File:M-T5.png]] and [[File:M-T6.png]] icons respectively, but this functionality has been deliberately disabled in all available versions of the base game, which will simply ignore the debug tags. The tags can still be widely seen in many of the game's unused strings. | |||
==== [M:X] Icon Table ==== | |||
A detailed table of all [M:X]/[M:#] subtags. | |||
{| class="wikitable" | {| class="wikitable" | ||
!colspan="2" rowspan="2" |Tag<br>(Name + #) | |||
| | !rowspan="2" |Description | ||
| | !colspan="2" |Icon | ||
!colspan="2" rowspan="2" |Tag<br>(Name + #) | |||
| | !rowspan="2" |Description | ||
| | !colspan="2" |Icon | ||
!colspan="2" rowspan="2" |Tag<br>(Name + #) | |||
| | !rowspan="2" |Description | ||
| | !colspan="2" |Icon | ||
|- | |||
!Int | |||
!JP | |||
!Int | |||
!JP | |||
!Int | |||
!JP | |||
|- | |- | ||
|[M:B0] | |[M:B0] | ||
|[M:0] | |[M:0] | ||
|Start | |Start | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B0.png]] | ||
|[M:B23] | |[M:B23] | ||
|[M:23] | |[M:23] | ||
|Check Gold Block | |Check/Maru Gold Block | ||
|[ | |style="text-align:center; background-color:#808080;" | [[File:M-B23_Int.png]] | ||
|style="text-align:center; background-color:#808080;" | [[File:M-B23_JP.png]] | |||
|[M:H5] | |[M:H5] | ||
|[M:46] | |[M:46] | ||
|Heart yellow small | |Heart yellow small | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-H5.png]] | ||
|- | |- | ||
|[M:B1] | |[M:B1] | ||
|[M:1] | |[M:1] | ||
|Select | |Select | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B1.png]] | ||
|[M:B24] | |[M:B24] | ||
|[M:24] | |[M:24] | ||
|X Gold Block | |X Gold Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B24.png]] | ||
|[M:H6] | |[M:H6] | ||
|[M:47] | |[M:47] | ||
|Heart yellow | |Heart yellow | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-H6.png]] | ||
|- | |- | ||
|[M:B2] | |[M:B2] | ||
|[M:2] | |[M:2] | ||
|A | |A | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B2.png]] | ||
|[M:B25] | |[M:B25] | ||
|[M:25] | |[M:25] | ||
|Up Gold Block | |Up Gold Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B25.png]] | ||
|[M:H7] | |[M:H7] | ||
|[M:48] | |[M:48] | ||
|Heart yellow big | |Heart yellow big | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-H7.png]] | ||
|- | |- | ||
|[M:B3] | |[M:B3] | ||
|[M:3] | |[M:3] | ||
|B | |B | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B3.png]] | ||
|[M:B26] | |[M:B26] | ||
|[M:26] | |[M:26] | ||
|Down Gold Block | |Down Gold Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B26.png]] | ||
|[M:H8] | |[M:H8] | ||
|[M:49] | |[M:49] | ||
|Heart pink unshaded | |Heart pink unshaded | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-H8.png]] | ||
|- | |- | ||
|[M:B4] | |[M:B4] | ||
|[M:4] | |[M:4] | ||
|X | |X | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B4.png]] | ||
|[M:B27] | |[M:B27] | ||
|[M:27] | |[M:27] | ||
|Left Gold Block | |Left Gold Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B27.png]] | ||
|[M:R0] | |[M:R0] | ||
|[M:50] | |[M:50] | ||
|Dash | |Dash | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-R0.png]] | ||
|- | |- | ||
|[M:B5] | |[M:B5] | ||
|[M:5] | |[M:5] | ||
|Y | |Y | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B5.png]] | ||
|[M:B28] | |[M:B28] | ||
|[M:28] | |[M:28] | ||
|Right Gold Block | |Right Gold Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B28.png]] | ||
|[M:R1] | |[M:R1] | ||
|[M:51] | |[M:51] | ||
|Half Star | |Half Star | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-R1.png]] | ||
|- | |- | ||
|[M:B6] | |[M:B6] | ||
|[M:6] | |[M:6] | ||
|L | |L | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B6.png]] | ||
|[M:B29] | |[M:B29] | ||
|[M:29] | |[M:29] | ||
|Rewind Gold Block | |Rewind Gold Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B29.png]] | ||
|[M:R2] | |[M:R2] | ||
|[M:52] | |[M:52] | ||
|Amber Gem? | |Amber Gem? | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-R2.png]] | ||
|- | |- | ||
|[M:B7] | |[M:B7] | ||
|[M:7] | |[M:7] | ||
|R | |R | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B7.png]] | ||
|[M:B30] | |[M:B30] | ||
|[M:30] | |[M:30] | ||
|FF Gold Block | |FF Gold Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B30.png]] | ||
|[M:R3] | |[M:R3] | ||
|[M:53] | |[M:53] | ||
|Unopened Mail | |Unopened Mail | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-R3.png]] | ||
|- | |- | ||
|[M:B8] | |[M:B8] | ||
|[M:8] | |[M:8] | ||
|D-Pad | |D-Pad | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B8.png]] | ||
|[M:B31] | |[M:B31] | ||
|[M:31] | |[M:31] | ||
|Sort Gold Block | |Sort Gold Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B31.png]] | ||
|[M:R4] | |[M:R4] | ||
|[M:54] | |[M:54] | ||
|Open Mail | |Open Mail | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-R4.png]] | ||
|- | |- | ||
|[M:B9] | |[M:B9] | ||
|[M:9] | |[M:9] | ||
| - Block | | - Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B9.png]] | ||
|[M:B32] | |[M:B32] | ||
|[M:32] | |[M:32] | ||
|Search Gold Block | |Search Gold Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B32.png]] | ||
|[M:R5] | |[M:R5] | ||
|[M:55] | |[M:55] | ||
|Letter | |Letter | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-R5.png]] | ||
|- | |- | ||
|[M:B10] | |[M:B10] | ||
|[M:10] | |[M:10] | ||
|Check Block | |Check/Maru Block | ||
|[ | |style="text-align:center; background-color:#808080;" | [[File:M-B10_Int.png]] | ||
|style="text-align:center; background-color:#808080;" | [[File:M-B10_JP.png]] | |||
|[M:S0] | |[M:S0] | ||
|[M:33] | |[M:33] | ||
|P-Money | |P-Money | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-S0.png]] | ||
|[M:R6] | |[M:R6] | ||
|[M:56] | |[M:56] | ||
|Newspaper | |Newspaper | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-R6.png]] | ||
|- | |- | ||
|[M:B11] | |[M:B11] | ||
|[M:11] | |[M:11] | ||
|X Block | |X Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B11.png]] | ||
|[M:S1] | |[M:S1] | ||
|[M:34] | |[M:34] | ||
|Space | |Space | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-S1.png]] | ||
|[M:R7] | |[M:R7] | ||
|[M:57] | |[M:57] | ||
|! Box | |! Box | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-R7.png]] | ||
|- | |- | ||
|[M:B12] | |[M:B12] | ||
|[M:12] | |[M:12] | ||
|Up Block | |Up Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B12.png]] | ||
|[M:S2] | |[M:S2] | ||
|[M:35] | |[M:35] | ||
|Check | |Check | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-S2.png]] | ||
|[M:R8] | |[M:R8] | ||
|[M:58] | |[M:58] | ||
|Wi-Fi | |Wi-Fi | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-R8.png]] | ||
|- | |- | ||
|[M:B13] | |[M:B13] | ||
|[M:13] | |[M:13] | ||
|Down Block | |Down Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B13.png]] | ||
|[M:S3] | |[M:S3] | ||
|[M:36] | |[M:36] | ||
|Star | |Star | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-S3.png]] | ||
|[M:R9] | |[M:R9] | ||
|[M:59] | |[M:59] | ||
|E-Mail | |E-Mail | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-R9.png]] | ||
|- | |- | ||
|[M:B14] | |[M:B14] | ||
|[M:14] | |[M:14] | ||
|Left Block | |Left Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B14.png]] | ||
|[M:S4] | |[M:S4] | ||
|[M:37] | |[M:37] | ||
|X | |X | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-S4.png]] | ||
|[M:T0] | |[M:T0] | ||
|[M:60] | |[M:60] | ||
|Colon | |Colon/Hook Bracket | ||
|[ | |style="text-align:center; background-color:#808080;" | [[File:M-T0_Int.png]] | ||
|style="text-align:center; background-color:#808080;" | [[File:M-T0_JP.png]] | |||
|- | |- | ||
|[M:B15] | |[M:B15] | ||
|[M:15] | |[M:15] | ||
|Right Block | |Right Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B15.png]] | ||
|[M:S5] | |[M:S5] | ||
|[M:38] | |[M:38] | ||
|Check X | |Check X | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-S5.png]] | ||
|[M:T1] | |[M:T1] | ||
|[M:61] | |[M:61] | ||
|Text Bubble | |Text Bubble/Asterisk | ||
|[ | |style="text-align:center; background-color:#808080;" | [[File:M-T1_Int.png]] | ||
|style="text-align:center; background-color:#808080;" | [[File:M-T1_JP.png]] | |||
|- | |- | ||
|[M:B16] | |[M:B16] | ||
|[M:16] | |[M:16] | ||
|Rewind Block | |Rewind Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B16.png]] | ||
|[M:S6] | |[M:S6] | ||
|[M:39] | |[M:39] | ||
|Bag | |Bag | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-S6.png]] | ||
|[M:T2] | |[M:T2] | ||
|[M:62] | |[M:62] | ||
|Space Indicator | |Space Indicator | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-T2.png]] | ||
|- | |- | ||
|[M:B17] | |[M:B17] | ||
|[M:17] | |[M:17] | ||
|FF Block | |FF Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B17.png]] | ||
|[M:S7] | |[M:S7] | ||
|[M:40] | |[M:40] | ||
|Hut | |Hut | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-S7.png]] | ||
|[M:T3] | |[M:T3] | ||
|[M:63] | |[M:63] | ||
|Space Indicator Red | |Space Indicator Red | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-T3.png]] | ||
|- | |- | ||
|[M:B18] | |[M:B18] | ||
|[M:18] | |[M:18] | ||
|Sort Block | |Sort Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B18.png]] | ||
|[M:H0] | |[M:H0] | ||
|[M:41] | |[M:41] | ||
|Heart pink vsmall | |Heart pink vsmall | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-H0.png]] | ||
|[M:T4] | |[M:T4] | ||
|[M:64] | |[M:64] | ||
| | |仮 'Kari' (temp) | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-T4.png]] | ||
|- | |- | ||
|[M:B19] | |[M:B19] | ||
|[M:19] | |[M:19] | ||
|Search Block | |Search Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B19.png]] | ||
|[M:H1] | |[M:H1] | ||
|[M:42] | |[M:42] | ||
|Heart pink small | |Heart pink small | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-H1.png]] | ||
|[M:T5] | |[M:T5] | ||
|[M:65] | |[M:65] | ||
| | |未 'Mi' (unimplemented) | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-T5.png]] | ||
|- | |- | ||
|[M:B20] | |[M:B20] | ||
|[M:20] | |[M:20] | ||
|D-Pad U-D Block | |D-Pad U-D Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B20.png]] | ||
|[M:H2] | |[M:H2] | ||
|[M:43] | |[M:43] | ||
|Heart pink | |Heart pink | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-H2.png]] | ||
|[M:T6] | |[M:T6] | ||
|[M:66] | |[M:66] | ||
| | |デ 'De' (debug) | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-T6.png]] | ||
|- | |- | ||
|[M:B21] | |[M:B21] | ||
|[M:21] | |[M:21] | ||
|D-Pad L-R Block | |D-Pad L-R Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B21.png]] | ||
|[M:H3] | |[M:H3] | ||
|[M:44] | |[M:44] | ||
|Heart pink big | |Heart pink big | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-H3.png]] | ||
|[M:I0] | |[M:I0] | ||
|[M:67] | |[M:67] | ||
|TM | |TM | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-I0.png]] | ||
|- | |- | ||
|[M:B22] | |[M:B22] | ||
|[M:22] | |[M:22] | ||
| - Gold Block | | - Gold Block | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-B22.png]] | ||
|[M:H4] | |[M:H4] | ||
|[M:45] | |[M:45] | ||
|Heart yellow vsmall | |Heart yellow vsmall | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-H4.png]] | ||
|[M:I1] | |[M:I1] | ||
|[M:68] | |[M:68] | ||
|Orb | |Orb | ||
|[ | |colspan="2" style="text-align:center; background-color:#808080;" | [[File:M-I1.png]] | ||
|} | |} | ||
=== Text Formatting Tags === | |||
These text tags alter the properties of normal text characters that follow them. | These text tags alter the properties of normal text characters that follow them. | ||
{| class="wikitable" | {| class="wikitable" | ||
!Tag | |||
!Description | |||
|- | |- | ||
|[CS:X],[CS:#,X] | |[CS:X],[CS:#,X] | ||
|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. See the '''[CS:X] Color Set Table''' for specifics on the types of colors and their vanilla usages. | ||
|- | |- | ||
|[CR], [CR:#] | |[CR], [CR:#] | ||
| Line 350: | Line 564: | ||
|} | |} | ||
==== [CS:X] Color Set Table ==== | |||
A detailed table of all [CS:X] subtags and their intended purpose in the base game. | |||
The colors are stored in FONT/text_pal.pal, and are stored slightly brighter than they appear in-game. When loaded in-game, the last three bits of each value (R, G, & B) are trimmed off to make the whole color fit within 2 bytes rather than 4, so a number like FF (0b11111111) would become F8 (0b11111000). The colors as coded in FONT/text_pal.pal are listed in the "Internal Color" column, and their location in the file is also provided. <!-- Is this paragraph too wordy...? --> | |||
{| class="wikitable" style="text-align: left;" | |||
!Tag | |||
!Color | |||
!Use Case | |||
!Identical to | |||
!FONT/text_pal.pal Offset | |||
!Internal Color | |||
|- | |||
|[CS:A] | |||
| style="color:black; background-color:#F8C8C8;" |Cream<br>#F8C8C8 | |||
|Effectively unused; described in ADEBUG as "Identified Item". | |||
|[CS:I] | |||
|0x58 | |||
| style="color:black; background-color:#FFCFCF;" |#FFCFCF | |||
|- | |||
|[CS:B] | |||
| style="color:black; background-color:#F80000;" |Red<br>#F80000 | |||
|Forbidden choice. | |||
|[CS:r], [CS:W] | |||
|0x4C | |||
| style="color:black; background-color:#FF0000;" |#FF0000 | |||
|- | |||
|[CS:C] | |||
| style="color:black; background-color:#F8F800;" |Yellow<br>#F8F800 | |||
|Used for rare miscellaneous and debug messages. | |||
|[CS:F], [CS:U] | |||
|0x24 | |||
| style="color:black; background-color:#FFFF00;" |#FFFF00 | |||
|- | |||
|[CS:D] | |||
| style="color:black; background-color:#F8F8F8;" |White<br>#F8F8F8 | |||
|Standard text color. This is also the default case in <code>GetColorCodePaletteOffset</code>, so if an invalid CS code is used, it will be treated as this. | |||
|None | |||
|0x1C | |||
| style="color:black; background-color:#FFFFFF;" |#FFFFFF | |||
|- | |||
|[CS:E] | |||
| style="color:black; background-color:#00F8F8;" |Cyan<br>#00F8F8 | |||
|Used by subjects, stats, abilities, weather, etc. Described in ADEBUG as "Bold Text". | |||
|[CS:G], [CS:N], [CS:V] | |||
|0x20 | |||
| style="color:black; background-color:#00FFFF;" |#00FFFF | |||
|- | |||
|[CS:F] | |||
| style="color:black; background-color:#F8F800;" |Yellow<br>#F8F800 | |||
|Names of other members of the player's team, including the partner. However, this is ''not'' used for Special Episode allies in cutscenes. | |||
|[CS:C], [CS:U] | |||
|0x34 | |||
| style="color:black; background-color:#FFFF00;" |#FFFF00 | |||
|- | |||
|[CS:G] | |||
| style="color:black; background-color:#00F8F8;" |Cyan<br>#00F8F8 | |||
|Money. | |||
|[CS:E], [CS:N], [CS:V] | |||
|0x64 | |||
| style="color:black; background-color:#00FFFF;" |#00FFFF | |||
|- | |||
|[CS:H] | |||
| style="color:black; background-color:#F87878;" |Pink<br>#F87878 | |||
|Trap names. | |||
|None | |||
|0x70 | |||
| style="color:black; background-color:#FF7F7F;" |#FF7F7F | |||
|- | |||
|[CS:I] | |||
| style="color:black; background-color:#F8C8C8;" |Cream<br>#F8C8C8 | |||
|Item names. In cutscenes, this is ''not'' used for unobtainable story objects such as Perfect Apples or Time Gears, but ''is'' used for items the player could obtain themselves. | |||
|[CS:A] | |||
|0x58 | |||
| style="color:black; background-color:#FFCFCF;" |#FFCFCF | |||
|- | |||
|[CS:j] | |||
| style="color:black; background-color:#F8C060;" |Dark Cream<br>#F8C060 | |||
|The color is used by already-recruited Pokémon species whenever one requests to join within dungeons, and Chimecho uses the tag while explaining this text color. | |||
|[CS:P] | |||
|0x44 | |||
| style="color:black; background-color:#FFC767;" |#FFC767 | |||
|- | |||
|[CS:J] | |||
| style="color:black; background-color:#F8F8A0;" |Light Yellow<br>#F8F8A0 | |||
|Status effects. | |||
|None | |||
|0x74 | |||
| style="color:black; background-color:#FFFFA7;" |#FFFFA7 | |||
|- | |||
|[CS:K] | |||
| style="color:black; background-color:#00F800;" |Light Green<br>#00F800 | |||
|Pokémon species names, including those in shop names. Should ''not'' be used to refer to a character ([CS:N]), even if they use the name of their species as their personal name. | |||
|[CS:M] | |||
|0x3C | |||
| style="color:black; background-color:#00FF00;" |#00FF00 | |||
|- | |||
|[CS:L] | |||
| style="color:black; background-color:#00E060;" |Green<br>#00E060 | |||
|The tag itself is effectively unused in the base game, but the same text color is used for [LS:#] hyperlinks in item/move descriptions. The kiosk demo uses the tag to note the title of the game. | |||
|None | |||
|0x6C | |||
| style="color:black; background-color:#00E767;" |#00E767 | |||
|- | |||
|[CS:M] | |||
| style="color:black; background-color:#00F800;" |Light Green<br>#00F800 | |||
|Move names. Also commonly used on the word "move" itself in non-dialogue strings. | |||
|[CS:K] | |||
|0x40 | |||
| style="color:black; background-color:#00FF00;" |#00FF00 | |||
|- | |||
|[CS:N] | |||
| style="color:black; background-color:#00F8F8;" |Cyan<br>#00F8F8 | |||
|Regular character names. The hero and partner will also fall back to this if they're not in a primary story role, as seen in Special Episode 5's intro scene. | |||
|[CS:E], [CS:G], [CS:V] | |||
|0x38 | |||
| style="color:black; background-color:#00FFFF;" |#00FFFF | |||
|- | |||
|[CS:O] | |||
| style="color:black; background-color:#009800;" |Dark Green<br>#009800 | |||
|Unused. | |||
|None | |||
|0x78 | |||
| style="color:black; background-color:#009F00;" |#009F00 | |||
|- | |||
|[CS:P] | |||
| style="color:black; white-space:nowrap; background-color:#F8C060;" |Dark Cream<br>#F8C060 | |||
|Dungeon names and other destinations such as Fogbound Lake and Shaymin Village. ''Not'' used in the base game for other location names such as Treasure Town or the Hot Spring in dialogue. | |||
|[CS:j] | |||
|0x44 | |||
| style="color:black; background-color:#FFC767;" |#FFC767 | |||
|- | |||
|[CS:Q] | |||
| style="color:black; background-color:#0080F8;" |Blue<br>#0080F8 | |||
|Unused. | |||
|None | |||
|0x54 | |||
| style="color:black; background-color:#0087FF;" |#0087FF | |||
|- | |||
|[CS:r] | |||
| style="color:black; background-color:#F80000;" |Red<br>#F80000 | |||
|Unused. | |||
|[CS:B], [CS:W] | |||
|0x14 | |||
| style="color:black; background-color:#FF0000;" |#FF0000 | |||
|- | |||
|[CS:R] | |||
| style="color:black; background-color:#40F840;" |Pale Green<br>#40F840 | |||
|The tag itself is effectively unused, but the text color is used for displaying the selling price at shops. Described in ADEBUG as "Selling Price". | |||
|None | |||
|0x68 | |||
| style="color:black; background-color:#47FF47;" |#47FF47 | |||
|- | |||
|[CS:S] | |||
| style="color:black; background-color:#6080E0;" |Purple<br>#6080E0 | |||
|Effectively unused. Described in ADEBUG as "Multiple Items Selected", but doing this in shop or storage menus changes the color of the surrounding background rather than the text itself. | |||
|None | |||
|0x50 | |||
| style="color:black; background-color:#6787E7;" |#6787E7 | |||
|- | |||
|[CS:T] | |||
|Transparent | |||
|Unused and seemingly useless, as it makes the text unreadable. | |||
|None | |||
|N/A | |||
|N/A | |||
|- | |||
|[CS:U] | |||
| style="color:black; background-color:#F8F800;" |Yellow<br>#F8F800 | |||
|Effectively unused. Described in ADEBUG as "Unidentified Item". | |||
|[CS:C], [CS:F] | |||
|0x5C | |||
| style="color:black; background-color:#FFFF00;" |#FFFF00 | |||
|- | |||
|[CS:V] | |||
| style="color:black; background-color:#00F8F8;" |Cyan<br>#00F8F8 | |||
|Used for "bold" numbers. Base game example: <code>You can get only [CS:V]two wrong[CR], OK?</code> | |||
|[CS:E], [CS:G], [CS:N] | |||
|0x48 | |||
| style="color:black; background-color:#00FFFF;" |#00FFFF | |||
|- | |||
|[CS:W] | |||
| style="color:black; background-color:#F80000;" |Red<br>#F80000 | |||
|Used by item-boosted stats in a Pokémon's summary and a few debug messages, particularly warnings. | |||
|[CS:B], [CS:r] | |||
|0x28 | |||
| style="color:black; background-color:#FF0000;" |#FF0000 | |||
|- | |||
|[CS:X] | |||
| style="color:black; background-color:#F8A0F8;" |Bright Pink<br>#F8A0F8 | |||
|Any team's name, not including the word "team". Also used by the names of other players in multiplayer-related strings. | |||
|None | |||
|0x2C | |||
| style="color:black; background-color:#FFA7FF;" |#FFA7FF | |||
|- | |||
|[CS:Y] | |||
| style="color:black; background-color:#0098F8;" |Light Blue<br>#0098F8 | |||
|Used for the current leader's name, including the hero and Special Episode protagonists. Regular recruited Pokémon will also use this color if set as the leader, even if spoken to in Spinda's Café. | |||
|None | |||
|0x30 | |||
| style="color:black; background-color:#009FFF;" |#009FFF | |||
|- | |||
|[CS:Z] | |||
| style="color:black; background-color:#8080F8;" |Light Purple<br>#8080F8 | |||
|Exclusive item names. This includes the Water Float and Defend Globe when referred to in cutscenes. | |||
|None | |||
|0x60 | |||
| style="color:black; background-color:#8787FF;" |#8787FF | |||
|} | |||
=== Language Based Insertion Tags === | |||
These text tags insert different characters depending on the system language. | These text tags insert different characters depending on the system language. | ||
{| class="wikitable" | {| class="wikitable" | ||
!Tag | |||
!Description | |||
|- | |- | ||
|[MP] | |[MP] | ||
| Line 363: | Line 786: | ||
|- | |- | ||
|[F:X] | |[F:X] | ||
|Displays certain "Foreign" characters by abbreviation. Can differ by language in EU, see the | |Displays certain "Foreign" characters by abbreviation. Can differ by language in EU, see the '''[F:X] Character Insertion Table''' for more info. | ||
|} | |} | ||
==== [F:X] Character Insertion Table ==== | |||
A detailed table of all available [F:X] subtags. | A detailed table of all available [F:X] subtags. | ||
{| class="wikitable" | {| 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] | |[F:ER] | ||
| - | | - | ||
| colspan="2" rowspan="1" |er | | colspan="2" rowspan="1" |<sub>er</sub> | ||
|0x96 | |0x96 | ||
|0x96 | |0x96 | ||
|e and r condensed into one character. Used in French when referring to Sky Peak Station Pass 1. | |e and r condensed into one superscript character, a masculine ordinal indicator for number 1. Used in French when referring to Sky Peak Station Pass 1. | ||
|- | |- | ||
|[F:RE] | |[F:RE] | ||
| - | | - | ||
| colspan="2" rowspan="1" |re | | colspan="2" rowspan="1" |<sup>re</sup> | ||
|0x97 | |0x97 | ||
|0x97 | |0x97 | ||
|r and e condensed to one character. Unused | |r and e condensed to one superscript character, a feminine ordinal indicator for number 1. Unused. | ||
|- | |- | ||
|[F:O] | |[F:O] | ||
| Line 399: | Line 823: | ||
|0xBA | |0xBA | ||
|0xBA | |0xBA | ||
|Masculine | |Masculine ordinal indicator for numbers 2+. Unused? | ||
|- | |- | ||
|[F:E] | |[F:E] | ||
| Line 406: | Line 830: | ||
|0x8D | |0x8D | ||
|0x8D | |0x8D | ||
|Superscript "e". Used in French when referring to Sky Peak Station Pass 2+ | |Superscript "e", an ordinal indicator for numbers 2+. Used in French when referring to Sky Peak Station Pass 2+. | ||
|- | |- | ||
|[F:RQ] | |[F:RQ] | ||
|Reverse Question | |Reverse Question? | ||
| colspan="2" rowspan="1" |¿ | | colspan="2" rowspan="1" |¿ | ||
|0xBF | |0xBF | ||
|0xBF | |0xBF | ||
|Reverse question mark. Unused | |Reverse question mark. Unused, as the Spanish script simply writes out the character regularly. | ||
|- | |- | ||
|[F:S1] | |[F:S1] | ||
|Start 1 | |Start 1? | ||
|‚ | |‚ | ||
|‘ | |‘ | ||
| Line 424: | Line 848: | ||
|- | |- | ||
|[F:E1] | |[F:E1] | ||
|End 1 | |End 1? | ||
|‘ | |‘ | ||
|’ | |’ | ||
| Line 432: | Line 856: | ||
|- | |- | ||
|[F:S2] | |[F:S2] | ||
|Start 2 | |Start 2? | ||
|„ | |„ | ||
|“ | |“ | ||
| Line 440: | Line 864: | ||
|- | |- | ||
|[F:E2] | |[F:E2] | ||
|End 2 | |End 2? | ||
|“ | |“ | ||
|” | |” | ||
| Line 448: | Line 872: | ||
|} | |} | ||
=== Control Flow Tags === | |||
These text tags alter the rate that text is printed, and/or create a line break. | These text tags alter the rate that text is printed, and/or create a line break. | ||
{| class="wikitable" | {| class="wikitable" | ||
!Tag | |||
!Description | |||
|- | |- | ||
|[K] | |[K] | ||
| Line 479: | Line 903: | ||
|} | |} | ||
=== Position Adjustment Tags === | |||
These text tags alter the printing position of characters that follow them. | These text tags alter the printing position of characters that follow them. | ||
{| class="wikitable" | {| class="wikitable" | ||
!Tag | |||
!Description | |||
|- | |- | ||
|[CN] | |[CN] | ||
| Line 500: | Line 924: | ||
|Inserts # horizontal pixels of space. | |Inserts # horizontal pixels of space. | ||
|} | |} | ||
=== Audio Based Tags === | |||
These text tags create audio effects when they are parsed, but do not affect the textbox visually. | These text tags create audio effects when they are parsed, but do not affect the textbox visually. | ||
{| class="wikitable" | {| class="wikitable" | ||
!Tag | |||
!Description | |||
|- | |- | ||
|[ME_PLAY:#] | |[ME_PLAY:#] | ||
| Line 510: | Line 936: | ||
|[SE_PLAY:#] | |[SE_PLAY:#] | ||
|Plays the #th sound effect directly! | |Plays the #th sound effect directly! | ||
|} | |} | ||
{{NavScriptTerms}} | {{NavScriptTerms}} | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||