summaryrefslogtreecommitdiff
path: root/src/battle/battle_ai_switch_items.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle/battle_ai_switch_items.c')
-rwxr-xr-xsrc/battle/battle_ai_switch_items.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle/battle_ai_switch_items.c b/src/battle/battle_ai_switch_items.c
index e01c7b729..4dd7614bf 100755
--- a/src/battle/battle_ai_switch_items.c
+++ b/src/battle/battle_ai_switch_items.c
@@ -107,7 +107,7 @@ static bool8 ShouldSwitchIfWonderGuard(void)
return FALSE; // at this point there is not a single pokemon in the party that has a super effective move against a pokemon with wonder guard
}
#else
-__attribute__((naked))
+NAKED
static bool8 ShouldSwitchIfWonderGuard(void)
{
asm(".syntax unified\n\