mirror of
https://github.com/pret/pokeheartgold.git
synced 2026-06-02 21:54:45 -05:00
70 lines
3.1 KiB
C
70 lines
3.1 KiB
C
#ifndef POKEHEARTGOLD_OVERLAY_01_H
|
|
#define POKEHEARTGOLD_OVERLAY_01_H
|
|
|
|
#include "script.h"
|
|
#include "unk_0206793C.h"
|
|
|
|
//todo: split
|
|
|
|
struct ErrorContinueEnv {
|
|
int unk0;
|
|
Location location;
|
|
};
|
|
|
|
struct FishingRodWork;
|
|
|
|
// TODO: does this struct have more members?
|
|
struct UnkStruct_Ov01_021EF4C4 {
|
|
u8 textFrameDelay;
|
|
u8 unk1;
|
|
u8 unk2;
|
|
};
|
|
|
|
struct UnkStruct_ov01_021EDC28;
|
|
|
|
void ov01_021E636C(int a0);
|
|
void ov01_021EFAF8(FieldSystem *fsys);
|
|
void ov01_PlayerAvatar_OrrTransitionFlags(FIELD_PLAYER_AVATAR *avatar, int a1);
|
|
void ov01_PlayerAvatar_ApplyTransitionFlags(FIELD_PLAYER_AVATAR *avatar);
|
|
void ov01_021F35C4(FieldSystem *fsys, int a1, int *a2);
|
|
u32 GetHoneySweetScentWorkSize(void);
|
|
BOOL Task_HoneyOrSweetScent(TaskManager *taskManager);
|
|
BOOL Task_OverworldFish(TaskManager *taskManager);
|
|
struct FishingRodWork *CreateFishingRodTaskEnv(FieldSystem *fsys, HeapID heapId, int rod);
|
|
void ov01_021F4440(FieldSystem *fsys);
|
|
void ov01_021F6A9C(FieldSystem *fsys, HeapID heapId, int a2);
|
|
int ov01_021F6B00(FieldSystem *fsys);
|
|
BOOL ov01_021F6B10(FieldSystem *fsys);
|
|
UnkStruct_0206793C *ov01_0220329C(LocalMapObject *obj, int a1);
|
|
void ov01_02205790(FieldSystem *fsys, u8 a1);
|
|
BOOL ov01_022057C4(FieldSystem *fsys);
|
|
void ov01_02205D68(FieldSystem *fsys);
|
|
BOOL Field_PlayerCanStartSurfingByStandingAndFacingTileBehaviors(FIELD_PLAYER_AVATAR *fieldPlayerAvatar, int standingTile, int facingTile);
|
|
BOOL MetatileBehavior_IsRockClimbInDirection(int facingTile, int facingDirection);
|
|
BOOL FieldSys_FacingModelIsHeadbuttTree(FieldSystem *fsys);
|
|
BOOL Task_UseSweetScentInField(TaskManager *taskManager);
|
|
BOOL ov01_021EF348(SCRIPTCONTEXT* ctx);
|
|
void ov01_021EF4C4(struct UnkStruct_Ov01_021EF4C4*, SCRIPTCONTEXT* ctx);
|
|
void ov01_021EF4DC(SCRIPTCONTEXT* ctx, MSGDATA* msg_data, u8 msg_no, BOOL can_ab_speed_up, struct UnkStruct_Ov01_021EF4C4*);
|
|
void ov01_021F3D68(struct FieldSystemUnkSub68*, u8, u16);
|
|
void ov01_021F3D70(struct FieldSystemUnkSub68*, u8);
|
|
WINDOW* ov01_021F3D80(struct FieldSystemUnkSub68*);
|
|
u8 ov01_021F3D84(struct FieldSystemUnkSub68*);
|
|
BOOL ov01_021F3D88(struct FieldSystemUnkSub68*);
|
|
void ov01_021F3D98(FieldSystem* fsys);
|
|
struct UnkStruct_ov01_021EDC28 *ov01_021EDF78(FieldSystem *fsys, u8 x, u8 y, u8 initCursorPos, u8 cancellable, u16 *ret_p, MSGFMT *msgFmt, WINDOW *window, MSGDATA *msgData);
|
|
void ov01_021EDC7C(struct UnkStruct_ov01_021EDC28 *menu, u32 msgId, u32 value);
|
|
void ov01_021EDC84(struct UnkStruct_ov01_021EDC28 *menu);
|
|
void ov01_021EDF38(struct UnkStruct_ov01_021EDC28 *menu);
|
|
void ov01_021EE014(struct UnkStruct_ov01_021EDC28 *menu, u16 a1);
|
|
void ov01_021EE0EC(struct UnkStruct_ov01_021EDC28 *menu, u16 *a1, u16 *a2);
|
|
void ov01_021EDFA4(struct UnkStruct_ov01_021EDC28 *menu);
|
|
void ov01_021EE974(struct UnkStruct_ov01_021EDC28 *menu, u8 a1);
|
|
void ov01_021EF018(struct UnkStruct_ov01_021EDC28 *menu, u8 a1);
|
|
void ov01_021EF034(struct UnkStruct_ov01_021EDC28 *menu, u8 a1);
|
|
void MoveTutorMenu_SetListItem(struct UnkStruct_ov01_021EDC28 *menu, u8 a1, u8 a2, u8 a3);
|
|
void ov01_021F7704(LocalMapObject *object);
|
|
void ov01_021F62E8(VecFx32 *vec, FsysUnkSub2C *a1);
|
|
|
|
#endif //POKEHEARTGOLD_OVERLAY_01_H
|