summaryrefslogtreecommitdiff
path: root/engine/color.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-07-15 15:48:44 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-07-15 15:48:44 -0400
commit39524cdb766660a7bf6d60379040349652cecc04 (patch)
treee0657f37fbd8cbd7bf724025a4bb19e68e1e0254 /engine/color.asm
parent67e56102ef56e91e9563a32f6fc68827219d2037 (diff)
More enumeration of constants, more annotations of scripts.
Diffstat (limited to 'engine/color.asm')
-rw-r--r--engine/color.asm11
1 files changed, 3 insertions, 8 deletions
diff --git a/engine/color.asm b/engine/color.asm
index 314bf2981..e922b8849 100644
--- a/engine/color.asm
+++ b/engine/color.asm
@@ -806,8 +806,7 @@ Function9764: ; 9764
Function976b: ; 976b
ld l, a
ld h, 0
- add hl, hl
- add hl, hl
+ add_n_times hl, hl, 2
ld bc, TrainerPalettes
add hl, bc
ret
@@ -1975,9 +1974,7 @@ Functionb1de: ; b1de
push hl
ld l, a
ld h, 0
- add hl, hl
- add hl, hl
- add hl, hl
+ add_n_times hl, hl, 3
ld de, TilesetBGPalette
add hl, de
ld e, l
@@ -2017,9 +2014,7 @@ Functionb1de: ; b1de
ld a, [MapGroup]
ld l, a
ld h, 0
- add hl, hl
- add hl, hl
- add hl, hl
+ add_n_times hl, hl, 3
ld de, RoofPals
add hl, de
ld a, [TimeOfDayPal]