The current URL is datacrystal.tcrf.net.
Pokémon Mystery Dungeon: Red Rescue Team/Text Formatting: Difference between revisions
(Started page and added some macros) |
(→top) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{subpage}} | |||
These character sequences can change the text when inserted. | These character sequences can change the text when inserted. | ||
==Escape Character for 1-Byte Characters== | |||
The tilde character "~" (0x7E) can be used to display any 1-byte character. The tilde character must be followed by a hexadecimal code in ascii, written in two characters. Note that those are case-insensitive. | |||
<pre> | <pre> | ||
~XX | ~XX | ||
</pre> | |||
example: ~27 = ' | |||
==Global String Variables== | |||
Note that the string names are case sensitive. | |||
<pre> | |||
$dX - maybe floor number | $dX - maybe floor number | ||
$iX - unknown, maybe item | $iX - unknown, maybe item | ||
Line 8: | Line 17: | ||
$nX - given name X = 0 Player Name | $nX - given name X = 0 Player Name | ||
$t - team name - defaults to ???? if not known | $t - team name - defaults to ???? if not known | ||
</pre> | |||
==Text Macros== | |||
Note that all macros are case insensitive. | |||
===Text Color Change=== | |||
One of the following macros must be written before the text to colour: | |||
<pre> | |||
#C0 - White | #C0 - White | ||
#C1 - Blue | #C1 - Blue | ||
Line 26: | Line 40: | ||
#CE - Light Blue | #CE - Light Blue | ||
#CF - White | #CF - White | ||
</pre> | |||
The following macro is used to end the coloured text, resetting to the default color. If used on text beginning, will set default color to black. | |||
<pre> | |||
#R | |||
</pre> | |||
===Extra Message Command=== | |||
#P | <pre> | ||
#W | #P | ||
</pre> | |||
===Wait For Continue Command=== | |||
When the text print reaches this macro, the text print will be suspended until pression of A or B button. | |||
<pre> | |||
#W | |||
</pre> | |||
===New Line=== | |||
Note that this macro makes the line starting more on the left than using a command character. | |||
<pre> | |||
#N | |||
</pre> | |||
===Center Text Align=== | |||
The characters following this macro are written aligned to the textbox center. | |||
<pre> | |||
#+ | |||
</pre> | </pre> |
Latest revision as of 15:00, 24 January 2024
This is a sub-page of Pokémon Mystery Dungeon: Red Rescue Team.
These character sequences can change the text when inserted.
Escape Character for 1-Byte Characters
The tilde character "~" (0x7E) can be used to display any 1-byte character. The tilde character must be followed by a hexadecimal code in ascii, written in two characters. Note that those are case-insensitive.
~XX
example: ~27 = '
Global String Variables
Note that the string names are case sensitive.
$dX - maybe floor number $iX - unknown, maybe item $mX - species name X = 0 Player Species $nX - given name X = 0 Player Name $t - team name - defaults to ???? if not known
Text Macros
Note that all macros are case insensitive.
Text Color Change
One of the following macros must be written before the text to colour:
#C0 - White #C1 - Blue #C2 - Red #C3 - Black #C4 - Green #C5 - Cyan #C6 - Yellow #C7 - White #C8 - Darker Gray #C9 - Dark Gray #CA - White #CB - White #CC - Yellow #CD - Yellow #CE - Light Blue #CF - White
The following macro is used to end the coloured text, resetting to the default color. If used on text beginning, will set default color to black.
#R
Extra Message Command
#P
Wait For Continue Command
When the text print reaches this macro, the text print will be suspended until pression of A or B button.
#W
New Line
Note that this macro makes the line starting more on the left than using a command character.
#N
Center Text Align
The characters following this macro are written aligned to the textbox center.
#+