diff options
author | yenatch <yenatch@gmail.com> | 2017-06-16 23:59:58 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2017-06-16 23:59:58 -0400 |
commit | 8b97aa28047d5bbc24448b47cbda901a3adb9d0e (patch) | |
tree | 9e9a793c7dc9a4af7992e6b65c0418d16b25a400 /src/time_events.c | |
parent | dda361afb7e2abafc15a498968580be6d1a83cfe (diff) | |
parent | f568060cae85a1e8c70a0216ea5d1c6e79d6a528 (diff) |
Merge remote-tracking branch 'marijn/clean/headers'
Diffstat (limited to 'src/time_events.c')
-rw-r--r-- | src/time_events.c | 8 |
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); |