Item Box Count Recorder [Vega] - Printable Version +- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com) +-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51) +--- Forum: Online; Item (https://mariokartwii.com/forumdisplay.php?fid=57) +--- Thread: Item Box Count Recorder [Vega] (/showthread.php?tid=935) |
Item Box Count Recorder [Vega] - Vega - 11-05-2018 Item Box Count Recorder [Vega] This code will tell you via the Milliseconds of your Timer how many item boxes you have grabbed in the race. Works in Online VS only. NTSC-U C2658828 00000003 3D808053 3D6038A0 916C10A0 9903001F 60000000 00000000 C27AB618 00000003 90030030 3D808053 3D6038A0 7D6B0214 916C10A0 00000000 PAL C2660764 00000003 3D808053 3D6038A0 916C5BE8 9903001F 60000000 00000000 C27BA078 00000003 90030030 3D808053 3D6038A0 7D6B0214 916C5BE8 00000000 NTSC-J C265FDD0 00000003 3D808053 3D6038A0 916C5568 9903001F 60000000 00000000 C27B96E4 00000003 90030030 3D808053 3D6038A0 7D6B0214 916C5568 00000000 NTSC-K C264EA7C 00000003 3D808052 3D6038A0 916C3C40 9903001F 60000000 00000000 C27A8438 00000003 90030030 3D808052 3D6038A0 7D6B0214 916C3C40 00000000 Source for Timer Set to Zero In Between Races: #Values per Region .set region, '' #Must set region value, or else source will not compile .if (region == 'E' || region == 'e') # RMCE .set _1sthalf, 0x8053 .set _2ndhalf, 0x10A0 .elseif (region == 'P' || region == 'p') # RMCP .set _1sthalf, 0x8053 .set _2ndhalf, 0x5BE8 .elseif (region == 'J' || region == 'j') # RMCJ .set _1sthalf, 0x8053 .set _2ndhalf, 0x5568 .elseif (region == 'K' || region == 'k') # RMCK .set _1sthalf, 0x8052 .set _2ndhalf, 0x3C40 .else # Invalid Region .abort .endif lis r12, _1sthalf lis r11, 0x38A0 stw r11, _2ndhalf (r12) stb r8, 0x001F (r3) #Default Instruction ===== Source for Item Box Counter: #Values per Region .set region, '' #Must set region value, or else source will not compile .if (region == 'E' || region == 'e') # RMCE .set _1sthalf, 0x8053 .set _2ndhalf, 0x10A0 .elseif (region == 'P' || region == 'p') # RMCP .set _1sthalf, 0x8053 .set _2ndhalf, 0x5BE8 .elseif (region == 'J' || region == 'j') # RMCJ .set _1sthalf, 0x8053 .set _2ndhalf, 0x5568 .elseif (region == 'K' || region == 'k') # RMCK .set _1sthalf, 0x8052 .set _2ndhalf, 0x3C40 .else # Invalid Region .abort .endif stw r0, 0x0030 (r3) #Default Instruction, r0 holds item box count value lis r12, _1sthalf lis r11, 0x38A0 add r11, r11, r0 #Can't do addis w/o lis due to r0 being source register stw r11, _2ndhalf (r12) Code creator: Vega Code credits: Bully (Millisecond Display Modifier Code creator), mdmwii (subroutine founder for Millisecond Display) |