Key Remapper; GCN [Vega] GCN controller only. This code allows you to select a Button (Button 1) that will activate another Button (Button 2). Button 1's original function is disabled. XXXX = Button 1 YYYY = Button 2 NTSC-U Rev1 C2010D08 00000004 3980XXXX 7C8B6039 41A20010 7C846278 6084YYYY B0870948 A0860004 00000000 Code creator: Vega #Address #NTSC-U = 80010D08 #Using address AFTER 0x80010D04 so it doesn't use RF code hook address #r4 (before default instruction) = Controller halfword input #r7 + 0x0948 = Where to write Input #Set Button 1 li r12, 0x0200 #B button used for compilaton, adjust this accordingly #Check if Button 1 was at least pressed and. r11, r4, r12 beq+ default_instruction #Remove Button 1's value from Controller Halfword input xor r4, r4, r12 #Now place in Button 2's value as the replacement ori r4, r4, 0x0100 #A button used for compilation, adjust this accordingly #Write new Input to Memory sth r4, 0x0948 (r7) #Default Instruction default_instruction: lhz r4, 0x0004 (r6)