From cb5e3378de0582217cdb308d33cee7afb4d7cb89 Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 22 Jan 2018 16:23:34 -0500 Subject: [PATCH] Move type data to data/types/ --- constants/type_constants.asm | 3 ++- data/{battle => types}/type_boost_items.asm | 0 data/{battle => types}/type_matchups.asm | 0 engine/battle/effect_commands.asm | 4 ++-- 4 files changed, 4 insertions(+), 3 deletions(-) rename data/{battle => types}/type_boost_items.asm (100%) rename data/{battle => types}/type_matchups.asm (100%) diff --git a/constants/type_constants.asm b/constants/type_constants.asm index 6587c3a70..c3524e9d9 100644 --- a/constants/type_constants.asm +++ b/constants/type_constants.asm @@ -2,7 +2,8 @@ ; also used in: ; - PokedexTypeSearchConversionTable (see data/types/search_types.asm) ; - PokedexTypeSearchStrings (see data/types/search_strings.asm) -; - TypeMatchups (see data/battle/type_matchups.asm) +; - TypeMatchups (see data/types/type_matchups.asm) +; - TypeBoostItems (see data/types/type_boost_items.asm) const_def PHYSICAL EQU const_value diff --git a/data/battle/type_boost_items.asm b/data/types/type_boost_items.asm similarity index 100% rename from data/battle/type_boost_items.asm rename to data/types/type_boost_items.asm diff --git a/data/battle/type_matchups.asm b/data/types/type_matchups.asm similarity index 100% rename from data/battle/type_matchups.asm rename to data/types/type_matchups.asm diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm index c1bc3752a..ba4dc72f8 100644 --- a/engine/battle/effect_commands.asm +++ b/engine/battle/effect_commands.asm @@ -1639,7 +1639,7 @@ BattleCommand_ResetTypeMatchup: ; 34833 INCLUDE "engine/battle/ai/switch.asm" -INCLUDE "data/battle/type_matchups.asm" +INCLUDE "data/types/type_matchups.asm" BattleCommand_DamageVariation: ; 34cfd ; damagevariation @@ -3642,7 +3642,7 @@ BattleCommand_DamageCalc: ; 35612 ; 35703 -INCLUDE "data/battle/type_boost_items.asm" +INCLUDE "data/types/type_boost_items.asm" BattleCommand_ConstantDamage: ; 35726