Fewer uses of 'Thing2 - Thing1' for sizeof(Thing)

This commit is contained in:
Rangi
2018-07-16 15:58:07 -04:00
parent d9b44d4423
commit b23f0b2bda
6 changed files with 22 additions and 27 deletions

View File

@@ -2039,7 +2039,7 @@ CheckTimeCapsuleCompatibility:
jr nc, .move_too_new
dec c
jr nz, .move_next
ld de, wPartyMon2 - (wPartyMon1 + NUM_MOVES)
ld de, PARTYMON_STRUCT_LENGTH - NUM_MOVES
add hl, de
dec b
jr nz, .move_loop