sm64-roblox-liberty-prime/client/Enums/Mario/Flags.lua
Max ba0e5364bb Major restructuring and bug fixes.
Moved a lot of things around, fixed a lot of bugs, made the animations and sounds public. Special thanks to CuckyDev for helping me track down all the small problems that were lingering, and for fixing a major issue with the simulation rate. There's still some stuff to fix and improve, but now this should be more portable and useable by the wider community! 🎉

Co-Authored-By: Regan Green <cuckydev@gmail.com>
2023-07-07 22:01:02 -05:00

24 lines
621 B
Lua

--!strict
local MarioFlags = {
NORMAL_CAP = 0x00000001,
VANISH_CAP = 0x00000002,
METAL_CAP = 0x00000004,
WING_CAP = 0x00000008,
CAP_ON_HEAD = 0x00000010,
CAP_IN_HAND = 0x00000020,
METAL_SHOCK = 0x00000040,
TELEPORTING = 0x00000080,
MOVING_UP_IN_AIR = 0x00000100,
ACTION_SOUND_PLAYED = 0x00010000,
MARIO_SOUND_PLAYED = 0x00020000,
FALLING_FAR = 0x00040000,
PUNCHING = 0x00100000,
KICKING = 0x00200000,
TRIPPING = 0x00400000,
}
MarioFlags.SPECIAL_CAPS = MarioFlags.VANISH_CAP + MarioFlags.METAL_CAP + MarioFlags.WING_CAP
MarioFlags.CAPS = MarioFlags.NORMAL_CAP + MarioFlags.SPECIAL_CAPS
return MarioFlags