You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Identify the remaining (non-mobile) uses of another WRAM union
This commit is contained in:
@@ -65,7 +65,7 @@ RotateUnownFrontpic:
|
||||
ld a, b
|
||||
ld [hli], a
|
||||
push hl
|
||||
ld hl, wd003
|
||||
ld hl, wPrintedUnownTileSource + 1
|
||||
call .CountSetBit
|
||||
pop hl
|
||||
ld a, b
|
||||
|
@@ -36,18 +36,18 @@ Rate:
|
||||
ld hl, wPokedexSeen
|
||||
ld b, wEndPokedexSeen - wPokedexSeen
|
||||
call CountSetBits
|
||||
ld [wd002], a
|
||||
ld [wTempPokedexSeenCount], a
|
||||
ld hl, wPokedexCaught
|
||||
ld b, wEndPokedexCaught - wPokedexCaught
|
||||
call CountSetBits
|
||||
ld [wd003], a
|
||||
ld [wTempPokedexCaughtCount], a
|
||||
|
||||
; print appropriate rating
|
||||
call .UpdateRatingBuffers
|
||||
ld hl, OakPCText3
|
||||
call PrintText
|
||||
call JoyWaitAorB
|
||||
ld a, [wd003]
|
||||
ld a, [wTempPokedexCaughtCount]
|
||||
ld hl, OakRatings
|
||||
call FindOakRating
|
||||
push de
|
||||
@@ -57,10 +57,10 @@ Rate:
|
||||
|
||||
.UpdateRatingBuffers:
|
||||
ld hl, wStringBuffer3
|
||||
ld de, wd002
|
||||
ld de, wTempPokedexSeenCount
|
||||
call .UpdateRatingBuffer
|
||||
ld hl, wStringBuffer4
|
||||
ld de, wd003
|
||||
ld de, wTempPokedexCaughtCount
|
||||
call .UpdateRatingBuffer
|
||||
ret
|
||||
|
||||
|
Reference in New Issue
Block a user