Text Guide
This document is a guide to displaying dialogue text in PMDO.
Text Tester
This utility can be found in the Scripting tab of the dev panel:
Enter text into the textbox, and click on the “Dialogue” box to display a textbox with the dialogue.
Make sure that you are currently in a ground or dungeon map (Not the title screen!). You can jump to one of those maps by using F12 or F1+F12 respectively.
Text Tags
Color Text
Welcome to [color=#FFC663]Treasure Town[color]!
Pause Text
Ready,[pause=30] set,[pause=0] GO!
Speed Text
[speed=4.0]Fast as a Ninjask![speed=0.2] Slow as a Slowpoke...
Set Emote Text
[emote=Determined]You Slowpoke![emote=Worried] We're gonna be late now...
Sound Text
Look what sound I can make! [sound=Battle/_UNK_DUN_Water_Drop]Very cool, right? [sound=Battle/_UNK_DUN_Water_Drop,10]I can even go slower... like so.
Break Text into Multiple Windows
Curiosity killed the cat.[br]But satisfaction brought it back.
Scroll To Next Window
Curiosity killed the cat.[scroll]But satisfaction brought it back.
Call Script
I’m talking,[script=0] and as I talk someone emoted.
Call Setup
local function exclaim() SOUND:PlayBattleSE("EVT_Emote_Exclaim_2") GROUND:CharSetEmote(chara, "exclaim", 1) end UI:WaitShowDialogue("What's that![pause=0] A [script=0]shiny!", { exclaim })
Indefinite Articles
When shown in textboxes, these tags turn into different words depending on the word that comes before after it. Very important for translation.
All articles can be capitalized for when they're at the beginning of a sentence.
A/An
Vowel-dependent
- If the next word begins with a consonant, it becomes
a
- If the next word begins with a vowel, it becomes
an
[a/an]
El/La
Gender-dependent
- If the next word is tagged with
[male]
or does not have a gender tag, it becomesel
- If the next word is tagged with
[female]
, it becomesla
[el/la]
Der/Die/Das
Gender-dependent
- If the next word is tagged with
[male]
or does not have a gender tag, it becomesder
- If the next word is tagged with
[female]
, it becomesdie
- If the next word is tagged with
[neutral]
, it becomesdas
[der/die/das]
Ein/Eine/Einen
Gender-dependent
- If the next word is tagged with
[male]
or does not have a gender tag, it becomesein
- If the next word is tagged with
[female]
, it becomeseine
- If the next word is tagged with
[neutral]
, it becomeseinen
[ein/eine/einen]
Ein/Eine/Ein
Gender-dependent
- If the next word is tagged with
[male]
or does not have a gender tag, it becomesein
- If the next word is tagged with
[female]
, it becomeseine
- If the next word is tagged with
[neutral]
, it becomesein
[ein/eine/ein]
Il/La
Gender-dependent and vowel-dependent with special cases
- If the next word is tagged with
[male]
, or does not have a gender tag:- If the next word also begins with a vowel, except i+vowel, it becomes
l'
- Otherwise, if the next word also begins x/y/z/s + consonant/gn/ps/pn/i + vowel, it becomes
lo
- Otherwise, it becomes
il
- If the next word also begins with a vowel, except i+vowel, it becomes
- If the next word is tagged with
[female]
:- If the next word also begins with a vowel, except i+vowel, it becomes
l'
- Otherwise, it becomes
la
- If the next word also begins with a vowel, except i+vowel, it becomes
[il/la]
I/Le
Gender-dependent and vowel-dependent with special cases
- If the next word is tagged with
[male]
, or does not have a gender tag:- Otherwise, if the next word also begins x/y/z/s + consonant/gn/ps/pn/vowel, it becomes
gli
- Otherwise, it becomes
i
- Otherwise, if the next word also begins x/y/z/s + consonant/gn/ps/pn/vowel, it becomes
- If the next word is tagged with
[female]
, it becomesle
[i/le]
Uno/Una
Gender-dependent and vowel-dependent with special cases
- If the next word is tagged with
[male]
, or does not have a gender tag:- If the next word also begins with a vowel, except i+vowel, it becomes
un
- Otherwise, it becomes
uno
- If the next word also begins with a vowel, except i+vowel, it becomes
- If the next word is tagged with
[female]
:- If the next word also begins with a vowel, except i+vowel, it becomes
un'
- Otherwise, it becomes
una
- If the next word also begins with a vowel, except i+vowel, it becomes
[uno/una]
은/는
Vowel-dependent
- If the preceding word ends with a consonant, it becomes
은
- If the preceding word ends with a vowel, it becomes
는
[은/는]
을/를
Vowel-dependent
- If the preceding word ends with a consonant, it becomes
을
- If the preceding word ends with a vowel, it becomes
를
[을/를]
이/가
Vowel-dependent
- If the preceding word ends with a consonant, it becomes
이
- If the preceding word ends with a vowel, it becomes
가
[이/가]
와/과
Vowel-dependent
- If the preceding word ends with a consonant, it becomes
와
- If the preceding word ends with a vowel, it becomes
과
[와/과]
으/로
Vowel-dependent
- If the preceding word ends with a consonant, it becomes
으
- If the preceding word ends with a vowel, it becomes
로
[으/로]
이/라면
Vowel-dependent
- If the preceding word ends with a consonant, it becomes
이
- If the preceding word ends with a vowel, it becomes
라면
[이/라면]
Gender Tags
Place these tags before item or object names to influence indefinite cases above.
[male]
[female]
[neutral]
Special Characters
Use unicode escape characters to achieve special characters:
The total comes to 500\uE024. Will you pay? Thanks! \u266A Please come again \u266A
Most special letters are placed in the Private Reserved Area:
Shop Prices: \uE100-\uE109
Type icons: \uE080-\uE092
Item icons: \uE0A0-\uE0B2
Button icons: \uF000-\uF029
There are many more than listed here, and more may be added with new control schemes…
Unown Font: \uE041-\uE05A
If you shift the characters in your text by E000, you will automatically translate English letters to Unown. Make sure everything is capitalized.
Misc Icons: