2018-12-24 20:59:05 +00:00
|
|
|
#ifndef GUARD_FLDEFF_H
|
|
|
|
#define GUARD_FLDEFF_H
|
|
|
|
|
|
|
|
// cut
|
|
|
|
bool8 SetUpFieldMove_Cut(void);
|
|
|
|
bool8 FldEff_UseCutOnGrass(void);
|
|
|
|
bool8 FldEff_UseCutOnTree(void);
|
|
|
|
bool8 FldEff_CutGrass(void);
|
2018-12-28 17:18:23 +00:00
|
|
|
void FixLongGrassMetatilesWindowTop(s16 x, s16 y);
|
|
|
|
void FixLongGrassMetatilesWindowBottom(s16 x, s16 y);
|
2018-12-24 20:59:05 +00:00
|
|
|
|
2020-07-02 08:59:52 +00:00
|
|
|
extern const struct SpritePalette gSpritePalette_CutGrass;
|
2019-04-02 00:30:41 +00:00
|
|
|
extern struct MapPosition gPlayerFacingPosition;
|
2018-12-24 20:59:05 +00:00
|
|
|
|
|
|
|
// escalator
|
2020-06-19 23:58:56 +00:00
|
|
|
void StartEscalator(bool8 var);
|
|
|
|
void StopEscalator(void);
|
|
|
|
bool8 IsEscalatorMoving(void);
|
2018-12-24 20:59:05 +00:00
|
|
|
|
|
|
|
// soft-boiled
|
|
|
|
bool8 SetUpFieldMove_SoftBoiled(void);
|
2019-10-17 23:22:03 +00:00
|
|
|
void Task_TryUseSoftboiledOnPartyMon(u8 taskId);
|
|
|
|
void ChooseMonForSoftboiled(u8 taskId);
|
2018-12-24 20:59:05 +00:00
|
|
|
|
|
|
|
// flash
|
|
|
|
bool8 SetUpFieldMove_Flash(void);
|
2019-09-10 17:40:28 +00:00
|
|
|
void CB2_DoChangeMap(void);
|
2022-06-01 16:41:57 +00:00
|
|
|
bool8 GetMapPairFadeToType(u8 _fromType, u8 _toType);
|
|
|
|
bool8 GetMapPairFadeFromType(u8 _fromType, u8 _toType);
|
2018-12-24 20:59:05 +00:00
|
|
|
|
|
|
|
// strength
|
|
|
|
bool8 SetUpFieldMove_Strength(void);
|
2020-07-02 08:59:52 +00:00
|
|
|
bool8 FldEff_UseStrength(void);
|
2018-12-24 20:59:05 +00:00
|
|
|
|
|
|
|
// sweet scent
|
|
|
|
bool8 SetUpFieldMove_SweetScent(void);
|
|
|
|
bool8 FldEff_SweetScent(void);
|
|
|
|
|
|
|
|
// teleport
|
|
|
|
bool8 SetUpFieldMove_Teleport(void);
|
|
|
|
bool8 FldEff_UseTeleport(void);
|
|
|
|
|
|
|
|
// dig
|
|
|
|
bool8 SetUpFieldMove_Dig(void);
|
|
|
|
bool8 FldEff_UseDig(void);
|
|
|
|
|
|
|
|
// rock smash
|
|
|
|
bool8 CheckObjectGraphicsInFrontOfPlayer(u8 graphicsId);
|
2020-06-19 23:58:56 +00:00
|
|
|
u8 CreateFieldMoveTask(void);
|
2018-12-24 20:59:05 +00:00
|
|
|
bool8 SetUpFieldMove_RockSmash(void);
|
|
|
|
bool8 FldEff_UseRockSmash(void);
|
|
|
|
|
|
|
|
#endif // GUARD_FLDEFF_H
|