mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
No wCurMove alias for wCurSpecies
This commit is contained in:
parent
b5a9e83a94
commit
1d96a79a37
@ -3583,7 +3583,7 @@ UpdateMoveData:
|
||||
|
||||
ld a, BATTLE_VARS_MOVE
|
||||
call GetBattleVar
|
||||
ld [wCurMove], a
|
||||
ld [wCurSpecies], a
|
||||
ld [wNamedObjectIndexBuffer], a
|
||||
|
||||
dec a
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user