Just made a RNG code that you can use in different Wii/GameCube, 3DS, Switch and other console games
Place it in free location in memory and call it to get the generated number:
Wii/GameCube:
li r3, 4
blr
3DS/Switch (32-bit games):
MOV R0, #4
BX LR
Switch:
MOV W0, #4
RET
I have analyzed Mario Kart 8 Deluxe's code and found no evidence that green shell "smart bounce" is a thing.
It might've been the biggest placebo effect of all time, unless someone can prove me wrong