No wCurMove alias for wCurSpecies

This commit is contained in:
Rangi 2018-07-29 16:04:38 -04:00
parent b5a9e83a94
commit 1d96a79a37
4 changed files with 6 additions and 8 deletions

View File

@ -3583,7 +3583,7 @@ UpdateMoveData:
ld a, BATTLE_VARS_MOVE
call GetBattleVar
ld [wCurMove], a
ld [wCurSpecies], a
ld [wNamedObjectIndexBuffer], a
dec a

View File

@ -27,7 +27,7 @@ MoveDeletion:
jr c, .declined
ld a, [wMenuCursorY]
push af
ld a, [wCurMove]
ld a, [wCurSpecies]
ld [wNamedObjectIndexBuffer], a
call GetMoveName
ld hl, .ConfirmDeleteText

View File

@ -1724,7 +1724,7 @@ PrepareToPlaceMoveData:
ld b, $0
add hl, bc
ld a, [hl]
ld [wCurMove], a
ld [wCurSpecies], a
hlcoord 1, 12
lb bc, 5, 18
jp ClearBox
@ -1741,11 +1741,11 @@ PlaceMoveData:
hlcoord 12, 12
ld de, String_MoveAtk
call PlaceString
ld a, [wCurMove]
ld a, [wCurSpecies]
ld b, a
hlcoord 2, 12
predef PrintMoveType
ld a, [wCurMove]
ld a, [wCurSpecies]
dec a
ld hl, Moves + MOVE_POWER
ld bc, MOVE_LENGTH

View File

@ -1320,9 +1320,7 @@ wcf5d:: dw
wMonType:: db ; cf5f
wCurSpecies::
wCurMove::
db ; cf60
wCurSpecies:: db ; cf60
wNamedObjectTypeBuffer:: db