wCursorCurTile -> wCursorCurrentTile

This commit is contained in:
Rangi 2018-09-09 17:15:49 -04:00
parent 603bcfe2ae
commit bb4a6e5f55
5 changed files with 14 additions and 14 deletions

View File

@ -250,7 +250,7 @@ LinkTradeMenu:
ret
.UpdateCursor:
ld hl, wCursorCurTile
ld hl, wCursorCurrentTile
ld a, [hli]
ld h, [hl]
ld l, a
@ -320,9 +320,9 @@ LinkTradeMenu:
pop hl
.cursor_already_there
ld a, l
ld [wCursorCurTile], a
ld [wCursorCurrentTile], a
ld a, h
ld [wCursorCurTile + 1], a
ld [wCursorCurrentTile + 1], a
ret
.TryAnims:

View File

@ -208,8 +208,8 @@ Init2DMenuCursorPosition:
ld [wMenuCursorY], a
xor a
ld [wCursorOffCharacter], a
ld [wCursorCurTile], a
ld [wCursorCurTile + 1], a
ld [wCursorCurrentTile], a
ld [wCursorCurrentTile + 1], a
ret
.InitFlags_a:
@ -493,7 +493,7 @@ _2DMenuInterpretJoypad:
ret
Move2DMenuCursor:
ld hl, wCursorCurTile
ld hl, wCursorCurrentTile
ld a, [hli]
ld h, [hl]
ld l, a
@ -549,9 +549,9 @@ Place2DMenuCursor:
.cursor_on
ld a, l
ld [wCursorCurTile], a
ld [wCursorCurrentTile], a
ld a, h
ld [wCursorCurTile + 1], a
ld [wCursorCurrentTile + 1], a
ret
_PushWindow::
@ -797,7 +797,7 @@ _InitVerticalMenuCursor::
; wMenuCursorX
ld a, 1
ld [hli], a
; wCursorOffCharacter, wCursorCurTile
; wCursorOffCharacter, wCursorCurrentTile
xor a
ld [hli], a
ld [hli], a

View File

@ -322,8 +322,8 @@ ScrollingMenu_InitFlags:
ld a, 1
ld [wMenuCursorX], a
xor a
ld [wCursorCurTile], a
ld [wCursorCurTile + 1], a
ld [wCursorCurrentTile], a
ld [wCursorCurrentTile + 1], a
ld [wCursorOffCharacter], a
ret

View File

@ -176,7 +176,7 @@ GetMenuJoypad::
ret
PlaceHollowCursor::
ld hl, wCursorCurTile
ld hl, wCursorCurrentTile
ld a, [hli]
ld h, [hl]
ld l, a
@ -184,7 +184,7 @@ PlaceHollowCursor::
ret
HideCursor::
ld hl, wCursorCurTile
ld hl, wCursorCurrentTile
ld a, [hli]
ld h, [hl]
ld l, a

View File

@ -1494,7 +1494,7 @@ w2DMenuDataEnd::
wMenuCursorY:: db ; cfa9
wMenuCursorX:: db ; cfaa
wCursorOffCharacter:: db ; cfab
wCursorCurTile:: dw ; cfac
wCursorCurrentTile:: dw ; cfac
ds 3