From a3162cb844dbbc6bbfd850163526c42cc0191d1c Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 11 Jun 2017 21:04:00 -0400 Subject: Finish FldEff_FieldMoveShowMon except solitary nonmatching function --- include/global.h | 8 ++++++++ 1 file changed, 8 insertions(+) mode change 100644 => 100755 include/global.h (limited to 'include/global.h') diff --git a/include/global.h b/include/global.h old mode 100644 new mode 100755 index 67a9548b6..13db2620f --- a/include/global.h +++ b/include/global.h @@ -12,6 +12,14 @@ #define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided\n") +#define nonmatching(fndec, x) {\ +__attribute__((naked))\ +fndec\ +{\ + asm_unified(x);\ +}\ +} + #define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0])) #define POKEMON_NAME_LENGTH 10 -- cgit v1.2.3