From fbe82a7fe0f310ade7436d4d8f352ee04e05a1ec Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 12 Jun 2018 23:29:15 -0400 Subject: Note which labels are only needed for locating banks (relevant to issue #485) --- engine/battle/ai/scoring.asm | 2 +- engine/battle/core.asm | 2 +- engine/battle/effect_commands.asm | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'engine/battle') diff --git a/engine/battle/ai/scoring.asm b/engine/battle/ai/scoring.asm index 567737c1f..d000fab5f 100644 --- a/engine/battle/ai/scoring.asm +++ b/engine/battle/ai/scoring.asm @@ -1,4 +1,4 @@ -AIScoring: ; 38591 +AIScoring: ; used only for BANK(AIScoring) AI_Basic: ; 38591 ; Don't do anything redundant: diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 3055f4e90..f7e461c80 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -1,5 +1,5 @@ ; Core components of the battle engine. -BattleCore: + DoBattle: ; 3c000 xor a ld [wBattleParticipantsNotFainted], a diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm index 2723bba6b..ff114d870 100644 --- a/engine/battle/effect_commands.asm +++ b/engine/battle/effect_commands.asm @@ -7394,7 +7394,7 @@ PlayOpponentBattleAnim: ; 37e54 CallBattleCore: ; 37e73 - ld a, BANK(BattleCore) + ld a, BANK("Battle Core") rst FarCall ret @@ -7467,7 +7467,7 @@ GetMoveData: ; 37ead ld hl, Moves ld bc, MOVE_LENGTH call AddNTimes - ld a, Bank(Moves) + ld a, BANK(Moves) jp FarCopyBytes ; 37ebb -- cgit v1.2.3