Enable Item Boxes in Time Trials [vabold, Cotni]
#1
Enable Item Boxes in Time Trials [vabold, Cotni]

vabold - "improved version of seeky and melg's, as this one does not affect other object behavior (e.g. cataquacks)
they are uncredited because I did not use theirs as a base - I used Cotni's recent work instead
notably, though, it has the side effect of enabling bomb cars as well"

NTSC-U
02790CC4 00004800
047AB5A8 60000000
02813A70 00004800

PAL
02799CD0 00004800
047BA008 60000000
02827584 00004800

NTSC-J
0279933C 00004800
047B9674 60000000
02826BF0 00004800

NTSC-K
02788090 00004800
047A83C8 60000000
02815944 00004800

Code creators: vabold, Cotni
Reply
#2
"notably, though, it has the side effect of enabling bomb cars as well"

Fix 1: Compare all itembox types.

NTSC-U
02790CC4 00004800
047AB5A8 60000000
C2813A68 00000009
880F0055 819E0000
A18C0000 2C0C0065
4182002C 2C0C0076
41820024 2C0C00C9
4182001C 2C0C00D4
41820014 2C0C00D5
4182000C 2C0C00EE
40820008 38000000
60000000 00000000

Comparing all itemboxes objects because there might be other objects than the bomb car that might appear. If that's not the case, then use fix 2 which only checks for bomb car.

Fix 2: Remove bomb car from TT
02790CC4 00004800
047AB5A8 60000000
C2813A68 00000004
38000000 819E0000
A18C0000 2C0C00DE
40820008 880F0055
60000000 00000000

Enables itemboxes in TT but disables bomb car from TT (Fix). You'd want to use this code but I made the fix 1 to enable only item boxes individually because there might be other obj that appear in TT when all enabled and it isn't known

I think fix 1 can be shortened with loop or other approach
mtctr r0 ~ bctrl / BLX R0
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)