Added extra pole length patch

This commit is contained in:
Reonu committed 2021-05-24 22:41:07 +01:00
1 parent 5097e6f666
commit 8f8b24764a
2 files changed
+5 -2

No files matched your search

+4 -2
View File
@@ -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;
}
/**