From 49517aca9e96798c77ea3dae960f83de7f524bed Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Mon, 24 Dec 2018 22:19:40 +0100 Subject: [PATCH] make it compie hopefully --- include/field_specials.h | 4 ++++ src/clock.c | 3 ++- src/field_specials.c | 2 +- src/lilycove_lady.c | 4 +++- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/include/field_specials.h b/include/field_specials.h index 2b67c4ff71..7c29ecbadb 100644 --- a/include/field_specials.h +++ b/include/field_specials.h @@ -19,5 +19,9 @@ u8 GetSSTidalLocation(s8 *mapGroup, s8 *mapNum, s16 *x, s16 *y); void sub_813A128(void); void sub_813A878(u8 a0); u8 sub_813BADC(u8 a0); +bool8 sub_813B9C0(void); +void SetShoalItemFlag(u16 v0); +void UpdateFrontierManiac(u16 a0); +void UpdateFrontierGambler(u16 a0); #endif // GUARD_FIELD_SPECIALS_H diff --git a/src/clock.c b/src/clock.c index aea6c20881..2d4da92ab5 100644 --- a/src/clock.c +++ b/src/clock.c @@ -1,7 +1,8 @@ #include "global.h" -#include "rom6.h" #include "event_data.h" #include "rtc.h" +#include "time_events.h" +#include "field_specials.h" #include "lottery_corner.h" #include "dewford_trend.h" #include "tv.h" diff --git a/src/field_specials.c b/src/field_specials.c index 242dcfdb3d..5e1c86dfe2 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -3817,7 +3817,7 @@ void sub_813B9A0(void) } } -bool32 sub_813B9C0(void) +bool8 sub_813B9C0(void) { static const u16 gUnknown_085B3444[] = { MAP_OLDALE_TOWN_POKEMON_CENTER_1F, diff --git a/src/lilycove_lady.c b/src/lilycove_lady.c index 1012a8e087..3d4f8a90d2 100644 --- a/src/lilycove_lady.c +++ b/src/lilycove_lady.c @@ -5,7 +5,9 @@ #include "global.h" #include "main.h" #include "overworld.h" -#include "rom6.h" +#include "fldeff.h" +#include "field_specials.h" +#include "pokeblock.h" #include "event_data.h" #include "script.h" #include "random.h"