More miscellaneous fixes (see #709)
This commit is contained in:
@@ -52,7 +52,7 @@ PlaceDiplomaOnScreen:
|
||||
PrintDiplomaPage2:
|
||||
hlcoord 0, 0
|
||||
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
||||
ld a, $7f
|
||||
ld a, " "
|
||||
call ByteFill
|
||||
ld hl, DiplomaPage2Tilemap
|
||||
decoord 0, 0
|
||||
|
@@ -112,7 +112,7 @@ _UnownPrinter:
|
||||
ld a, [hl]
|
||||
and a
|
||||
jr nz, .wrap_around_left
|
||||
ld [hl], 26 + 1
|
||||
ld [hl], NUM_UNOWN + 1
|
||||
.wrap_around_left
|
||||
dec [hl]
|
||||
jr .return
|
||||
@@ -120,7 +120,7 @@ _UnownPrinter:
|
||||
.press_right
|
||||
ld hl, wJumptableIndex
|
||||
ld a, [hl]
|
||||
cp 26
|
||||
cp NUM_UNOWN
|
||||
jr c, .wrap_around_right
|
||||
ld [hl], -1
|
||||
.wrap_around_right
|
||||
@@ -132,7 +132,7 @@ _UnownPrinter:
|
||||
|
||||
.UpdateUnownFrontpic:
|
||||
ld a, [wJumptableIndex]
|
||||
cp 26
|
||||
cp NUM_UNOWN
|
||||
jr z, .vacant
|
||||
inc a
|
||||
ld [wUnownLetter], a
|
||||
|
@@ -1,7 +1,7 @@
|
||||
RotateUnownFrontpic:
|
||||
; something to do with Unown printer
|
||||
push de
|
||||
xor a ; sScratch
|
||||
xor a ; BANK(sScratch)
|
||||
call GetSRAMBank
|
||||
ld hl, sScratch
|
||||
ld bc, 0
|
||||
|
Reference in New Issue
Block a user