Miscellaneous cleanup noted in #709

This commit is contained in:
Rangi
2020-05-17 20:59:15 -04:00
parent 395ebd8386
commit e32cf1bfd1
7 changed files with 29 additions and 17 deletions

View File

@@ -277,13 +277,13 @@ Unreferenced_Function8bec:
ldh a, [hCGB]
and a
jr nz, .cgb
ld hl, wPlayerLightScreenCount
ld hl, wBetaPokerSGBPals
jp PushSGBPals
.cgb
ld a, [wEnemyLightScreenCount] ; col
ld a, [wBetaPokerSGBCol]
ld c, a
ld a, [wEnemyReflectCount] ; row
ld a, [wBetaPokerSGBRow]
hlcoord 0, 0, wAttrmap
ld de, SCREEN_WIDTH
.loop
@@ -294,10 +294,10 @@ Unreferenced_Function8bec:
jr .loop
.done
ld b, $0
ld b, 0
add hl, bc
lb bc, 6, 4
ld a, [wEnemySafeguardCount] ; value
ld a, [wBetaPokerSGBAttr]
and $3
call FillBoxCGB
call CopyTilemapAtOnce