Commit Graph

10 Commits (c22c03a823e7d809183f87f57c00982350a80146)

Author SHA1 Message Date
Sunk 71a4196caf Add HOOK_BEFORE_SET_MARIO_ACTION (#253)
* Small quality of life changes

Disabled fixed collision in sm74 by default.
Popping should now completely set the popped player's speed to 0.

* Add HOOK_BEFORE_SET_MARIO_ACTION

Param: incoming action
Return: changes incoming action
If the return value is 1, prevent the action from happening entirely.
0 can't be used here since it'll break the title screen.

* Update hooks.md

* Revert "Small quality of life changes"

This reverts commit 05dd235cd0e3633bf1da48bc2f9f0b8a3db087ee.
2023-02-22 20:28:23 -05:00
Agent X b3ebc13c35 Document every behavior's object list (#252) 2023-01-31 07:33:51 -05:00
SMS Alfredo 3a7034c4ed Character Sound Hook (#223)
* Character Sound Hook

* The rest of autogen to be safe

* Indentation Fix

* Fix more indentation

* Get rid of unneeded auto gen junk

* Run autogen again

* Add HOOK_CHARACTER_SOUND to guide
2022-12-17 19:25:30 +01:00
eros71 14e3d50177 Fix link to get back to the lua ref (#240) 2022-11-30 00:44:35 -08:00
Isaac0-dev 2b22b3520f add HOOK_OBJECT_SET_MODEL (#236)
* add HOOK_OBJECT_SET_MODEL
runs whenever a behaviour sets a model.
2022-11-30 00:37:43 -08:00
Sunk 0e6d4b2828 Updated hooks.md to include new hooks (#228) 2022-11-18 18:39:49 -08:00
eros71-dev 66a1054773 Improve guide readability (#202) 2022-09-26 19:10:17 -07:00
Agent X e8ac7c15ea HOOK_ON_SCREEN_TRANSITION (#192) 2022-09-18 17:30:29 -07:00
Isaac0-dev 905f75597b document HOOK_ON_CHANGE_CAMERA_ANGLE (#185) 2022-09-13 14:42:53 -07:00
Emerald Lockdown 7094c50dfd Doc stuff (#182) 2022-09-12 20:01:45 -07:00