Identify SGB blk/pal packets

This commit is contained in:
Rangi
2020-10-04 18:32:33 -04:00
parent 169470378a
commit 5a546068a8
4 changed files with 43 additions and 43 deletions

View File

@@ -79,7 +79,7 @@ Unused_CheckShininess:
SGB_ApplyCreditsPals: ; unreferenced
push de
push bc
ld hl, PalPacket_9ce6
ld hl, PalPacket_Pal01
ld de, wSGBPals
ld bc, PALPACKET_LENGTH
call CopyBytes
@@ -95,7 +95,7 @@ SGB_ApplyCreditsPals: ; unreferenced
ld [wSGBPals + 6], a
ld hl, wSGBPals
call PushSGBPals
ld hl, BlkPacket_9a86
ld hl, BlkPacket_AllPal0
call PushSGBPals
ret
@@ -172,7 +172,7 @@ Function8b3f: ; unreferenced
ldh a, [hSGB]
and a
ret z
ld hl, BlkPacket_9a86
ld hl, BlkPacket_AllPal0
jp PushSGBPals
Function8b4d: ; unreferenced
@@ -213,7 +213,7 @@ GSIntro_LoadMonPalette: ; unreferenced
ret z
ld a, c
push af
ld hl, PalPacket_9ce6
ld hl, PalPacket_Pal01
ld de, wSGBPals
ld bc, PALPACKET_LENGTH
call CopyBytes
@@ -410,7 +410,7 @@ LoadMailPalettes:
call CheckCGB
jr nz, .cgb
push hl
ld hl, PalPacket_9ce6
ld hl, PalPacket_Pal01
ld de, wSGBPals
ld bc, PALPACKET_LENGTH
call CopyBytes
@@ -427,7 +427,7 @@ LoadMailPalettes:
ld [wSGBPals + 6], a
ld hl, wSGBPals
call PushSGBPals
ld hl, BlkPacket_9a86
ld hl, BlkPacket_AllPal0
call PushSGBPals
ret