This repository was archived by the owner on Mar 21, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Control Codes
Vinny edited this page Oct 11, 2020
·
3 revisions
Control code behavior may or may not be shared between the two games.
| Control Code | Arguments | Notes | ||
|---|---|---|---|---|
| Label | Hex | Nº of arg. | Labels | |
| <sleep1> | 0xF7 | none | sleep for ??? frames | |
| <sleep2> | 0xF8 | sleep for ??? frames | ||
| <sleep3> | 0xF9 | sleep for ??? frames | ||
| <clear> | 0xF5 | none | clears the textbox | |
| <indent> | 0xFC | 1 | width | indent by value indicated on argument |
| <textbox> | 0xFA | 4 | X, Y, X2, Y2 | creates a text box using arguments for position and size (used in bios) |
| <speed> | 0xF3 | 1 | speed | text speed |
| <color> | 0xFE | 2 | foreground, background | text color |
| <end> | 0xFF | none | end line | |
| Control Code | Arguments | Notes | |
|---|---|---|---|
| Label | Hex | Nº of arg. | |
| <unknown1> | 0xF1 | 3 | none |
| <unknown2> | 0xF2 | 3 | |
| Control Code | Arguments | Notes | ||
|---|---|---|---|---|
| Label | Hex | Nº of arg. | Labels | |
| <table> | 0xC8 | 1 | n | Offsets character table/encoding being used by 16 * n
|
| <waitinput> | 0xE0 | none | wait for an input from the player (used in VS. Mode and Line Clear iirc?) | |
| <sleep1> | 0xE1 | sleep for 603 frames | ||
| <sleep2> | 0xE2 | sleep for 303 frames | ||
| <sleep3> | 0xE3 | sleep for 123 frames | ||
| <sleep4> | 0xE4 | sleep for 63 frames | ||
| <sleep5> | 0xE5 | sleep for 33 frames | ||
| <sleep6> | 0xE6 | sleep for 13 frames | ||
| <setspacewidth> | 0xF4 | 1 | width | sets width of the space character (" ", 0xF2) to argument |
| <clear> | 0xF5 | none | clears the textbox | |
| <indent> | 0xF6 | 1 | width | indent by value indicated on argument |
| <textbox> | 0xF8 | 4 | X, Y, X2, Y2 | creates a text box using arguments for position and size (used in bios) |
| <speed> | 0xF9 | 1 | speed | text speed |
| <color> | 0xFB | 1 | color | text color |
| <playnextstep> | 0xFE | none | Play next animation on VS. Mode overworld | |
| <end> | 0xFF | end line | ||
| Control Code | Arguments | Notes | |
|---|---|---|---|
| Label | Hex | Nº of arg. | |
| <unknown1> | 0xD3 | 3 | none |
| <unknown2> | 0xEF | 1 | |