mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Identify some uses of wBuffer1-6 in new Crystal code
This commit is contained in:
parent
9f62d7911b
commit
a831b34e5c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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?
|
||||
|
Loading…
x
Reference in New Issue
Block a user