diff options
Diffstat (limited to 'engine/timeofdaypals.asm')
-rw-r--r-- | engine/timeofdaypals.asm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engine/timeofdaypals.asm b/engine/timeofdaypals.asm index 1bfc2457b..3bba41f53 100644 --- a/engine/timeofdaypals.asm +++ b/engine/timeofdaypals.asm @@ -245,9 +245,8 @@ GetTimePalette: ; 8c117 ld e, a ld d, 0 ld hl, .TimePalettes -rept 2 add hl, de -endr + add hl, de ld a, [hli] ld h, [hl] ld l, a @@ -346,9 +345,8 @@ GetTimePalFade: ; 8c17c ld c, a ld b, $0 ld hl, .dmgfades -rept 2 add hl, bc -endr + add hl, bc ld a, [hli] ld h, [hl] ld l, a |