You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Longer poles patch is now toggleable in config.h
This commit is contained in:
@@ -53,6 +53,8 @@
|
||||
#define PEACH_SKIP
|
||||
// Remove course specific camera processing
|
||||
#define CAMERA_FIX
|
||||
// Increase the maximum pone lenght (it will treat bparam1 and bparam2 as a single value)
|
||||
#define LONGER_POLES
|
||||
// Uncomment this if you want to skip the title screen (Super Mario 64 logo)
|
||||
//#define SKIP_TITLE_SCREEN
|
||||
// Uncomment this if you want to keep the mario head and not skip it
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "config.h"
|
||||
/**
|
||||
* Behaviors for bhvPoleGrabbing and bhvGiantPole.
|
||||
*
|
||||
@@ -17,9 +18,12 @@ void bhv_pole_init(void) {
|
||||
* `spawn_objects_from_info`.
|
||||
*/
|
||||
|
||||
// POLE "FIX": The game will read bparam1 and bparam2 together as a single value,
|
||||
// so you can have a snake eater pole
|
||||
#ifdef LONGER_POLES
|
||||
o->hitboxHeight = ((o->oBehParams & 0xFFFF0000) >> 16) * 10;
|
||||
#else
|
||||
s32 tenthHitboxHeight = o->oBehParams >> 0x10 & 0xFF;
|
||||
o->hitboxHeight = tenthHitboxHeight * 10;
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user