You've already forked sm64coopdx
mirror of
https://github.com/izzy2lost/sm64coopdx.git
synced 2026-03-26 16:56:02 -07:00
16 lines
274 B
Lua
16 lines
274 B
Lua
-- name: Low Gravity
|
|
-- incompatible:
|
|
-- description: Gives everyone low gravity
|
|
|
|
function mario_update(m)
|
|
if (m.action & ACT_FLAG_AIR) ~= 0 then
|
|
m.vel.y = m.vel.y + 1
|
|
end
|
|
end
|
|
|
|
-----------
|
|
-- hooks --
|
|
-----------
|
|
|
|
hook_event(HOOK_MARIO_UPDATE, mario_update)
|