From d2725c31040af3d54ea9b0f28f8fe89d6454e75b Mon Sep 17 00:00:00 2001 From: Remy Oukaour Date: Wed, 17 Jan 2018 13:58:50 -0500 Subject: Allow italics/bold within inline code --- docs/text_commands.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'docs/text_commands.md') diff --git a/docs/text_commands.md b/docs/text_commands.md index b198d405d..801ce95e0 100644 --- a/docs/text_commands.md +++ b/docs/text_commands.md @@ -3,32 +3,32 @@ Defined in [macros/scripts/text.asm](/macros/scripts/text.asm) and [home/text.asm:TextCommands](/home/text.asm). -## `$00`: `text` *text* +## `$00`: text text Start writing text until `"@"`. -## `$4E`: `next` *text* +## `$4E`: next text Move a line down. -## `$4F`: `line` *text* +## `$4F`: line text Start writing at the bottom line. -## `$50`: `page` *text* +## `$50`: page text Start a new Pokédex page. -## `$51`: `para` *text* +## `$51`: para text Start a new paragraph. -## `$55`: `cont` *text* +## `$55`: cont text Scroll to the next line. @@ -43,24 +43,24 @@ End a text box. Prompt the player to end a text box (initiating some other event). -## `$01`: `text_from_ram` *address* +## `$01`: text_from_ram address Write text from a RAM address. -## `$02`: `text_bcd` *address*, *flags* +## `$02`: text_bcd address, flags Write [BCD][bcd] from an address, typically RAM. [bcd]: https://en.wikipedia.org/wiki/Binary-coded_decimal -## `$03`: `text_move` *address* +## `$03`: text_move address Move to a new tile. -## `$04`: `text_box` *address*, *height*, *width* +## `$04`: text_box address, height, width Draw a box. @@ -86,7 +86,7 @@ first character column of the text box. Start interpreting assembly code. -## `$09`: `deciram` *address*, *bytes*, *digits* +## `$09`: deciram address, bytes, digits Read *bytes* bytes from *address* and print them as a *digits*-digit number. @@ -101,7 +101,7 @@ Exit. Play `SFX_DEX_FANFARE_50_79`. -## `$0C`: `limited_interpret_data` *number* +## `$0C`: limited_interpret_data number Print *number* `"…"`s. @@ -141,7 +141,7 @@ Play `SFX_FANFARE`. Play `SFX_SLOT_MACHINE_START`. -## `$14`: `text_buffer` *id* +## `$14`: text_buffer id Write text from one of the following addresses (listed in `StringBufferPointers`): @@ -159,6 +159,6 @@ Write text from one of the following addresses (listed in `StringBufferPointers` Print the weekday. -## `$16`: `text_jump` *address* +## `$16`: text_jump address Write text from a different bank. -- cgit v1.2.3 From 2acaa96cf16ce953a7149f300d54e5440abc27d8 Mon Sep 17 00:00:00 2001 From: Remy Oukaour Date: Thu, 18 Jan 2018 18:34:20 -0500 Subject: More charmap and home/text.asm documentation for JP chars --- docs/text_commands.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'docs/text_commands.md') diff --git a/docs/text_commands.md b/docs/text_commands.md index 801ce95e0..5c797d828 100644 --- a/docs/text_commands.md +++ b/docs/text_commands.md @@ -101,9 +101,9 @@ Exit. Play `SFX_DEX_FANFARE_50_79`. -## `$0C`: limited_interpret_data number +## `$0C`: limited_interpret_data n -Print *number* `"…"`s. +Print *n* `"…"`s. ## `$0D`: `link_wait_button` @@ -143,7 +143,7 @@ Play `SFX_SLOT_MACHINE_START`. ## `$14`: text_buffer id -Write text from one of the following addresses (listed in `StringBufferPointers`): +Write text from one of the following addresses (listed in [data/text_buffers.asm](/data/text_buffers.asm)): 0. `StringBuffer3` 1. `StringBuffer4` @@ -162,3 +162,8 @@ Print the weekday. ## `$16`: text_jump address Write text from a different bank. + + +## `$00`: `text_start` + +Start writing regular text again after a special command. -- cgit v1.2.3