Mario Kart Wii Gecko Codes, Cheats, & Hacks
Show Quit Confirmation Screen in Single Player [CLF78] - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51)
+--- Forum: Offline Non-Item (https://mariokartwii.com/forumdisplay.php?fid=53)
+--- Thread: Show Quit Confirmation Screen in Single Player [CLF78] (/showthread.php?tid=1884)



Show Quit Confirmation Screen in Single Player [CLF78] - CLF78 - 08-12-2021

Title is self-explanatory.

NTSC-U
C25FB7B8 00000004
7FE3FB78 3880002C
3D80805F 618C1E54
7D8903A6 4E800421
7FE3FB78 00000000
C25FB8FC 00000004
7FE3FB78 3880002C
3D80805F 618C1E54
7D8903A6 4E800421
7FE3FB78 00000000

PAL
C262C66C 00000004
7FE3FB78 3880002C
3D808062 618C2D08
7D8903A6 4E800421
7FE3FB78 00000000
C262C7B0 00000004
7FE3FB78 3880002C
3D808062 618C2D08
7D8903A6 4E800421
7FE3FB78 00000000

NTSC-J
C262BDB8 00000004
7FE3FB78 3880002C
3D808062 618C2454
7D8903A6 4E800421
7FE3FB78 00000000
C262BEFC 00000004
7FE3FB78 3880002C
3D808062 618C2454
7D8903A6 4E800421
7FE3FB78 00000000

NTSC-K
C261AA64 00000004
7FE3FB78 3880002C
3D808061 618C1100
7D8903A6 4E800421
7FE3FB78 00000000
C261ABA8 00000004
7FE3FB78 3880002C
3D808061 618C1100
7D8903A6 4E800421
7FE3FB78 00000000

Source:
Code:
# Address ports
.set region, ''
.if (region == 'P' || region == 'p')
    .set CreateScreen, 0x80622D08
.elseif (region == 'U' || region == 'u' || region == 'E' || region == 'e')
    .set CreateScreen, 0x805F1E54
.elseif (region == 'J' || region == 'j')
    .set CreateScreen, 0x80622454
.elseif (region == 'K' || region == 'k')
    .set CreateScreen, 0x80611100
.else
    .err
.endif

# Create the screen, the game handles the rest by itself
mr r3, r31
li r4, 0x2C
lis r12, CreateScreen@h
ori r12, r12, CreateScreen@l
mtctr r12
bctrl

# Original instruction
mr r3, r31

Code created by: CLF78