From 401eb2fb91ea46ab7178b1782a3a78ac7b4dad59 Mon Sep 17 00:00:00 2001 From: Luong Truong Date: Mon, 30 Mar 2026 03:16:36 +1100 Subject: [PATCH] Change to A fillers with no trailing spaces --- Boxes/boxes.ml | 34 +++++++++++++++++----------------- html/doc/index.html | 14 +++++++------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Boxes/boxes.ml b/Boxes/boxes.ml index a4f936a..261a23b 100644 --- a/Boxes/boxes.ml +++ b/Boxes/boxes.ml @@ -18,39 +18,39 @@ type fillers = let default_fillers () = { nop_code = if !Settings.game = Ruby || !Settings.game = Sapphire then - [0x00 ; 0x00 ; 0x00 ; 0x00] (* 00000000 : andeq r0, r0, r0 *) + [0xFF ; 0XFF ; 0xFF ; 0xFF] (* FFFFFFFF *) else if !Settings.game = FireRed || !Settings.game = Settings.LeafGreen then - [0x00 ; 0x00 ; 0x00 ; 0x00] (* 00000000 : andeq r0, r0, r0 *) + [0xFF ; 0XFF ; 0xFF ; 0xFF] (* FFFFFFFF *) else - [0x00 ; 0x00 ; 0x00 ; 0x00] (* 00000000 : andeq r0, r0, r0 *) + [0xFF ; 0XFF ; 0xFF ; 0xFF] (* FFFFFFFF *) ; nop_code_alt = if !Settings.game = Ruby || !Settings.game = Sapphire then - [0x00 ; 0x00 ; 0x00 ; 0xB0] (* B0000000 : andlt r0, r0, r0 *) + [0xBB ; 0XFF ; 0xFF ; 0xFF] (* FFFFFFBB *) else if !Settings.game = FireRed || !Settings.game = Settings.LeafGreen then - [0x00 ; 0x00 ; 0x00 ; 0xB0] (* B0000000 : andlt r0, r0, r0 *) + [0xBB ; 0XFF ; 0xFF ; 0xFF] (* FFFFFFBB *) else - [0x00 ; 0x00 ; 0x00 ; 0xB0] (* B0000000 : andlt r0, r0, r0 *) + [0xBB ; 0XFF ; 0xFF ; 0xFF] (* FFFFFFBB *) ; 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 ; 0xBB ; 0xBB ; 0xBB](* BBBBBBFF *) ; + [0xFF ; 0xFF ; 0xBB ; 0xBB](* BBBBFFFF *) ; + [0xFF ; 0xFF ; 0xFF ; 0xBB](* BBFFFFFF *) ; + [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 ; 0xBB ; 0xBB ; 0xBB](* BBBBBBFF *) ; + [0xFF ; 0xFF ; 0xBB ; 0xBB](* BBBBFFFF *) ; + [0xFF ; 0xFF ; 0xFF ; 0xBB](* BBFFFFFF *) ; [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 ; 0xBB ; 0xBB ; 0xBB](* BBBBBBFF *) ; + [0xFF ; 0xFF ; 0xBB ; 0xBB](* BBBBFFFF *) ; + [0xFF ; 0xFF ; 0xFF ; 0xBB](* BBFFFFFF *) ; + [0xFF ; 0xFF ; 0xFF ; 0xFF](* FFFFFFFF *) ; |] ; rewriting = [ diff --git a/html/doc/index.html b/html/doc/index.html index 23748fe..35c5859 100644 --- a/html/doc/index.html +++ b/html/doc/index.html @@ -49,17 +49,17 @@

Headers

exitStringOptionalSpecify the name of the exit code to include at the end of the code. If not specified (or if null is specified), no exit code will be inserted. filler0IntegerOptionalA no-op command to use when filling the space inside a box name. - Default: 0x00000000/0x00000000/0x00000000 (E/FRLG/RS). + Default: 0xFFFFFFFF/0xFFFFFFFF/0xFFFFFFFF (E/FRLG/RS). filler0_altIntegerOptionalAn alternative no-op command to use when filling the space inside a box name. - Used when filler0 cannot be used. Default: 0xB0000000/0xB0000000/0xB0000000 (E/FRLG/RS). + Used when filler0 cannot be used. Default: 0xFFFFFFBB/0xFFFFFFBB/0xFFFFFFBB (E/FRLG/RS). filler1IntegerOptionalOne of the 4-bytes commands to use when filling the space between two box names. - Should be of the form 0x......FF. Default: 0x000000FF/0x000000FF/0xB00000FF (E/FRLG/RS). + Should be of the form 0x......FF. Default: 0xBBBBBBFF/0xBBBBBBFF/0xBBBBBBFF (E/FRLG/RS). filler2IntegerOptionalOne of the 4-bytes commands to use when filling the space between two box names. - Should be of the form 0x....FF... Default: 0x0000FF00/0x0000FF00/0xB000FF00 (E/FRLG/RS). + Should be of the form 0x....FF... Default: 0xBBBBFFFF/0xBBBBFFFF/0xBBBBFFFF (E/FRLG/RS). filler3IntegerOptionalOne of the 4-bytes commands to use when filling the space between two box names. - Should be of the form 0x..FF..... Default: 0x00FF0000/0x00FF0000/0xB0FF0000 (E/FRLG/RS). + Should be of the form 0x..FF..... Default: 0xBBFFFFFF/0xBBFFFFFF/0xBBFFFFFF (E/FRLG/RS). filler4IntegerOptionalOne of the 4-bytes commands to use when filling the space between two box names. - Should be of the form 0xFF....... Default: 0xFF000000/0xFFFFFFFF/0xFF000000 (E/FRLG/RS). + Should be of the form 0xFF....... Default: 0xFFFFFFFF/0xFFFFFFFF/0xFFFFFFFF (E/FRLG/RS). fillBooleanOptionalWhen 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. onlyrawBooleanOptionalFor dev only. When set to true, the generator will not try to fit the commands @@ -129,7 +129,7 @@

Exit codes

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.

- +

The Exit codes textarea contains a library of multiple exit codes. Each exit code is separated from the next by the following separator: ==========