[InternetExplorer]
80578000: Set this to the SFX ID you want to play.
80578004: Stores the ID of the last played sound effect.
If you hold D-pad right, the next played sound effect will be the specified ID instead of the usual sound. Then, the specified ID is incremented.
Holding D-pad left will decrement the ID instead.
(1.02)
C238CFF4 0000000A
3DE08046 61EFB109
8A0F0000 3DE08057
61EF8000 822F0000
906F0004 2C100002
41820010 2C100001
41820014 48000018
7E238B78 3A310001
4800000C 7E238B78
3A31FFFF 922F0000
7C0802A6 00000000
ASM:
lis r15,0x8046
ori r15,r15,0xb109
lbz r16,0(r15)
lis r15,0x8057
ori r15,r15,0x8000 lwz r17,0(r15)
stw r3,4(r15)
cmpwi r16,2
beq PLUS
cmpwi r16,1
beq MINUS
b END
PLUS: mr r3,r17
addi r17,r17,1
b END
MINUS:
mr r3,r17
subi r17,r17,1
END:
stw r17,0(r15) mflr r0