mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -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
|
callasm .empty_fn ; empty function
|
||||||
|
|
||||||
readmem wBuffer2
|
readmem wSurfingPlayerState
|
||||||
writevar VAR_MOVEMENT
|
writevar VAR_MOVEMENT
|
||||||
|
|
||||||
special UpdatePlayerSprite
|
special UpdatePlayerSprite
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user