src/scene/shared/actor_set_sprite_priority.c
Setting an actor's sprite priority by hand.
Included by airs_rock.c, airs_rock_inside.c, anemos_inner_sanctum.c, anemos_inner_sanctum_dullahan.c, ankohl_ruins.c, apojii_islands.c, aqua_rock.c, aqua_rock_inside.c, caverns.c, contigo.c, dehkan_plateau.c, gabomba_statue.c, gaia_rock_inside.c, garoh.c, gondowan_cliffs.c, izumo_ruins.c, jupiter_lighthouse_aerie.c, jupiter_lighthouse_aerie_beacon.c, jupiter_lighthouse_basement.c, jupiter_lighthouse_central_room.c, jupiter_lighthouse_cracked_floor.c, jupiter_lighthouse_entrance.c, jupiter_lighthouse_ground_floor.c, jupiter_lighthouse_left_tower_lower.c, jupiter_lighthouse_locked_doors.c, jupiter_lighthouse_right_tower_lower.c, jupiter_lighthouse_right_tower_upper.c, jupiter_lighthouse_side_halls.c, jupiter_lighthouse_terraces.c, jupiter_lighthouse_upper_hall.c, kandorean_temple.c, magma_rock.c, magma_rock_inside.c, mars_lighthouse_entrance.c, mars_lighthouse_star_room.c, mars_lighthouse_towers.c, mt_aleph_summit.c, prox.c, sea_of_time.c, settlements.c, shaman_village.c, shrine_of_the_sea_god.c, treasure_isle.c, trial_road.c, tundaria_tower.c, venus_lighthouse.c and yampi_desert.c.
Functions
| Name | Description | |
|---|---|---|
void | scSetActorSpritePriority (ACTOR *actor, Sint32 priority) | Fixes the priority of the actor's sprite and its shadow, which then no longer follows the map metatile under it (clears ACTOR_PRIORITY_AUTOMATIC). |
Description
Setting an actor's sprite priority by hand.
Functions in detail
scSetActorSpritePriority
void scSetActorSpritePriority(ACTOR *actor, Sint32 priority)
Fixes the priority of the actor's sprite and its shadow, which then no longer
follows the map metatile under it (clears ACTOR_PRIORITY_AUTOMATIC).
References Sint32.
Referenced by EFFECT_SPAWN, scAirsRockInsideBlowGust(), scAirsRockInsideSetStakeMetatiles(), scAirsRockInsideShebaLearnsReveal(), scAirsRockInsideVanishStone(), scAirsRockSwirlDust(), scAnemosInnerSanctumLeaveSpark(), scAnemosInnerSanctumLightTorch(), scAnemosInnerSanctumMimicLeader(), scAnemosInnerSanctumPressRoundSwitch(), scAnemosInnerSanctumRideLiftUp(), scAnemosInnerSanctumSendSpark(), scAnemosInnerSanctumSparkRing(), scAquaRockCreateActor(), scAquaRockInsidePiersLearnsParch(), scCreateActor(), scCreateImportedActor(), scFieldEffectSpawn(), scGaiaRockInsideFelixLearnsSand(), scInit(), scIzumoRuinsShowStakeState(), scMagmaRockBuildFlameColumn(), scMagmaRockBurnStatue(), scMagmaRockCreateEffectActor(), scMagmaRockInsideFadeStoneAway(), scMagmaRockInsideLayerWithLeader(), scMagmaRockInsideLearnBlaze(), scMagmaRockInsideSpawnSpark(), scMagmaRockPlaceFireball(), scMarsLighthouseEntranceSetIceConeMetatiles(), scOrbitSparkSpawn(), scPlaceTranslucentBlackActorFX(), scShamanVillageSwirlSandGrain(), scTundariaTowerSetColumnMetatile(), scVenusLighthouseCreateBlendedPassageEffect() and scVenusLighthouseCreateOccludingPassageEffect().
Definition at line 7 of file actor_set_sprite_priority.c.