summaryrefslogtreecommitdiff
path: root/src/daycare.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-04-07 22:49:37 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2018-04-07 22:49:37 -0400
commit83bb25e7af1837d41177d84f1b03d83b42b9478c (patch)
tree291c3d1502ba75445aad0aa95b9fc68f88b7bf97 /src/daycare.c
parent978bdaaa050420289374ddc23aa0017df06e4000 (diff)
through DebugMenu_807786C; use macro NAKED instead of __attribute__((naked))
Diffstat (limited to 'src/daycare.c')
-rw-r--r--src/daycare.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/daycare.c b/src/daycare.c
index e26db531f..a77b6c5f5 100644
--- a/src/daycare.c
+++ b/src/daycare.c
@@ -592,7 +592,7 @@ void BuildEggMoveset(struct Pokemon *egg, struct BoxPokemon *father, struct BoxP
}
}
#else
-__attribute__((naked))
+NAKED
void BuildEggMoveset(struct Pokemon *egg, struct BoxPokemon *father, struct BoxPokemon *mother)
{
asm_unified("\tpush {r4-r7,lr}\n"
@@ -1119,7 +1119,7 @@ static bool8 _ShouldEggHatch(struct DayCare *daycare)
return FALSE;
}
#else
-__attribute__((naked))
+NAKED
static bool8 _ShouldEggHatch(struct DayCare *daycare)
{
asm_unified("\tpush {r4-r7,lr}\n"
@@ -1398,7 +1398,7 @@ static u8 GetDaycareCompatibilityScore(struct DayCare *daycare)
}
}
#else
-__attribute__((naked))
+NAKED
static u8 GetDaycareCompatibilityScore(struct DayCare *daycare)
{
asm_unified("\tpush {r4-r7,lr}\n"