Go to the source code of this file.
|
void | player_surface_spawn_fx (void) |
|
void | surface_set_walk_effect (s32 effect) |
| Select the type of surface effect spawned by the player while moving The effect is reset between maps, so include this in the Main script for every map you wish to change.
|
|
◆ SurfaceWalkEffect
Enumerator |
---|
SURFACE_WALK_FX_STANDARD | |
SURFACE_WALK_FX_SPARKLE | |
Definition at line 6 of file surfaces.h.
6 {
9};
@ SURFACE_WALK_FX_STANDARD
@ SURFACE_WALK_FX_SPARKLE
◆ player_surface_spawn_fx()
void player_surface_spawn_fx |
( |
void | | ) |
|
Definition at line 42 of file surfaces.c.
42 {
44
47 }
48
50
53 }
54
57 }
58
60
61 switch (surfaceType) {
64 break;
67 break;
70 break;
73 break;
76 break;
77 default:
79 break;
80 }
81}
@ SURFACE_TYPE_HEDGES
used within hedge maze in flo_11
@ SURFACE_TYPE_CLOUD
used with clouds in flo_19 and flo_21
@ PS_FLAG_ACTION_STATE_CHANGED
@ COLLIDER_FLAGS_SURFACE_TYPE_MASK
s32 get_collider_flags(s32 colliderID)
void player_surface_spawn_water_fx(void)
void player_surface_spawn_cloud_fx(void)
void player_surface_spawn_hedges_fx(void)
void player_surface_spawn_flower_fx(void)
void player_surface_spawn_snow_fx(void)
void player_surface_spawn_basic_fx(void)
CollisionStatus gCollisionStatus
PlayerStatus gPlayerStatus
◆ surface_set_walk_effect()
void surface_set_walk_effect |
( |
s32 | effect | ) |
|
Select the type of surface effect spawned by the player while moving The effect is reset between maps, so include this in the Main script for every map you wish to change.
- Parameters
-
type | enum value from SurfaceWalkEffect |
Definition at line 18 of file surfaces.c.
18 {
20}
s32 SurfaceWalkEffectType
Referenced by load_map_by_IDs().