diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/constants/flags.h | 2 | ||||
| -rw-r--r-- | include/constants/movement_commands.h | 117 | ||||
| -rw-r--r-- | include/vs_seeker.h | 28 | 
3 files changed, 121 insertions, 26 deletions
| diff --git a/include/constants/flags.h b/include/constants/flags.h index e74ef1ef0..ac9730884 100644 --- a/include/constants/flags.h +++ b/include/constants/flags.h @@ -1,6 +1,8 @@  #ifndef GUARD_CONSTANTS_FLAGS_H  #define GUARD_CONSTANTS_FLAGS_H +// TODO: Get correct names and numbers +  #define FLAG_0x001               0x1  #define FLAG_0x002               0x2  #define FLAG_0x003               0x3 diff --git a/include/constants/movement_commands.h b/include/constants/movement_commands.h new file mode 100644 index 000000000..0451e16b7 --- /dev/null +++ b/include/constants/movement_commands.h @@ -0,0 +1,117 @@ +#ifndef GUARD_CONSTANTS_MOVEMENT_COMMANDS_H +#define GUARD_CONSTANTS_MOVEMENT_COMMANDS_H + +enum +{ +    step_00, +    step_01, +    step_02, +    step_03, +    slow_step_down, +    slow_step_up, +    slow_step_left, +    slow_step_right, +    step_down, +    step_up, +    step_left, +    step_right, +    fast_step_down, +    fast_step_up, +    fast_step_left, +    fast_step_right, +    step_10, +    step_11, +    step_12, +    step_13, +    step_14, +    step_15, +    step_16, +    step_17, +    step_18, +    step_19, +    step_1a, +    step_1b, +    step_1c, +    step_1d, +    step_1e, +    step_1f, +    step_20, +    step_21, +    step_22, +    step_23, +    step_24, +    step_25, +    step_26, +    step_27, +    step_28, +    step_29, +    step_2a, +    step_2b, +    step_2c, +    step_2d, +    step_2e, +    step_2f, +    step_30, +    step_31, +    step_32, +    step_33, +    step_34, +    step_35, +    step_36, +    step_37, +    step_38, +    step_39, +    step_3a, +    step_3b, +    step_3c, +    step_3d, +    step_3e, +    step_3f, +    step_40, +    step_41, +    step_42, +    step_43, +    step_44, +    step_45, +    step_46, +    step_47, +    step_48, +    step_49, +    step_4a, +    step_4b, +    step_4c, +    step_4d, +    step_4e, +    step_4f, +    step_50, +    step_51, +    step_52, +    step_53, +    step_54, +    step_55, +    step_56, +    step_57, +    step_58, +    step_59, +    step_5a, +    step_5b, +    step_5c, +    step_5d, +    step_5e, +    step_5f, +    step_60, +    step_61, +    step_62, +    step_63, +    step_64, +    step_65, + +    step_91 = 0x91, +    step_92, + +    step_96 = 0x96, + +    step_end = 0xfe, +}; + +#endif //GUARD_CONSTANTS_MOVEMENT_COMMANDS_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 | 
