You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Rename "map permissions" to "map environment" (fix #396)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user