diff options
author | Daniel Harding <33dannye@gmail.com> | 2021-11-15 13:31:15 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 13:31:15 -0600 |
commit | f516a91f5fa02a741631c77b9097598f466d1328 (patch) | |
tree | bac2ee5e3fad02983b061580f5c085baecb5439a /src/engine/duel/core.asm | |
parent | 15e986d374fdd11ed0f412fbdc9b858d4c4b9f50 (diff) | |
parent | 1fd16cd27fcd4f432bfc09fc5b7a262798b72430 (diff) |
Some more bank splitting
Diffstat (limited to 'src/engine/duel/core.asm')
-rw-r--r-- | src/engine/duel/core.asm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/engine/duel/core.asm b/src/engine/duel/core.asm index 10ccdee..5e462bb 100644 --- a/src/engine/duel/core.asm +++ b/src/engine/duel/core.asm @@ -223,7 +223,7 @@ SetupDuel: call ZeroObjectPositionsAndToggleOAMCopy call EmptyScreen call LoadSymbolsFont - call SetDefaultPalettes + call SetDefaultConsolePalettes lb de, $38, $9f call SetupText call EnableLCD @@ -1604,7 +1604,7 @@ DrawDuelistPortraitsAndNames: ; opponent's portrait ld a, [wOpponentPortrait] lb bc, 13, 1 - call Func_3e2a + call DrawOpponentPortrait ; middle line call DrawDuelHorizontalSeparator ret @@ -3965,7 +3965,7 @@ SetSGB3ToCardPalette: jr SetBGP7OrSGB2ToCardPalette.copy_pal_loop SetOBP1OrSGB3ToCardPalette: - ld a, $e4 + ld a, %11100100 ld [wOBP0], a ld a, [wConsole] or a ; CONSOLE_DMG @@ -4125,13 +4125,13 @@ ApplyCardCGBAttributes: ; BGP and OBP0 on DMG ; SGB0 and SGB1 on SGB ; BGP0 to BGP5 and OBP1 on CGB -SetDefaultPalettes: +SetDefaultConsolePalettes: ld a, [wConsole] cp CONSOLE_SGB jr z, .sgb cp CONSOLE_CGB jr z, .cgb - ld a, $e4 + ld a, %11100100 ld [wOBP0], a ld [wBGP], a ld a, $01 ; equivalent to FLUSH_ONE_PAL @@ -4200,7 +4200,7 @@ CGBDefaultPalettes: rgb 28, 0, 0 rgb 0, 0, 0 -; first and last byte of the packet not contained here (see SetDefaultPalettes.sgb) +; first and last byte of the packet not contained here (see SetDefaultConsolePalettes.sgb) Pal01Packet_Default: ; SGB0 rgb 28, 28, 24 @@ -4718,7 +4718,7 @@ DrawLargePictureOfCard: call ZeroObjectPositionsAndToggleOAMCopy call EmptyScreen call LoadSymbolsFont - call SetDefaultPalettes + call SetDefaultConsolePalettes ld a, LARGE_CARD_PICTURE ld [wDuelDisplayedScreen], a call LoadCardOrDuelMenuBorderTiles |