From 406ac7afbbf93161db1ade9706fc802a3bf97e5f Mon Sep 17 00:00:00 2001 From: Rangi Date: Wed, 14 Oct 2020 18:32:41 -0400 Subject: [PATCH] Identify some values as relative struct offsets in MoveScreenLoop --- engine/pokemon/mon_menu.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/pokemon/mon_menu.asm b/engine/pokemon/mon_menu.asm index 4cac6966c..95cfce2f8 100644 --- a/engine/pokemon/mon_menu.asm +++ b/engine/pokemon/mon_menu.asm @@ -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