Get pokefirered_modern to build

This commit is contained in:
PikalaxALT
2020-04-04 12:58:08 -04:00
parent c47eca8a18
commit cc3419eff7
18 changed files with 604 additions and 114 deletions
+4
View File
@@ -50,6 +50,10 @@
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) >= (b) ? (a) : (b))
#if MODERN
#define abs(x) (((x) < 0) ? -(x) : (x))
#endif
// There are many quirks in the source code which have overarching behavioral differences from
// a number of other files. For example, diploma.c seems to declare rodata before each use while
// other files declare out of order and must be at the beginning. There are also a number of