From 43a0915d90b8c53c3e1fc8141e3c3d6376e18293 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 6 Oct 2018 16:16:33 -0400 Subject: through sub_810C760 --- include/vs_seeker.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/vs_seeker.h (limited to 'include/vs_seeker.h') diff --git a/include/vs_seeker.h b/include/vs_seeker.h new file mode 100644 index 000000000..6db741a11 --- /dev/null +++ b/include/vs_seeker.h @@ -0,0 +1,13 @@ +#ifndef GUARD_VS_SEEKER_H +#define GUARD_VS_SEEKER_H + +#include "global.h" + +struct VsSeekerStruct +{ + /*0x000*/ u8 filler_00[0x431]; + /*0x431*/ u8 unk_431_0:3; + u8 unk_431_3:5; +}; + +#endif //GUARD_VS_SEEKER_H -- cgit v1.2.3 From 53b701c9effd24ec19e1e0dbeb5f411b0674a95d Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 6 Oct 2018 17:23:14 -0400 Subject: sub_810C808 --- include/vs_seeker.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'include/vs_seeker.h') diff --git a/include/vs_seeker.h b/include/vs_seeker.h index 6db741a11..e01713f49 100644 --- a/include/vs_seeker.h +++ b/include/vs_seeker.h @@ -3,9 +3,21 @@ #include "global.h" +struct VsSeekerSubstruct +{ + const u8 *unk_0; + u16 unk_4; + u8 unk_6; + u8 unk_7; + u16 unk_8; + u16 unk_a; + u8 unk_c; +}; + struct VsSeekerStruct { - /*0x000*/ u8 filler_00[0x431]; + /*0x000*/ struct VsSeekerSubstruct unk_000[MAP_OBJECTS_COUNT]; + /*0x100*/ u8 filler_100[0x331]; /*0x431*/ u8 unk_431_0:3; u8 unk_431_3:5; }; -- cgit v1.2.3 From b09d7508d0064ec1d2fe490923d5acc8b272ed27 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 6 Oct 2018 22:00:21 -0400 Subject: sub_810C9A8 --- include/vs_seeker.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'include/vs_seeker.h') diff --git a/include/vs_seeker.h b/include/vs_seeker.h index e01713f49..d79035576 100644 --- a/include/vs_seeker.h +++ b/include/vs_seeker.h @@ -17,8 +17,13 @@ struct VsSeekerSubstruct struct VsSeekerStruct { /*0x000*/ struct VsSeekerSubstruct unk_000[MAP_OBJECTS_COUNT]; - /*0x100*/ u8 filler_100[0x331]; - /*0x431*/ u8 unk_431_0:3; + /*0x100*/ u8 filler_100[0x300]; + /*0x400*/ u16 unk_400[0x10]; + /*0x420*/ u8 unk_420[0x10]; + /*0x430*/ u8 unk_430; + /*0x431*/ u8 unk_431_0:1; + /*0x431*/ u8 unk_431_1:1; + /*0x431*/ u8 unk_431_2:1; u8 unk_431_3:5; }; -- cgit v1.2.3 From 88c181a6b08d0b792e1a0c55f1ac010f80373d11 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Mon, 8 Oct 2018 21:49:28 -0400 Subject: through sub_810D0FC --- include/vs_seeker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/vs_seeker.h') diff --git a/include/vs_seeker.h b/include/vs_seeker.h index d79035576..e69a80dba 100644 --- a/include/vs_seeker.h +++ b/include/vs_seeker.h @@ -9,8 +9,8 @@ struct VsSeekerSubstruct u16 unk_4; u8 unk_6; u8 unk_7; - u16 unk_8; - u16 unk_a; + s16 unk_8; + s16 unk_a; u8 unk_c; }; -- cgit v1.2.3 From 760d339c3b810fa13ff74b5d3a4d39cb30bc8f23 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Tue, 9 Oct 2018 10:17:08 -0400 Subject: Assign static qualifiers --- include/vs_seeker.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/vs_seeker.h') diff --git a/include/vs_seeker.h b/include/vs_seeker.h index e69a80dba..cf7dbf5ab 100644 --- a/include/vs_seeker.h +++ b/include/vs_seeker.h @@ -27,4 +27,12 @@ struct VsSeekerStruct u8 unk_431_3:5; }; +void sub_810C670(u8 taskId); +void sub_810CB90(void); +void sub_810CDE8(void); +int sub_810CE64(u16 a0); +bool8 sub_810CF04(u8 a0); +u8 sub_810CF54(struct MapObjectTemplate *); +void sub_810D0D0(void); + #endif //GUARD_VS_SEEKER_H -- cgit v1.2.3 From 46e957bacd9ba5538262c89bb87e1915167bb201 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Tue, 9 Oct 2018 15:37:50 -0400 Subject: Name many functions and objects in vs_seeker.c --- include/vs_seeker.h | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) (limited to 'include/vs_seeker.h') diff --git a/include/vs_seeker.h b/include/vs_seeker.h index cf7dbf5ab..efc014a4a 100644 --- a/include/vs_seeker.h +++ b/include/vs_seeker.h @@ -3,36 +3,12 @@ #include "global.h" -struct VsSeekerSubstruct -{ - const u8 *unk_0; - u16 unk_4; - u8 unk_6; - u8 unk_7; - s16 unk_8; - s16 unk_a; - u8 unk_c; -}; - -struct VsSeekerStruct -{ - /*0x000*/ struct VsSeekerSubstruct unk_000[MAP_OBJECTS_COUNT]; - /*0x100*/ u8 filler_100[0x300]; - /*0x400*/ u16 unk_400[0x10]; - /*0x420*/ u8 unk_420[0x10]; - /*0x430*/ u8 unk_430; - /*0x431*/ u8 unk_431_0:1; - /*0x431*/ u8 unk_431_1:1; - /*0x431*/ u8 unk_431_2:1; - u8 unk_431_3:5; -}; - -void sub_810C670(u8 taskId); +void Task_VsSeeker_0(u8 taskId); void sub_810CB90(void); void sub_810CDE8(void); int sub_810CE64(u16 a0); bool8 sub_810CF04(u8 a0); -u8 sub_810CF54(struct MapObjectTemplate *); +u8 sub_810CF54(); void sub_810D0D0(void); #endif //GUARD_VS_SEEKER_H -- cgit v1.2.3