summaryrefslogtreecommitdiff
path: root/src/koopatlas
diff options
context:
space:
mode:
Diffstat (limited to 'src/koopatlas')
-rw-r--r--src/koopatlas/starcoin.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/koopatlas/starcoin.cpp b/src/koopatlas/starcoin.cpp
index a0def97..a7a019a 100644
--- a/src/koopatlas/starcoin.cpp
+++ b/src/koopatlas/starcoin.cpp
@@ -373,6 +373,7 @@ static const int secretCode[] = {
static const int secretCodeButtons = WPAD_UP|WPAD_DOWN|WPAD_LEFT|WPAD_RIGHT|WPAD_ONE|WPAD_TWO;
static int secretCodeIndex = 0;
extern bool enableDebugMode;
+extern u8 isReplayEnabled;
void dWMStarCoin_c::beginState_ShowWait() {
visible = true;
@@ -413,8 +414,15 @@ void dWMStarCoin_c::executeState_Wait() {
if (secretCode[secretCodeIndex] == 0) {
secretCodeIndex = 0;
MapSoundPlayer(SoundRelatedClass, SE_VOC_MA_THANK_YOU, 1);
- enableDebugMode = !enableDebugMode;
- OSReport("Debug mode toggled!\n");
+ //enableDebugMode = !enableDebugMode;
+ //OSReport("Debug mode toggled!\n");
+ if (isReplayEnabled != 100) {
+ isReplayEnabled = 100;
+ OSReport("Replay Recording enabled!\n");
+ } else {
+ isReplayEnabled = 0;
+ OSReport("Replay Recording disabled!\n");
+ }
}
return;
} else {