summaryrefslogtreecommitdiff
path: root/src/randomcrap.S
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-11-25 15:35:13 -0600
committerColin Noga <Tempus@chronometry.ca>2012-11-25 15:35:13 -0600
commitdb34c0af338b8cf04f50b4ade98668869fd303e1 (patch)
treee373abe027205c0e8414cf6146ded59112b0ab72 /src/randomcrap.S
parent72b9b71b5b7fb5757849d19af3dfae21d0ab9c92 (diff)
parent1609b49c5c1777e663909b1936b2f8921677f230 (diff)
downloadkamek-db34c0af338b8cf04f50b4ade98668869fd303e1.tar.gz
kamek-db34c0af338b8cf04f50b4ade98668869fd303e1.zip
Merge branch 'level-select' of ssh://treeki.rustedlogic.net:30000/Kamek into level-select
Diffstat (limited to 'src/randomcrap.S')
-rw-r--r--src/randomcrap.S20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/randomcrap.S b/src/randomcrap.S
index d3a0388..edf5fef 100644
--- a/src/randomcrap.S
+++ b/src/randomcrap.S
@@ -237,6 +237,26 @@ EndSCM:
addi r1, r1, 0x10
blr
+.global PowEvent
+PowEvent:
+ subi r3, r3, 0x4CC
+ lwz r3, 4(r3)
+ clrlwi. r3, r3, 24
+ beqlr
+ subi r4, r3, 1
+ lis r3, instance__10dFlagMgr_c@h
+ ori r3, r3, instance__10dFlagMgr_c@l
+ lwz r3, 0(r3)
+ li r5, 0
+ li r6, 1
+ li r7, 0
+ li r8, 0
+ li r9, 0
+ b set__10dFlagMgr_cFUcibbbUi
+
+.extern set__10dFlagMgr_cFUcibbbUi
+.extern instance__10dFlagMgr_c
+
#AllocLog:
# stwu r1, -0x20(r1)
# mflr r0