summaryrefslogtreecommitdiff
path: root/src/frontier_util.c
diff options
context:
space:
mode:
authorThomas Winwood <twwinwood@gmail.com>2020-09-02 14:49:04 +0100
committerThomas Winwood <twwinwood@gmail.com>2020-09-02 14:49:04 +0100
commita529bcf0b696eaad60806a676397aac7ca9226d1 (patch)
tree0fab7b15f1a9999e524f59e90349967ea33dde0c /src/frontier_util.c
parent4ad147f75dcc25656a017731ebc72fe631a12955 (diff)
Tidy up naked functions
Diffstat (limited to 'src/frontier_util.c')
-rw-r--r--src/frontier_util.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/frontier_util.c b/src/frontier_util.c
index c741a64fe..3e7fecb48 100644
--- a/src/frontier_util.c
+++ b/src/frontier_util.c
@@ -2539,8 +2539,8 @@ void CreateFrontierBrainPokemon(void)
NAKED
void CreateFrontierBrainPokemon(void)
{
- asm_unified("\n\
- push {r4-r7,lr}\n\
+ asm_unified(
+ "push {r4-r7,lr}\n\
mov r7, r10\n\
mov r6, r9\n\
mov r5, r8\n\
@@ -2768,8 +2768,7 @@ _081A4FD0:\n\
pop {r4-r7}\n\
pop {r0}\n\
bx r0\n\
- .pool\n\
-");
+ .pool");
}
#endif