Identify some values as relative struct offsets in MoveScreenLoop

This commit is contained in:
Rangi 2020-10-14 18:32:41 -04:00
parent 80f7504f49
commit 406ac7afbb

View File

@ -1016,19 +1016,19 @@ MoveScreenLoop:
push hl
call .copy_move
pop hl
ld bc, $15
ld bc, wPartyMon1PP - wPartyMon1Moves
add hl, bc
call .copy_move
ld a, [wBattleMode]
jr z, .swap_moves
ld hl, wBattleMonMoves
ld bc, $20
ld bc, wBattleMonStructEnd - wBattleMon
ld a, [wCurPartyMon]
call AddNTimes
push hl
call .copy_move
pop hl
ld bc, 6
ld bc, wBattleMonPP - wBattleMonMoves
add hl, bc
call .copy_move