summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/randomcrap.S11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/randomcrap.S b/src/randomcrap.S
index 9532197..b2d34ce 100644
--- a/src/randomcrap.S
+++ b/src/randomcrap.S
@@ -3,7 +3,14 @@
.global TitleScreenFucker
.extern RESTART_CRSIN_LevelStartStruct
.extern SaveFileBuffer
+.extern enableHardMode
TitleScreenFucker:
+ lis r4, enableHardMode@h
+ ori r4, r4, enableHardMode@l
+
+ li r3, 0
+ stw r3, 0(r4)
+
lis r3, RESTART_CRSIN_LevelStartStruct@h
ori r3, r3, RESTART_CRSIN_LevelStartStruct@l
li r4, 0
@@ -557,3 +564,7 @@ UniLogStr: .string "[ULog] returning %8x to: %x > %x > %x > %x > %x > %x\n"
#WillFree: .string "[AH] Freeing %p which is %x bytes\n"
SCMs: .string "Setting music to %d\n"
+
+.global enableHardMode
+enableHardMode:
+ .byte 0