Identify some uses of wBuffer1-6 in new Crystal code

This commit is contained in:
Rangi 2020-11-03 22:52:50 -05:00
parent 9f62d7911b
commit a831b34e5c
4 changed files with 4 additions and 4 deletions

View File

@ -1313,7 +1313,7 @@ First, edit `UsedSurfScript` in [engine/events/overworld.asm](https://github.com
callasm .empty_fn ; empty function callasm .empty_fn ; empty function
readmem wBuffer2 readmem wSurfingPlayerState
writevar VAR_MOVEMENT writevar VAR_MOVEMENT
special UpdatePlayerSprite special UpdatePlayerSprite

View File

@ -87,7 +87,7 @@ Kurt_SelectApricorn:
db SCROLLINGMENU_DISPLAY_ARROWS ; flags db SCROLLINGMENU_DISPLAY_ARROWS ; flags
db 4, 7 ; rows, columns db 4, 7 ; rows, columns
db SCROLLINGMENU_ITEMS_NORMAL ; item format db SCROLLINGMENU_ITEMS_NORMAL ; item format
dbw 0, wBuffer1 dbw 0, wKurtApricornCount
dba .Name dba .Name
dba .Quantity dba .Quantity
dba NULL dba NULL

View File

@ -1870,7 +1870,7 @@ Mobile_MoveSelectionScreen:
ld bc, NUM_MOVES ld bc, NUM_MOVES
call CopyBytes call CopyBytes
ld a, SCREEN_WIDTH * 2 ld a, SCREEN_WIDTH * 2
ld [wBuffer1], a ld [wListMovesLineSpacing], a
hlcoord 2, 10 hlcoord 2, 10
predef ListMoves predef ListMoves
ret ret

View File

@ -37,7 +37,7 @@ StubbedTrainerRankings_MagikarpLength:
ret ret
ld a, BANK(sTrainerRankingLongestMagikarp) ld a, BANK(sTrainerRankingLongestMagikarp)
call OpenSRAM call OpenSRAM
ld de, wBuffer1 ld de, wMagikarpLength
ld hl, sTrainerRankingLongestMagikarp ld hl, sTrainerRankingLongestMagikarp
; Is this Magikarp the longest measured? ; Is this Magikarp the longest measured?