Revert custom palette changes to built in mods

This commit is contained in:
MysterD 2022-08-07 15:13:51 -07:00
parent dc3ca7c76d
commit 5e5ef35118
2 changed files with 6 additions and 6 deletions

View File

@ -372,11 +372,11 @@ function mario_update(m)
-- update palette
if s.team == 2 then
np.overridePalette = gPalettePresets[7]
np.overridePaletteIndex = 7
elseif s.team == 1 then
np.overridePalette = gPalettePresets[15]
np.overridePaletteIndex = 15
else
np.overridePalette = np.palette
np.overridePaletteIndex = np.paletteIndex
end
-- set metal

View File

@ -1262,13 +1262,13 @@ function mario_update(m)
local s = gPlayerSyncTable[m.playerIndex]
local np = gNetworkPlayers[m.playerIndex]
if s.team == 2 then
np.overridePalette = gPalettePresets[7]
np.overridePaletteIndex = 7
m.marioBodyState.modelState = 0
elseif s.team == 1 then
np.overridePalette = gPalettePresets[15]
np.overridePaletteIndex = 15
m.marioBodyState.modelState = 0
else
np.overridePalette = np.palette
np.overridePaletteIndex = np.paletteIndex
m.marioBodyState.modelState = MODEL_STATE_NOISE_ALPHA
end
m.health = 0x880