Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Boxes/boxes.ml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@ let default_fillers () = {
fillers = if !Settings.game = Ruby || !Settings.game = Sapphire
then [|
[0xFF ; 0x00 ; 0x00 ; 0xB0](* B00000FF *) ;
[0x00 ; 0xFF ; 0x00 ; 0xB0](* B000FF00 *) ;
[0x00 ; 0x00 ; 0xFF ; 0xB0](* B0FF0000 *) ;
[0x00 ; 0x00 ; 0x00 ; 0xFF](* FF000000 *) ;
[0xFF ; 0xFF ; 0x00 ; 0xB0](* B000FFFF *) ;
[0xFF ; 0xFF ; 0xFF ; 0xB0](* B0FFFFFF *) ;
[0xFF ; 0xFF ; 0xFF ; 0xFF](* FFFFFFFF *) ;
|]
else if !Settings.game = FireRed || !Settings.game = Settings.LeafGreen
then [|
[0xFF ; 0x00 ; 0x00 ; 0x00](* 000000FF *) ;
[0x00 ; 0xFF ; 0x00 ; 0x00](* 0000FF00 *) ;
[0x00 ; 0x00 ; 0xFF ; 0x00](* 00FF0000 *) ;
[0xFF ; 0xFF ; 0x00 ; 0x00](* 0000FFFF *) ;
[0xFF ; 0xFF ; 0xFF ; 0x00](* 00FFFFFF *) ;
[0xFF ; 0xFF ; 0xFF ; 0xFF](* FFFFFFFF *) ;
|]
else [|
[0xFF ; 0x00 ; 0x00 ; 0x00](* 000000FF *) ;
[0x00 ; 0xFF ; 0x00 ; 0x00](* 0000FF00 *) ;
[0x00 ; 0x00 ; 0xFF ; 0x00](* 00FF0000 *) ;
[0x00 ; 0x00 ; 0x00 ; 0xFF](* FF000000 *) ;
[0xFF ; 0xFF ; 0x00 ; 0x00](* 0000FFFF *) ;
[0xFF ; 0xFF ; 0xFF ; 0x00](* 00FFFFFF *) ;
[0xFF ; 0xFF ; 0xFF ; 0xFF](* FFFFFFFF *) ;
|]
}

Expand Down
8 changes: 4 additions & 4 deletions html/doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ <h3>Headers</h3>
<tr><td><code>filler1</code></td><td>Integer</td><td>Optional</td><td>One of the 4-bytes commands to use when filling the space between two box names.
Should be of the form <code>0x......FF</code>. Default: <code>0x000000FF</code>/<code>0x000000FF</code>/<code>0xB00000FF</code> (E/FRLG/RS).</td></tr>
<tr><td><code>filler2</code></td><td>Integer</td><td>Optional</td><td>One of the 4-bytes commands to use when filling the space between two box names.
Should be of the form <code>0x....FF..</code>. Default: <code>0x0000FF00</code>/<code>0x0000FF00</code>/<code>0xB000FF00</code> (E/FRLG/RS).</td></tr>
Should be of the form <code>0x....FF..</code>. Default: <code>0x0000FFFF</code>/<code>0x0000FFFF</code>/<code>0xB000FFFF</code> (E/FRLG/RS).</td></tr>
<tr><td><code>filler3</code></td><td>Integer</td><td>Optional</td><td>One of the 4-bytes commands to use when filling the space between two box names.
Should be of the form <code>0x..FF....</code>. Default: <code>0x00FF0000</code>/<code>0x00FF0000</code>/<code>0xB0FF0000</code> (E/FRLG/RS).</td></tr>
Should be of the form <code>0x..FF....</code>. Default: <code>0x00FFFFFF</code>/<code>0x00FFFFFF</code>/<code>0xB0FFFFFF</code> (E/FRLG/RS).</td></tr>
<tr><td><code>filler4</code></td><td>Integer</td><td>Optional</td><td>One of the 4-bytes commands to use when filling the space between two box names.
Should be of the form <code>0xFF......</code>. Default: <code>0xFF000000</code>/<code>0xFFFFFFFF</code>/<code>0xFF000000</code> (E/FRLG/RS).</td></tr>
Should be of the form <code>0xFF......</code>. Default: <code>0xFFFFFFFF</code>/<code>0xFFFFFFFF</code>/<code>0xFFFFFFFF</code> (E/FRLG/RS).</td></tr>
<tr><td><code>fill</code></td><td>Boolean</td><td>Optional</td><td>When set to true, the remaining space of the last box will be filled with spaces.
If specified in both the main code headers and the exit code headers, the value must be the same. Default: true.</td></tr>
<tr><td><code>onlyraw</code></td><td>Boolean</td><td>Optional</td><td>For dev only. When set to <code>true</code>, the generator will not try to fit the commands
Expand Down Expand Up @@ -129,7 +129,7 @@ <h2>Exit codes</h2>

<p>Exit codes are pieces of code that can be included at the end of an ACE code in order to
branch back to the game's code without crashing.</p>

<p>The <q>Exit codes</q> textarea contains a library of multiple exit codes.
Each exit code is separated from the next by the following separator:
<code>==========</code></p>
Expand Down