You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Added extra pole length patch
This commit is contained in:
@@ -17,6 +17,7 @@ Fork of the ultrasm64 repo by CrashOveride which includes the following commonly
|
||||
- Widescreen (16:9) support toggleable by pressing `L` in the pause menu.
|
||||
- If you don't want this, you can disable it by removing `#define wide` in `ingame_menu.c`
|
||||
- Removed course-specific camera processing
|
||||
- Increased maximum pole lenght (The game will read bparam1 and bparam2 together as a single value, so you can have a Snake Eater pole)
|
||||
|
||||
It also uncringes the way that apply_patch.sh works, and removes the black border.
|
||||
|
||||
|
||||
@@ -16,8 +16,10 @@ void bhv_pole_init(void) {
|
||||
* This is equivalent to using `o->oBehParams2ndByte` according to
|
||||
* `spawn_objects_from_info`.
|
||||
*/
|
||||
s32 tenthHitboxHeight = o->oBehParams >> 0x10 & 0xFF;
|
||||
o->hitboxHeight = tenthHitboxHeight * 10;
|
||||
|
||||
// POLE "FIX": The game will read bparam1 and bparam2 together as a single value,
|
||||
// so you can have a snake eater pole
|
||||
o->hitboxHeight = ((o->oBehParams & 0xFFFF0000) >> 16) * 10;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user