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
readmem wBuffer2
readmem wSurfingPlayerState
writevar VAR_MOVEMENT
special UpdatePlayerSprite

View File

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

View File

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

View File

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