pokeemerald/include/union_room_player_avatar.h

15 lines
757 B
C
Raw Normal View History

2019-04-01 20:20:34 +02:00
#ifndef GUARD_UNION_ROOM_PLAYER_AVATAR_H
#define GUARD_UNION_ROOM_PLAYER_AVATAR_H
2020-06-01 16:23:12 +02:00
u8 InitUnionRoomPlayerObjects(struct UnionRoomObject *players);
void DestroyUnionRoomPlayerObjects(void);
void CreateUnionRoomPlayerSprites(u8 *spriteIds, s32 playerIdx);
void DestroyUnionRoomPlayerSprites(u8 *spriteIds);
2020-06-01 16:23:12 +02:00
void SetTilesAroundUnionRoomPlayersPassable(void);
void ScheduleUnionRoomPlayerRefresh(struct WirelessLink_URoom *uroom);
void HandleUnionRoomPlayerRefresh(struct WirelessLink_URoom *uroom);
bool32 TryInteractWithUnionRoomMember(struct RfuPlayerList *main0, s16 *directionPtr, s16 *playerIdxPtr, u8 *spriteIds);
void UpdateUnionRoomMemberFacing(u32 currDirection, u32 playerIdx, struct RfuPlayerList *main0);
2019-04-01 20:20:34 +02:00
#endif //GUARD_UNION_ROOM_PLAYER_AVATAR_H