summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Calixte <remicalixte.rmc@gmail.com>2021-03-16 18:26:05 +0100
committerRémi Calixte <remicalixte.rmc@gmail.com>2021-03-16 18:26:05 +0100
commit6f4ef01cefe01b5c02e963c842f9f1515e12a5dc (patch)
tree687e3b20899f01884b3053ec9af9556c28041bc8
parent7da64ed729153ceb36a639365de5ae183257426a (diff)
header weirdness
-rw-r--r--arm9/modules/52/include/module_52.h4
-rw-r--r--include/event_data.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/arm9/modules/52/include/module_52.h b/arm9/modules/52/include/module_52.h
index 46caf4e9..4c47a82d 100644
--- a/arm9/modules/52/include/module_52.h
+++ b/arm9/modules/52/include/module_52.h
@@ -2,7 +2,6 @@
#define POKEDIAMOND_MODULE_52_H
#include "global.h"
-#include "save_block_2.h"
#include "event_data.h"
#include "main.h"
#include "math_util.h"
@@ -10,6 +9,7 @@
#include "overlay_manager.h"
#include "player_data.h"
#include "sav_system_info.h"
+#include "save_block_2.h"
#include "unk_02024E64.h"
#include "unk_020286F8.h"
@@ -39,4 +39,4 @@ struct MOD52_Struct
u32 terminator;
};
-#endif //POKEDIAMOND_MODULE_52_H \ No newline at end of file
+#endif // POKEDIAMOND_MODULE_52_H \ No newline at end of file
diff --git a/include/event_data.h b/include/event_data.h
index e1d46348..1f0f090a 100644
--- a/include/event_data.h
+++ b/include/event_data.h
@@ -1,6 +1,8 @@
#ifndef GUARD_SCRIPT_STATE_H
#define GUARD_SCRIPT_STATE_H
+#include "save_block_2.h"
+
struct ScriptState
{
u16 vars[288];