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 ret
.UpdateCursor: .UpdateCursor:
ld hl, wCursorCurTile ld hl, wCursorCurrentTile
ld a, [hli] ld a, [hli]
ld h, [hl] ld h, [hl]
ld l, a ld l, a
@ -320,9 +320,9 @@ LinkTradeMenu:
pop hl pop hl
.cursor_already_there .cursor_already_there
ld a, l ld a, l
ld [wCursorCurTile], a ld [wCursorCurrentTile], a
ld a, h ld a, h
ld [wCursorCurTile + 1], a ld [wCursorCurrentTile + 1], a
ret ret
.TryAnims: .TryAnims:

View File

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

View File

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

View File

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

View File

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