ref: a831b34e5c73b3166b6d45301861522b3c207cac
parent: 9f62d7911bdc0550d9ef1e66195ed22fb7f3ba1c
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Tue Nov 3 17:52:50 EST 2020
Identify some uses of wBuffer1-6 in new Crystal code
--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -1313,7 +1313,7 @@
callasm .empty_fn ; empty function
- readmem wBuffer2
+ readmem wSurfingPlayerState
writevar VAR_MOVEMENT
special UpdatePlayerSprite
--- a/engine/events/kurt.asm
+++ b/engine/events/kurt.asm
@@ -87,7 +87,7 @@
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
--- a/mobile/mobile_40.asm
+++ b/mobile/mobile_40.asm
@@ -1870,7 +1870,7 @@
ld bc, NUM_MOVES
call CopyBytes
ld a, SCREEN_WIDTH * 2
- ld [wBuffer1], a
+ ld [wListMovesLineSpacing], a
hlcoord 2, 10
predef ListMoves
ret
--- a/mobile/mobile_41.asm
+++ b/mobile/mobile_41.asm
@@ -37,7 +37,7 @@
ret
ld a, BANK(sTrainerRankingLongestMagikarp)
call OpenSRAM
- ld de, wBuffer1
+ ld de, wMagikarpLength
ld hl, sTrainerRankingLongestMagikarp
; Is this Magikarp the longest measured?