Skip to content

Commit 7a7a062

Browse files
authored
Add assert to note _CGB_Diploma also loads PartyMenuOBPals (#1167)
1 parent 86a87a3 commit 7a7a062

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/gfx/cgb_layouts.asm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,7 @@ _CGB_BetaPoker:
509509
_CGB_Diploma:
510510
ld hl, DiplomaPalettes
511511
ld de, wBGPals1
512+
assert DiplomaPalettes + 8 palettes == PartyMenuOBPals
512513
ld bc, 16 palettes
513514
ld a, BANK(wBGPals1)
514515
call FarCopyWRAM

0 commit comments

Comments
 (0)