summaryrefslogtreecommitdiff
path: root/src/randomcrap.S
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-05-22 21:18:44 +0200
committerTreeki <treeki@gmail.com>2013-05-22 21:18:44 +0200
commit483ebc6f00a35e972ef90fd81dbda39d114960e4 (patch)
treed7978030ff688c0f722819c60b1495a7c0492a97 /src/randomcrap.S
parentb8cd00c15b3e576921dc0b0da6cbe6b832baa722 (diff)
downloadkamek-483ebc6f00a35e972ef90fd81dbda39d114960e4.tar.gz
kamek-483ebc6f00a35e972ef90fd81dbda39d114960e4.zip
added red ring event control
Diffstat (limited to '')
-rw-r--r--src/randomcrap.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/randomcrap.S b/src/randomcrap.S
index 29bf758..fff6c98 100644
--- a/src/randomcrap.S
+++ b/src/randomcrap.S
@@ -384,6 +384,16 @@ llaReturn:
sfsdfsdf: .float 512.0
.text
+
+.global RedRingEventControl
+RedRingEventControl:
+ lwz r10, 4(r31)
+ srwi. r10, r10, 28
+ beq dontResetRREDelay
+ li r5, 0
+dontResetRREDelay:
+ b set__10dFlagMgr_cFUcibbbUi
+
.global EFB_Crap
.extern EFBMagic2__Fv
.extern ContinueFromEFBMagic2