diff --git a/engine/gfx/color.asm b/engine/gfx/color.asm index 7fa64f4e0..395c24bb2 100644 --- a/engine/gfx/color.asm +++ b/engine/gfx/color.asm @@ -1365,72 +1365,6 @@ LoadMapPals: ld bc, 4 ld a, BANK(wBGPals1) call FarCopyWRAM - - ; Day Care outdoor palettes - ld a, [wMapGroup] - cp GROUP_ROUTE_34 - ret nz - - ld a, [wMapNumber] - cp MAP_ROUTE_34 - ret nz - - ld a, BANK(wBreedMon1Species) - ld hl, wBreedMon1Species - call GetFarWRAMByte - and a - jr z, .day_care_mon_2 - ld [wCurPartySpecies], a - - ld hl, wBreedMon1DVs ; HL now points to the params of the wBreedMon1, which is needed by GetMenuMonIconPalette to determine if it's shiny. - ld de, GetMenuMonIconPalette - ld a, BANK(GetMenuMonIconPalette) - call FarCall_de - ld a, e - add a - add a - add a - ld e, a - ld d, 0 - ld hl, PartyMenuOBPals - add hl, de - - inc hl - inc hl - - ld de, wOBPals1 palette PAL_OW_PINK + 2 - ld bc, 1 palettes - 2 - ld a, BANK(wOBPals1) - call FarCopyWRAM - -.day_care_mon_2 - ld a, BANK(wBreedMon2Species) - ld hl, wBreedMon2Species - call GetFarWRAMByte - and a - ret z - ld [wCurPartySpecies], a - - ld hl, wBreedMon2DVs ; HL now points to the params of the wBreedMon2, which is needed by GetMenuMonIconPalette to determine if it's shiny. - ld de, GetMenuMonIconPalette - ld a, BANK(GetMenuMonIconPalette) - call FarCall_de - ld a, e - add a - add a - add a - ld e, a - ld d, 0 - ld hl, PartyMenuOBPals - add hl, de - - inc hl - inc hl - - ld de, wOBPals1 palette PAL_OW_ROCK + 2 - ld bc, 1 palettes - 2 - ld a, BANK(wOBPals1) - call FarCopyWRAM ret INCLUDE "data/maps/environment_colors.asm"