Conflicts: include/battle_anim.h include/battle_controllers.h include/battle_gfx_sfx_util.h include/battle_interface.h include/battle_main.h include/battle_script_commands.h include/battle_util.h include/easy_chat.h include/event_object_movement.h include/field_effect.h include/field_effect_helpers.h include/field_player_avatar.h include/intro.h include/item_use.h include/metatile_behavior.h include/move_relearner.h include/pokedex.h include/pokemon.h include/pokemon_icon.h include/roamer.h include/script_pokemon_util.h include/sprite.h include/text.h include/wild_encounter.h src/battle_controllers.c
47 lines
2.1 KiB
C
47 lines
2.1 KiB
C
#ifndef GUARD_FIELD_EFFECT_HELPERS_H
|
|
#define GUARD_FIELD_EFFECT_HELPERS_H
|
|
|
|
// States for bobbing up and down while surfing
|
|
enum {
|
|
// No bobbing
|
|
BOB_NONE,
|
|
// Both the surf blob/mon should bob up and down
|
|
BOB_PLAYER_AND_MON,
|
|
// Only the surf blob/mon should bob up and down
|
|
// For when the player has jumped/flown off
|
|
BOB_JUST_MON,
|
|
};
|
|
|
|
u8 CreateWarpArrowSprite(void);
|
|
u8 StartUnderwaterSurfBlobBobbing(u8 blobSpriteId);
|
|
void SetSurfBlob_BobState(u8 spriteId, u8 state);
|
|
void SetSurfBlob_DontSyncAnim(u8 spriteId, bool8 dontSync);
|
|
void SetSurfBlob_PlayerOffset(u8 spriteId, bool8 hasOffset, s16 offset);
|
|
bool8 UpdateRevealDisguise(struct ObjectEvent *objectEvent);
|
|
void StartRevealDisguise(struct ObjectEvent *objectEvent);
|
|
void StartAshFieldEffect(s16 x, s16 y, u16 metatileId, s16 delay);
|
|
void SetUpReflection(struct ObjectEvent *objectEvent, struct Sprite *sprite, bool8 stillReflection);
|
|
void SetUpShadow(struct ObjectEvent *objectEvent, struct Sprite *sprite);
|
|
u32 StartFieldEffectForObjectEvent(u8, struct ObjectEvent *objectEvent);
|
|
u8 FindTallGrassFieldEffectSpriteId(u8 localId, u8 mapNum, u8 mapGroup, s16 x, s16 y);
|
|
void UpdateRayquazaSpotlightEffect(struct Sprite *sprite);
|
|
void UpdateShadowFieldEffect(struct Sprite *sprite);
|
|
void UpdateTallGrassFieldEffect(struct Sprite *sprite);
|
|
void WaitFieldEffectSpriteAnim(struct Sprite *sprite);
|
|
void UpdateAshFieldEffect(struct Sprite *sprite);
|
|
void UpdateSurfBlobFieldEffect(struct Sprite *sprite);
|
|
void UpdateJumpImpactEffect(struct Sprite *sprite);
|
|
void UpdateFootprintsTireTracksFieldEffect(struct Sprite *sprite);
|
|
void UpdateSplashFieldEffect(struct Sprite *sprite);
|
|
void UpdateLongGrassFieldEffect(struct Sprite *sprite);
|
|
void UpdateSandPileFieldEffect(struct Sprite *sprite);
|
|
void UpdateDisguiseFieldEffect(struct Sprite *sprite);
|
|
void UpdateShortGrassFieldEffect(struct Sprite *sprite);
|
|
void UpdateHotSpringsWaterFieldEffect(struct Sprite *sprite);
|
|
void UpdateBubblesFieldEffect(struct Sprite *sprite);
|
|
void UpdateSparkleFieldEffect(struct Sprite *sprite);
|
|
void SetSpriteInvisible(u8 spriteId);
|
|
void ShowWarpArrowSprite(u8 spriteId, u8 direction, s16 x, s16 y);
|
|
|
|
#endif //GUARD_FIELD_EFFECT_HELPERS_H
|