shithub: pokecrystal

Download patch

ref: 387107b29ed5871f01ccdfea179826eeef7edf00
parent: 4d7e1bec4021fd53013fd1071c3cf9b30c00102b
author: mid-kid <[email protected]>
date: Sat Sep 15 21:52:14 EDT 2018

Fix use of  in LoadMansionPalette

--- a/engine/tilesets/tileset_palettes.asm
+++ b/engine/tilesets/tileset_palettes.asm
@@ -123,12 +123,12 @@
 	call FarCopyWRAM
 	ld a, BANK(wBGPals1)
 	ld de, wBGPals1 palette PAL_BG_WATER
-	ld hl, MansionPalette1 + 6 palettes
+	ld hl, MansionPalette1 palette PAL_BG_ROOF
 	ld bc, 1 palettes
 	call FarCopyWRAM
 	ld a, BANK(wBGPals1)
 	ld de, wBGPals1 palette PAL_BG_ROOF
-	ld hl, MansionPalette1 + 8 palettes
+	ld hl, MansionPalette1 palette 8
 	ld bc, 1 palettes
 	call FarCopyWRAM
 	ret