Rename "map permissions" to "map environment" (fix #396)

This commit is contained in:
Remy Oukaour
2017-12-24 13:08:38 -05:00
parent 10a1e6c860
commit 20d6c1d876
20 changed files with 70 additions and 57 deletions

View File

@@ -1310,7 +1310,7 @@ LoadMapPals:
jr c, .got_pals
; Which palette group is based on whether we're outside or inside
ld a, [wPermission]
ld a, [wEnvironment]
and 7
ld e, a
ld d, 0
@@ -1377,7 +1377,7 @@ LoadMapPals:
ld a, BANK(UnknOBPals)
call FarCopyWRAM
ld a, [wPermission]
ld a, [wEnvironment]
cp TOWN
jr z, .outside
cp ROUTE
@@ -1411,7 +1411,7 @@ endr
dw .OutdoorColors ; ROUTE
dw .IndoorColors ; INDOOR
dw .DungeonColors ; CAVE
dw .Perm5Colors ; PERM_5
dw .Perm5Colors ; ENVIRONMENT_5
dw .IndoorColors ; GATE
dw .DungeonColors ; DUNGEON