summaryrefslogtreecommitdiff
path: root/src/time_events.c
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2017-06-28 17:37:17 -0400
committerscnorton <scnorton@biociphers.org>2017-06-28 17:37:17 -0400
commit26a48d7e926d3c7841a28b2af8cbbd170923469e (patch)
treefa83e9a7105769c66e3a66b3c6871984293db329 /src/time_events.c
parent39efcb2a6d169fba0ff33f1bd25e2947b74881a0 (diff)
parent06b6cada0ddedc62063171703ba6607019751a9a (diff)
Merge branch 'master' into use_pokeblock
Diffstat (limited to 'src/time_events.c')
-rw-r--r--src/time_events.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/time_events.c b/src/time_events.c
index 8cbf52a1a..e1b9a2e9e 100644
--- a/src/time_events.c
+++ b/src/time_events.c
@@ -1,5 +1,7 @@
#include "global.h"
+#include "time_events.h"
#include "event_data.h"
+#include "field_weather.h"
#include "pokemon.h"
#include "rng.h"
#include "rom4.h"
@@ -7,16 +9,14 @@
#include "script.h"
#include "task.h"
-extern bool8 sub_807DDFC(void);
-
-u32 GetMirageRnd(void)
+static u32 GetMirageRnd(void)
{
u32 hi = VarGet(VAR_MIRAGE_RND_H);
u32 lo = VarGet(VAR_MIRAGE_RND_L);
return (hi << 16) | lo;
}
-void SetMirageRnd(u32 rnd)
+static void SetMirageRnd(u32 rnd)
{
VarSet(VAR_MIRAGE_RND_H, rnd >> 16);
VarSet(VAR_MIRAGE_RND_L, rnd);