Implement the engine to backup disabled map spaces (#33)

This commit is contained in:
xCrystal
2023-12-20 19:14:28 +01:00
parent d097191ab1
commit 7641bb7876
10 changed files with 237 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ DEF FIRST_GREY_SPACE_METATILE EQU $e0
DEF UNIQUE_SPACE_METATILES_MASK EQU %11111
; Branch Space special direction values
const_def -1, -1
const_def 255, -1
const BRANCH_DIRECTION_INVALID ; -1
const BRANCH_DIRECTION_UNAVAILABLE ; -2
@@ -15,3 +15,7 @@ DEF UNIQUE_SPACE_METATILES_MASK EQU %11111
const GO_LEFT ; 251
const GO_RIGHT ; 250
DEF NEXT_SPACE_IS_ANCHOR_POINT EQU const_value + 1
DEF MAX_SPACES_PER_MAP EQU const_value + 1
DEF NUM_DISABLED_SPACES_BACKUPS EQU 10