Air-O-Meter
#1
Air-O-Meter

Works in Online VS and TT's. When in TT mode, only do Solo Racing. Does NOT work in Grand Prix, Offline VS, or any type of Battle.

Also known as Flight-O-Meter. This code will tell you how long you have been in flight (air time). The unit of measurement is in frames.

NTSC-U
C25310A0 00000002
3D808000 818C1650
A0AC0000 00000000
C2590F20 00000003
B36300C8 3983021A
3D608000 918B1650
60000000 00000000

PAL
C2535BE8 00000002
3D808000 818C1650
A0AC0000 00000000
C2597744 00000003
B36300C8 3983021A
3D608000 918B1650
60000000 00000000

NTSC-J
C2535568 00000002
3D808000 818C1650
A0AC0000 00000000
C25970C4 00000003
B36300C8 3983021A
3D608000 918B1650
60000000 00000000

NTSC-K
C2523C40 00000002
3D808000 818C1650
A0AC0000 00000000
C258579C 00000003
B36300C8 3983021A
3D608000 918B1650
60000000 00000000




Source:
(First ASM; Millisecond Modifier)
lis r12, 0x8000 #Set first half address of r12 to 0x8000 to load dynamic memory address location
lwz r12, 0x1650 (r12) #Load the dynamic mem address location word from 0x80001650
lhz r5, 0 (r12) #Load the halfword from the address of r12; this function meant to replace the Default ASM

(Second ASM; Function containing address holding location to Air Time halfword value)
sth r27, 0x00C8 (r3) #Default ASM
addi r12, r3, 0x21A #Add 0x21A to address of r3. r12 now holds the word for the dynamic mem address location of the Air Time value
lis r11, 0x8000 #Set 1st half address to store the dynamic mem location word to
stw r12, 0x1650 (r11) #Store the dynamic mem location word to 0x80001650




Code creator: zak
Code credits: mdmwii (address founder for first ASM)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)