Originally posted by Koruten
Thanks. Another problem I seem to be having is with the custom music slots being used in the levels. If you have the game make a sound whilst the level is playing a track from the custom music slot (Zooming In for example, or reading a sign) Causes the music to become mute even after the sound is finished (or when you zoom back out) and will play again when the track starts over from the loop.
Huh, I thought I already incorporated the fix for that. I'll have to revisit it for 1.8.2 or 1.9.
Here's the old version of the code to fix that problem, since I know for sure it works:
0x8626C:
JAL $0029B08C
LB R14, $0E94 (R14)
ADDIU R1, R0, $0003
BEQ R0, R0, $0008637C
0x5608C:
ADDIU R29, R29, $FFE8
SW R31, $0014 (R29)
JAL $0029BF00
NOP
LW R31, $0014 (R29)
JR R31
ADDIU R29, R29, $0018
0x56F00:
//START
ADDIU R29, R29, $FFE8
SW R31, $0014 (R29)
//END IF VOLUME IS ON FULL
LUI R17, $8022
LH R17, $2630 (R17)
ADDIU R18, R0, $3F0D
SUB R18, R17, R18
BGEZ R18, END
//END IF IN LOOK-AROUND VIEW
LUI R17, $8022
LB R17, $261A (R17)
ADDIU R18, R0, $0004
BEQ R17, R18, END
//RESET VOLUME
LUI R17, $8022
ORI R17, R17, $2630
LUI R18, $3F10
ORI R18, R18, $4285
SW R18, $0000 (R17)
//END
LW R31, $0014 (R29)
JR R31
ADDIU R29, R29, $0018
|