Jump to content

Custom text boxes: Difference between revisions

→‎Formatting: Changed to direct to the List of text control codes article
>Bbbbbbbbba
m (Changed to external link, because honestly, no one is going to create that page and make it worthwhile in the foreseeable future.)
(→‎Formatting: Changed to direct to the List of text control codes article)
Line 14:
 
===Formatting===
{{main|List of text control codes}}
{{incomplete|1=Other text commands such as the one to print numbers}}
Text boxes in the game begin with a special command, detailed as such:
 
*'''00''': Normal text. Text characters (found on [[The Big HEX List]]) follow. If an 0x00 byte appears in this region, an [[error code]] will appear and text following it will not be printed. Some characters are control characters which will automatically print a string, line break, new page, etc.
*'''08''': Runs code following the 08 byte (can be used for arbitrary code execution)
*'''F5''': Loads a vending machine
*'''F6''': Loads Cable Club reception lady text
*'''F7''': Game Corner Pokémon prize menu. The prizes are determined by the text box's index number, stored at FF8C. Some glitch Game Corner prizes also cause buffer overflows. See [[PrizeDex]] for more information.
*'''F9''': Normal PC
*'''FC''': PC for items only
*'''FD''': PC for Pokémon storage only (unused, featuring "Switch on!" text)
*'''FE''': Loads a Poké Mart
*'''FF''': Loads a Pokémon Center
 
For further information, see the Bulbapedia article.
[[Category:Arbitrary code execution]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.