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
|
ld a, BATTLE_VARS_MOVE
|
||||||
call GetBattleVar
|
call GetBattleVar
|
||||||
ld [wCurMove], a
|
ld [wCurSpecies], a
|
||||||
ld [wNamedObjectIndexBuffer], a
|
ld [wNamedObjectIndexBuffer], a
|
||||||
|
|
||||||
dec a
|
dec a
|
||||||
|
@ -27,7 +27,7 @@ MoveDeletion:
|
|||||||
jr c, .declined
|
jr c, .declined
|
||||||
ld a, [wMenuCursorY]
|
ld a, [wMenuCursorY]
|
||||||
push af
|
push af
|
||||||
ld a, [wCurMove]
|
ld a, [wCurSpecies]
|
||||||
ld [wNamedObjectIndexBuffer], a
|
ld [wNamedObjectIndexBuffer], a
|
||||||
call GetMoveName
|
call GetMoveName
|
||||||
ld hl, .ConfirmDeleteText
|
ld hl, .ConfirmDeleteText
|
||||||
|
@ -1724,7 +1724,7 @@ PrepareToPlaceMoveData:
|
|||||||
ld b, $0
|
ld b, $0
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
ld [wCurMove], a
|
ld [wCurSpecies], a
|
||||||
hlcoord 1, 12
|
hlcoord 1, 12
|
||||||
lb bc, 5, 18
|
lb bc, 5, 18
|
||||||
jp ClearBox
|
jp ClearBox
|
||||||
@ -1741,11 +1741,11 @@ PlaceMoveData:
|
|||||||
hlcoord 12, 12
|
hlcoord 12, 12
|
||||||
ld de, String_MoveAtk
|
ld de, String_MoveAtk
|
||||||
call PlaceString
|
call PlaceString
|
||||||
ld a, [wCurMove]
|
ld a, [wCurSpecies]
|
||||||
ld b, a
|
ld b, a
|
||||||
hlcoord 2, 12
|
hlcoord 2, 12
|
||||||
predef PrintMoveType
|
predef PrintMoveType
|
||||||
ld a, [wCurMove]
|
ld a, [wCurSpecies]
|
||||||
dec a
|
dec a
|
||||||
ld hl, Moves + MOVE_POWER
|
ld hl, Moves + MOVE_POWER
|
||||||
ld bc, MOVE_LENGTH
|
ld bc, MOVE_LENGTH
|
||||||
|
Loading…
Reference in New Issue
Block a user