diff options
-rw-r--r-- | Colored-trainer-card-badges.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Colored-trainer-card-badges.md b/Colored-trainer-card-badges.md index 496c7f9..2e37758 100644 --- a/Colored-trainer-card-badges.md +++ b/Colored-trainer-card-badges.md @@ -32,6 +32,9 @@ Edit [engine/gfx/cgb_layouts.asm](../blob/master/engine/gfx/cgb_layouts.asm): ```diff _CGB_TrainerCard: ... + ld a, PRYCE + call GetTrainerPalettePointer + call LoadPalette_White_Col1_Col2_Black - ld a, PREDEFPAL_CGB_BADGE - call GetPredefPal - call LoadHLPaletteIntoDE @@ -40,6 +43,9 @@ Edit [engine/gfx/cgb_layouts.asm](../blob/master/engine/gfx/cgb_layouts.asm): + ld a, BANK(wOBPals1) + call FarCopyWRAM + ; fill screen with opposite-gender palette for the card border + hlcoord 0, 0, wAttrMap + ld bc, SCREEN_WIDTH * SCREEN_HEIGHT ... ret + |