The options of a spawned field effect, each used when its EFFECT_USE_ flag (or EFFECT_SCALE_TO_TARGET) is set. More...
#include <system/field_effect.h>
Data Fields | |
| s32 | priority |
| the sprite's priority | |
| s32 | palette |
| passed to ObjectGroup_SetChildValue | |
| s32 | startScaleX |
| 16.16 fixed point, 0x10000 full size | |
| s32 | startScaleY |
| 16.16 fixed point, 0x10000 full size | |
| s32 | targetScaleX |
| 16.16 fixed point, 0x10000 full size | |
| s32 | targetScaleY |
| 16.16 fixed point, 0x10000 full size | |
| s16 | type |
| the object type to create; 222 without the flag | |
| const s32 * | script |
| the object script, run in mode 1 | |
| u16 | rotation |
| 1/65536 turns | |
| u16 | spin |
| 1/65536 turns per frame | |
| void(*) | update (union FieldObject *object) |
| replaces the update hook | |
The options of a spawned field effect, each used when its EFFECT_USE_ flag (or EFFECT_SCALE_TO_TARGET) is set.
Definition at line 91 of file field_effect.h.
| s32 EffectOptions::priority |
the sprite's priority
Definition at line 92 of file field_effect.h.
Referenced by Event_StepOnEastWallSwitch(), Event_StepOnWallSwitch(), Event_StepOnWestWallSwitch(), FuchinTemple_AnimateRevealLesson(), FuchinTemple_SpawnNyunpasParticles(), ImilFuchinFalls_SpawnDust(), MercuryLighthouse_PlyOpensWaterfallPassage(), MercuryLighthouse_RaiseActorWithSparks(), MercuryLighthouse_TrailSparks(), MercuryLighthouseAerie_SaturosAndAlexWarpIn(), MercuryLighthouseAerie_SaturosAndAlexWarpOut(), MercuryLighthouseEntrance_ActivateWithPly(), MogallForest_SpawnPuffRing(), SceneEffect_SpawnNineRadialEffects(), SceneEffect_SpawnWithRandomOffset(), SolSanctumElementalStarRoom_AnimateAlexTeleport(), VenusLighthouse_EmitPassageSparkTrail(), VenusLighthouse_EmitRisingParticles(), VenusLighthouse_UpdateRisingSpray(), Xian_SpawnTrainingParticles(), and Xian_TalkToKungFuStudent().
| s32 EffectOptions::palette |
passed to ObjectGroup_SetChildValue
Definition at line 93 of file field_effect.h.
Referenced by BabiLighthouse_LandWithParticles(), BattleFx_SpawnRadialParticleRing(), CrossboneIslePillarRooms_SpawnFrostParticle(), CrossboneIslePillarRooms_SpawnThawParticle(), CrossboneIslePillarRooms_SpawnUnusedLeaderParticle(), Event_MonkLetsPartyIntoGrotto(), Event_MoveEastObjectIntoHole(), Event_MoveWestObjectIntoHole(), Event_SinkPillarA(), Event_SinkPillarB(), FuchinTemple_AnimateRevealLesson(), FuchinTemple_SpawnGrottoEntryParticle(), ImilFuchinFalls_SpawnDust(), MercuryLighthouse_CloseStoneDoor(), MercuryLighthouse_OpenFountainWithSpray(), MercuryLighthouse_OpenStoneDoor(), MercuryLighthouse_OpenThreeStepStair(), MercuryLighthouse_PlyOpensWaterfallPassage(), MercuryLighthouse_RaiseActorWithSparks(), MercuryLighthouse_StopFountainSpray(), MercuryLighthouse_TrailSparks(), MercuryLighthouseAerie_SaturosAndAlexWarpIn(), MercuryLighthouseAerie_SaturosAndAlexWarpOut(), MercuryLighthouseEntrance_Initialize(), SceneEffect_SpawnNineRadialEffects(), SceneEffect_SpawnParticleEveryFourthFrame(), SceneEffect_SpawnParticleRowsAndDrawTiles(), SceneEffect_SpawnRandomEveryFourFrames(), SceneEffect_SpawnRandomizedBurst(), SceneEffect_SpawnWithRandomOffset(), SolSanctumElementalStarRoom_AnimateAlexTeleport(), TretTreeInteriors_RunLandingDustScene(), TunnelRuins_SplashDousedPillar(), VenusLighthouse_EmitRisingParticles(), VenusLighthouse_LandWithRadialDust(), VenusLighthouse_UpdateRisingSpray(), VenusLighthouseAerie_CombineSaturosAndMenardi(), and Xian_SpawnTrainingParticles().
| s32 EffectOptions::startScaleX |
16.16 fixed point, 0x10000 full size
Definition at line 94 of file field_effect.h.
Referenced by BabiLighthouse_LandWithParticles(), BattleFx_SpawnRadialParticleRing(), CollapseFromHeat(), CrossboneIslePillarRooms_SpawnFrostParticle(), CrossboneIslePillarRooms_SpawnThawParticle(), CrossboneIslePillarRooms_SpawnUnusedLeaderParticle(), Event_MoveEastObjectIntoHole(), Event_MoveWestObjectIntoHole(), Event_SinkPillarA(), Event_SinkPillarB(), Event_StepOnEastWallSwitch(), Event_StepOnWallSwitch(), Event_StepOnWestWallSwitch(), FuchinTemple_SpawnGrottoEntryParticle(), GomaCaveEntrance_LeapStump(), GomaCaveWaterway_LeapStump(), HeatGauge_CountStep(), ImilFuchinFalls_SpawnDust(), Leader_SpraySand(), MercuryLighthouse_CloseStoneDoor(), MercuryLighthouse_OpenFountainWithSpray(), MercuryLighthouse_OpenStoneDoor(), MercuryLighthouse_OpenThreeStepStair(), MercuryLighthouse_PlyOpensWaterfallPassage(), MercuryLighthouse_StopFountainSpray(), MercuryLighthouse_TrailSparks(), MercuryLighthouseAerie_SaturosAndAlexWarpIn(), MercuryLighthouseAerie_SaturosAndAlexWarpOut(), Rubble_SetScaleAndSpin(), SceneEffect_SpawnParticleEveryFourthFrame(), SceneEffect_SpawnParticleRowsAndDrawTiles(), SceneEffect_SpawnRandomEveryFourFrames(), SceneEffect_SpawnRandomizedBurst(), SceneEffect_SpawnWithRandomOffset(), SolSanctumElementalStarRoom_AnimateAlexTeleport(), SuhallaDesert_ChaseLeader(), TretTreeInteriors_RunLandingDustScene(), TunnelRuins_SplashDousedPillar(), VenusLighthouse_EmitGateParticles(), VenusLighthouse_EmitPassageSparkTrail(), VenusLighthouse_EmitRisingParticles(), VenusLighthouse_LandWithRadialDust(), VenusLighthouse_SpawnRandomParticles(), and VenusLighthouseAerie_CombineSaturosAndMenardi().
| s32 EffectOptions::startScaleY |
16.16 fixed point, 0x10000 full size
Definition at line 95 of file field_effect.h.
Referenced by BabiLighthouse_LandWithParticles(), BattleFx_SpawnRadialParticleRing(), CollapseFromHeat(), CrossboneIslePillarRooms_SpawnFrostParticle(), CrossboneIslePillarRooms_SpawnThawParticle(), CrossboneIslePillarRooms_SpawnUnusedLeaderParticle(), Event_MoveEastObjectIntoHole(), Event_MoveWestObjectIntoHole(), Event_SinkPillarA(), Event_SinkPillarB(), Event_StepOnEastWallSwitch(), Event_StepOnWallSwitch(), Event_StepOnWestWallSwitch(), FuchinTemple_SpawnGrottoEntryParticle(), GomaCaveEntrance_LeapStump(), GomaCaveWaterway_LeapStump(), HeatGauge_CountStep(), ImilFuchinFalls_SpawnDust(), Leader_SpraySand(), MercuryLighthouse_CloseStoneDoor(), MercuryLighthouse_OpenFountainWithSpray(), MercuryLighthouse_OpenStoneDoor(), MercuryLighthouse_OpenThreeStepStair(), MercuryLighthouse_PlyOpensWaterfallPassage(), MercuryLighthouse_StopFountainSpray(), MercuryLighthouse_TrailSparks(), MercuryLighthouseAerie_SaturosAndAlexWarpIn(), MercuryLighthouseAerie_SaturosAndAlexWarpOut(), Rubble_SetScaleAndSpin(), SceneEffect_SpawnParticleEveryFourthFrame(), SceneEffect_SpawnParticleRowsAndDrawTiles(), SceneEffect_SpawnRandomEveryFourFrames(), SceneEffect_SpawnRandomizedBurst(), SceneEffect_SpawnWithRandomOffset(), SolSanctumElementalStarRoom_AnimateAlexTeleport(), SuhallaDesert_ChaseLeader(), TretTreeInteriors_RunLandingDustScene(), TunnelRuins_SplashDousedPillar(), VenusLighthouse_EmitGateParticles(), VenusLighthouse_EmitPassageSparkTrail(), VenusLighthouse_EmitRisingParticles(), VenusLighthouse_LandWithRadialDust(), VenusLighthouse_SpawnRandomParticles(), and VenusLighthouseAerie_CombineSaturosAndMenardi().
| s32 EffectOptions::targetScaleX |
16.16 fixed point, 0x10000 full size
Definition at line 96 of file field_effect.h.
Referenced by CollapseFromHeat(), CrossboneIslePillarRooms_SpawnFrostParticle(), FuchinTemple_SpawnNyunpasParticles(), GomaCaveEntrance_LeapStump(), GomaCaveWaterway_LeapStump(), ImilFuchinFalls_SpawnDust(), MercuryLighthouse_PlyOpensWaterfallPassage(), and VenusLighthouse_EmitGateParticles().
| s32 EffectOptions::targetScaleY |
16.16 fixed point, 0x10000 full size
Definition at line 97 of file field_effect.h.
Referenced by CollapseFromHeat(), CrossboneIslePillarRooms_SpawnFrostParticle(), FuchinTemple_SpawnNyunpasParticles(), GomaCaveEntrance_LeapStump(), GomaCaveWaterway_LeapStump(), ImilFuchinFalls_SpawnDust(), MercuryLighthouse_PlyOpensWaterfallPassage(), and VenusLighthouse_EmitGateParticles().
| s16 EffectOptions::type |
the object type to create; 222 without the flag
Definition at line 98 of file field_effect.h.
Referenced by CollapseFromHeat(), FuchinTemple_AnimateRevealLesson(), FuchinTemple_SpawnNyunpasParticles(), GomaCaveEntrance_LeapStump(), GomaCaveWaterway_LeapStump(), MercuryLighthouse_PlyOpensWaterfallPassage(), MercuryLighthouse_RaiseActorWithSparks(), MercuryLighthouseAerie_SaturosAndAlexWarpIn(), MercuryLighthouseAerie_SaturosAndAlexWarpOut(), MercuryLighthouseEntrance_ActivateWithPly(), SolSanctumElementalStarRoom_AnimateAlexTeleport(), VenusLighthouse_EmitGateParticles(), VenusLighthouse_UpdateRisingSpray(), Xian_SpawnTrainingParticles(), and Xian_TalkToKungFuStudent().
| const s32* EffectOptions::script |
the object script, run in mode 1
Definition at line 99 of file field_effect.h.
Referenced by FuchinTemple_SpawnNyunpasParticles(), MercuryLighthouse_PlyOpensWaterfallPassage(), MercuryLighthouse_RaiseActorWithSparks(), MercuryLighthouseEntrance_ActivateWithPly(), VenusLighthouse_UpdateRisingSpray(), Xian_SpawnTrainingParticles(), and Xian_TalkToKungFuStudent().
| u16 EffectOptions::rotation |
1/65536 turns
Definition at line 100 of file field_effect.h.
Referenced by CrossboneIslePillarRooms_SpawnFrostParticle(), and Xian_TalkToKungFuStudent().
| u16 EffectOptions::spin |
1/65536 turns per frame
Definition at line 101 of file field_effect.h.
Referenced by Event_StepOnEastWallSwitch(), Event_StepOnWallSwitch(), Event_StepOnWestWallSwitch(), HeatGauge_CountStep(), Leader_SpraySand(), Rubble_SetScaleAndSpin(), SlideDownDune(), SuhallaDesert_ChaseLeader(), VenusLighthouse_SpawnRandomParticles(), and VenusLighthouse_StepActorWithDust().
| void(*) EffectOptions::update(union FieldObject *object) |
replaces the update hook
Definition at line 102 of file field_effect.h.
Referenced by BabiLighthouse_LandWithParticles(), BattleFx_SpawnRadialParticleRing(), CrossboneIsle_SpawnBlockMovedBurst(), CrossboneIslePillarRooms_SpawnFrostParticle(), Event_HopDownStep(), SceneEffect_SpawnNineRadialEffects(), TretTreeInteriors_RunLandingDustScene(), VenusLighthouse_LandWithRadialDust(), and VenusLighthouseAerie_CombineSaturosAndMenardi().