diff options
Diffstat (limited to 'engine/tilesets')
-rw-r--r-- | engine/tilesets/timeofday_pals.asm | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/engine/tilesets/timeofday_pals.asm b/engine/tilesets/timeofday_pals.asm index 27172a213..e890607d4 100644 --- a/engine/tilesets/timeofday_pals.asm +++ b/engine/tilesets/timeofday_pals.asm @@ -224,16 +224,7 @@ ReplaceTimeOfDayPals: dc 3, 2, 1, 0 GetTimePalette: - ld a, [wTimeOfDay] - ld e, a - ld d, 0 - ld hl, .TimePalettes - add hl, de - add hl, de - ld a, [hli] - ld h, [hl] - ld l, a - jp hl + jumptable .TimePalettes, wTimeOfDay .TimePalettes: dw .MorningPalette |