mirror of https://github.com/pret/pokecrystal.git
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
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue