sm64coopdx/autogen
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
..
lua_constants Allow coop mods to use the backup save slot independently of the normal one 2022-04-10 00:30:47 -07:00
lua_definitions Fix issues Extended Moveset mod (+ extras) (#146) 2022-08-07 15:25:00 -07:00
autogen.sh Added the ability to spawn particles from Lua 2022-03-09 21:25:07 -08:00
common.py Un-hardcoded vanilla trajectories 2022-04-08 21:01:17 -07:00
convert_constants.py Mouse lock & freeze cam fixes and warp constants (#103) 2022-05-19 17:06:51 -07:00
convert_functions.py Add some more functions for use in LUA, And expose others. (#129) 2022-08-05 22:17:05 -07:00
convert_structs.py Arbitrary shirt, pants, glove colors + settings menu (#145) 2022-08-07 15:13:19 -07:00
extract_constants.py Update to Refresh 13 (#19) 2022-03-13 00:17:10 -08:00
extract_functions.py Added a bunch of camera functions to Lua 2022-03-25 23:46:37 -07:00
extract_object_fields.py Added object fields to Lua API 2022-02-19 13:51:02 -08:00
extract_structs.py Added DynOS warp functions to Lua API 2022-03-11 18:11:32 -08:00
gen_sound.py Fixed Wario sounds pitch/speed 2022-02-15 00:51:19 -08:00