Add ENVFX_MODE_NO_OVERRIDE constant
This commit is contained in:
parent
89e9bcdcec
commit
55fe506b82
|
@ -3524,6 +3524,9 @@ ENVFX_LAVA_BUBBLES = 12
|
|||
--- @type integer
|
||||
ENVFX_MODE_NONE = 0
|
||||
|
||||
--- @type integer
|
||||
ENVFX_MODE_NO_OVERRIDE = -1
|
||||
|
||||
--- @type integer
|
||||
ENVFX_SNOW_BLIZZARD = 3
|
||||
|
||||
|
|
|
@ -1198,6 +1198,7 @@
|
|||
- ENVFX_JETSTREAM_BUBBLES
|
||||
- ENVFX_LAVA_BUBBLES
|
||||
- ENVFX_MODE_NONE
|
||||
- ENVFX_MODE_NO_OVERRIDE
|
||||
- ENVFX_SNOW_BLIZZARD
|
||||
- ENVFX_SNOW_NORMAL
|
||||
- ENVFX_SNOW_WATER
|
||||
|
|
|
@ -9,13 +9,15 @@
|
|||
#define ENVFX_SNOW_WATER 2 // Secret Aquarium, Sunken Ship
|
||||
#define ENVFX_SNOW_BLIZZARD 3 // unused
|
||||
|
||||
#define ENVFX_BUBBLE_START 10 // Separates snow effects and flower/bubble effects
|
||||
#define ENVFX_BUBBLE_START 10 // separates snow effects and flower/bubble effects
|
||||
|
||||
#define ENVFX_FLOWERS 11 // unused
|
||||
#define ENVFX_LAVA_BUBBLES 12 // LLL, BitFS, Bowser 2
|
||||
#define ENVFX_WHIRLPOOL_BUBBLES 13 // DDD
|
||||
#define ENVFX_JETSTREAM_BUBBLES 14 // JRB, DDD (submarine area)
|
||||
|
||||
#define ENVFX_MODE_NO_OVERRIDE -1 // used for set_override_envfx()
|
||||
|
||||
struct EnvFxParticle {
|
||||
s8 isAlive;
|
||||
s16 animFrame; // lava bubbles and flowers have frame animations
|
||||
|
|
|
@ -1394,6 +1394,7 @@ char gSmluaConstants[] = ""
|
|||
"ENVFX_LAVA_BUBBLES = 12\n"
|
||||
"ENVFX_WHIRLPOOL_BUBBLES = 13\n"
|
||||
"ENVFX_JETSTREAM_BUBBLES = 14\n"
|
||||
"ENVFX_MODE_NO_OVERRIDE = -1\n"
|
||||
"SEQ_PLAYER_LEVEL = 0\n"
|
||||
"SEQ_PLAYER_ENV = 1\n"
|
||||
"SEQ_PLAYER_SFX = 2\n"
|
||||
|
|
Loading…
Reference in New Issue