Pseudo Freeze [JoshuaMK]
#1
Pseudo Freeze [JoshuaMK]

This code lets you press your button of choice to temporarily freeze the game. You can customize how long the freeze lasts for.

(Region Free)
C0000000 00000006
3D80XXXX 618CYYYY
A16C0000 280BZZZZ
4CA20020 39600000
916C0000 3D80TTTT
7D8903A6 7C0004AC
4200FFFC 4E800020



Guide

Note: This code makes use of user input. See this guide for reference on filling in values: https://mkwii.com/showthread.php?tid=44

XXXX = Controller Address (Upper Half)
YYYY = Controller Address (Lower Half)
ZZZZ = Button(s) To Freeze Game
TTTT = How Long the Freeze Lasts (Recommended Value is 5000, Which Lasts For About 12-15 Seconds)



#~~~~~~~#
#Source ASM#
#~~~~~~~#

lis r12, 0x8034
ori r12, r12, 0x3E80
lhz r11, 0 (r12)
cmplwi r11, 0x00F0
bnelr+
li r11, 0
stw r11, 0 (r12)
lis r12, 0x0001
mtctr r12
loop:
sync
bdnz+ loop



Code Creator: JoshuaMK
Was lucky enough to be one of few to learn proper ASM. Now I'm writing codes that I hope amaze!  Tongue
Reply
#2
For me (at main menu), the value of 6000 had me frozen for roughly 20 seconds.
Reply
#3
(08-18-2019, 01:32 PM)Vega Wrote: For me (at main menu), the value of 6000 had me frozen for roughly 20 seconds.
That's interesting, maybe I was thinking of another value.

Now set as 5000, which should last roughly 12-15 seconds
Was lucky enough to be one of few to learn proper ASM. Now I'm writing codes that I hope amaze!  Tongue
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)