summaryrefslogtreecommitdiff
path: root/src/battle/battle_ai_switch_items.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-04-09 11:14:37 -0700
committerGitHub <noreply@github.com>2018-04-09 11:14:37 -0700
commit84c5825c8ecc9804313ec3b1a8dcc0271ee4c2cc (patch)
treec90f705e43f2b1728ed1e0400312b7d6c5c81c21 /src/battle/battle_ai_switch_items.c
parent562dcc4bcdc14d5b6c0bb2a638410156945cdd41 (diff)
parent91f869d1e6ed1ef12ad4b2255d3762e3b1b51429 (diff)
Merge pull request #589 from PikalaxALT/unk_debug_menu_3
Unk Debug Menu 3 and Start Menu Debug
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\