mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 12:14:20 +01:00
27 lines
459 B
C
27 lines
459 B
C
#ifndef GUARD_FIELDDOOR_H
|
|
#define GUARD_FIELDDOOR_H
|
|
|
|
struct DoorGraphics
|
|
{
|
|
u16 metatileNum;
|
|
u8 sound;
|
|
u8 size;
|
|
const void *tiles;
|
|
const void *palette;
|
|
};
|
|
|
|
struct DoorAnimFrame
|
|
{
|
|
u8 time;
|
|
u16 offset;
|
|
};
|
|
|
|
void FieldSetDoorOpened(u32, u32);
|
|
void FieldSetDoorClosed(u32, u32);
|
|
s8 FieldAnimateDoorClose(u32, u32);
|
|
s8 FieldAnimateDoorOpen(u32, u32);
|
|
bool8 FieldIsDoorAnimationRunning(void);
|
|
u32 GetDoorSoundEffect(u32 x, u32 y);
|
|
|
|
#endif
|