Replace hardware_constants.asm with the community-standard hardware.inc 5.0 (#1186)
This commit is contained in:
@@ -10,7 +10,7 @@ InitDisplayForHallOfFame:
|
||||
ld a, " "
|
||||
call ByteFill
|
||||
hlcoord 0, 0, wAttrmap
|
||||
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
||||
ld bc, SCREEN_AREA
|
||||
xor a
|
||||
call ByteFill
|
||||
xor a
|
||||
@@ -39,7 +39,7 @@ InitDisplayForRedCredits:
|
||||
ld a, " "
|
||||
call ByteFill
|
||||
hlcoord 0, 0, wAttrmap
|
||||
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
||||
ld bc, SCREEN_AREA
|
||||
xor a
|
||||
call ByteFill
|
||||
ld hl, wBGPals1
|
||||
@@ -60,10 +60,10 @@ InitDisplayForRedCredits:
|
||||
ret
|
||||
|
||||
ResetDisplayBetweenHallOfFameMons:
|
||||
ldh a, [rSVBK]
|
||||
ldh a, [rWBK]
|
||||
push af
|
||||
ld a, BANK(wDecompressScratch)
|
||||
ldh [rSVBK], a
|
||||
ldh [rWBK], a
|
||||
ld hl, wDecompressScratch
|
||||
ld bc, wScratchAttrmap - wDecompressScratch
|
||||
ld a, " "
|
||||
@@ -74,5 +74,5 @@ ResetDisplayBetweenHallOfFameMons:
|
||||
ld c, 4 tiles
|
||||
call Request2bpp
|
||||
pop af
|
||||
ldh [rSVBK], a
|
||||
ldh [rWBK], a
|
||||
ret
|
||||
|
Reference in New Issue
Block a user