summaryrefslogtreecommitdiff
path: root/src/levelspecial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/levelspecial.cpp')
-rw-r--r--src/levelspecial.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/levelspecial.cpp b/src/levelspecial.cpp
index b5447e9..f57e14a 100644
--- a/src/levelspecial.cpp
+++ b/src/levelspecial.cpp
@@ -26,8 +26,8 @@ struct EventTable_t {
extern EventTable_t *EventTable;
-// extern u16 TimeStopFlag;
-// extern u32 TimerBranch;
+extern u16 TimeStopFlag;
+extern u32 TimerBranch;
extern u32 AlwaysDrawFlag;
extern u32 AlwaysDrawBranch;
@@ -62,7 +62,7 @@ fBase_c *FindActorByID(u32 id);
bool ResetAfterLevel(void) {
// TimeStopFlag = 0;
- // TimerBranch = 0x3403FFA4;
+ TimerBranch = 0x3403FFA4;
MarioDescentRate = -4;
MarioJumpMax = 3.628;
MarioJumpArc = 2.5;
@@ -120,9 +120,9 @@ void LevelSpecial_Update(LevelSpecial *self) {
// TimeStopFlag = self->effect * 0x100;
// break;
- // case 2: // Stop Timer
- // TimerBranch = 0x7C601B78;
- // break;
+ case 2: // Stop Timer
+ TimerBranch = 0x7C601B78;
+ break;
case 3: // Mario Gravity
@@ -262,9 +262,9 @@ void LevelSpecial_Update(LevelSpecial *self) {
// TimeStopFlag = 0;
// break;
- // case 2: // Stop Timer
- // TimerBranch = 0x3403FFA4;
- // break;
+ case 2: // Stop Timer
+ TimerBranch = 0x3403FFA4;
+ break;
case 3: // Mario Gravity