summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-07-21 00:02:21 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-07-21 00:02:21 -0400
commit5631bdc0d7f90d5036b71489883d787715983d41 (patch)
tree59d21b35a7af8686f62e41171c7fde7eeb60cb64 /engine
parent471492b775fc2a0f5162f3d1c13c5472359beb14 (diff)
Added labels to different parts of the map script and event headers
Diffstat (limited to 'engine')
-rw-r--r--engine/color.asm4
-rw-r--r--engine/events_2.asm2
2 files changed, 3 insertions, 3 deletions
diff --git a/engine/color.asm b/engine/color.asm
index de318e54c..1a28e1104 100644
--- a/engine/color.asm
+++ b/engine/color.asm
@@ -1941,7 +1941,7 @@ Functionb1de: ; b1de
callba Function494ac
jr c, .asm_b230
- ld a, [wRoofPalette]
+ ld a, [wPermission]
and 7
ld e, a
ld d, 0
@@ -2007,7 +2007,7 @@ endr
ld a, $5 ; BANK(Unkn2Pals)
call FarCopyWRAM
- ld a, [wRoofPalette]
+ ld a, [wPermission]
cp 1
jr z, .asm_b253
cp 2
diff --git a/engine/events_2.asm b/engine/events_2.asm
index cbcbaebb7..bca1ec27b 100644
--- a/engine/events_2.asm
+++ b/engine/events_2.asm
@@ -146,7 +146,7 @@ Function97cfd:: ; 97cfd
ld hl, StatusFlags
bit 5, [hl]
jr nz, .asm_97d21
- ld a, [wRoofPalette]
+ ld a, [wPermission]
cp $4
jr z, .asm_97d17
cp $7