Instant spinout bug documentation (#753)

This commit is contained in:
Jed Grabman
2025-10-31 17:01:28 -04:00
committed by GitHub
parent d3feca2536
commit 2e7ba091bd
5 changed files with 20 additions and 10 deletions
+10
View File
@@ -331,6 +331,16 @@ enum PLACE { FIRST_PLACE, SECOND_PLACE, THIRD_PLACE, FOURTH_PLACE };
#define MAX_TIME 0x927C0
#define DEGREES_CONVERSION_FACTOR 182
// player->unk_046
/* The first time you touch a penguin or bat, and anytime you touch a thwomp during a
race will set a flag which will cause your next spinout to be instant (i.e. no
sliding forward). Probably half-implemented code to prevent sliding through enemies,
but causes this bug */
#define CRITTER_TOUCH 0x2 // Touched a penguin, bat or thwomp
#define CRITTER_TOUCH_GATE 0x4
#define INSTANT_SPINOUT 0x40
// player->oobProps
/* Deals with the lower out of bounds (OOB) plane on levels. Represented by fluids (water / lava)
or nothing for Rainbow Road and Skyscraper. */