sm64coopdx/mods
TheGag96 d87dd73db1
Fix issues Extended Moveset mod (+ extras) (#146)
* Allow Lua action hooks to specify custom functions for more behavior

...like gravity, and update all current mods to match.

Spin jump and wall slide from the Extended Moveset mod now have gravity
code basically matching the original mod.

Currently, any place you'd want to use one of these new action hooks
still requires an O(n) check through all action hook per call. This
should probably be changed.

* Fix some remaining issues with Extended Moveset Lua port

- Remove divergent spin jump code
- Remove divergent roll code
- Remap roll button to Y
- Reimplement dive slide to make dive hop work like the original
- Allow spin from double jump, backflip, side flip

* Fix more issues with Extended Moveset Lua port

- Reimplement all users of update_walking_speed to incorporate the Tight
  Controls edits and modified speed caps
- Fix instances of angle arithmetic to wrap properly across the mod

* Don't chop off group bits of custom action flags; assign missing groups in mods

This fixes the Extended Moveset's underwater actions. Chopping off those
bits was making the game consider the underwater actions to be a part of
the Stationary group, which caused `check_common_stationary_cancels`,
which upwarps Mario to the surface.

* Tweak roll sliding angle tendency

Rolling will now gradually (but fairly quckly) try to tend Mario's
facing angle down the slope.

This is cleaner than my old method that tries to flip Mario's angle
(wrongly) when he begins moving downward, having that logic coexist with
the logic for normal sliding actions that can also tend Mario to face
backward down the slope. Just looks ugly now by comparison.

* Disallow spin jump on slides in Extended Moveset port

This matches the original mod

* Extended Moveset: Crazy Box Bounce check

* Extended Moveset: Fix hugging the wall when spin jumping after wall kick

* Extended Moveset: Fix ledge drop snapping up to ground

Just reimplement `act_air_hit_wall` ourselves.

* Extended Moveset: Add Kaze's walking speed fix

* smlua_hooks.c: Restore option to use old API for hook_mario_action

The intent is to allow mods outside of this repo to continue working.

Co-authored-by: djoslin0 <djoslin0@users.noreply.github.com>
2022-08-07 15:25:00 -07:00
..
arena Revert custom palette changes to built in mods 2022-08-07 15:13:51 -07:00
shell-rush Fix issues Extended Moveset mod (+ extras) (#146) 2022-08-07 15:25:00 -07:00
sm74 Fix up camera overrides in sm74 2022-08-05 21:18:37 -07:00
star-road Fix camera overrides in Star Road - by Isaac 2022-08-05 21:17:13 -07:00
character-movesets.lua Fix issues Extended Moveset mod (+ extras) (#146) 2022-08-07 15:25:00 -07:00
extended-moveset.lua Fix issues Extended Moveset mod (+ extras) (#146) 2022-08-07 15:25:00 -07:00
faster-swimming.lua
football.lua Revert custom palette changes to built in mods 2022-08-07 15:13:51 -07:00
hide-and-seek.lua Prevent hide-and-seek from warping to castle grounds 2022-05-29 15:34:41 -07:00