mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Identify some values as relative struct offsets in MoveScreenLoop
This commit is contained in:
parent
80f7504f49
commit
406ac7afbb
@ -1016,19 +1016,19 @@ MoveScreenLoop:
|
|||||||
push hl
|
push hl
|
||||||
call .copy_move
|
call .copy_move
|
||||||
pop hl
|
pop hl
|
||||||
ld bc, $15
|
ld bc, wPartyMon1PP - wPartyMon1Moves
|
||||||
add hl, bc
|
add hl, bc
|
||||||
call .copy_move
|
call .copy_move
|
||||||
ld a, [wBattleMode]
|
ld a, [wBattleMode]
|
||||||
jr z, .swap_moves
|
jr z, .swap_moves
|
||||||
ld hl, wBattleMonMoves
|
ld hl, wBattleMonMoves
|
||||||
ld bc, $20
|
ld bc, wBattleMonStructEnd - wBattleMon
|
||||||
ld a, [wCurPartyMon]
|
ld a, [wCurPartyMon]
|
||||||
call AddNTimes
|
call AddNTimes
|
||||||
push hl
|
push hl
|
||||||
call .copy_move
|
call .copy_move
|
||||||
pop hl
|
pop hl
|
||||||
ld bc, 6
|
ld bc, wBattleMonPP - wBattleMonMoves
|
||||||
add hl, bc
|
add hl, bc
|
||||||
call .copy_move
|
call .copy_move
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user