summaryrefslogtreecommitdiff
path: root/src/rotating_gate.c
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2017-07-21 17:31:28 -0500
committerGitHub <noreply@github.com>2017-07-21 17:31:28 -0500
commit68e47a6fa0b56451223c22dc9a759534c988db5b (patch)
tree75ce6402ba5af694c533f2aa1ae7e4b92a63725f /src/rotating_gate.c
parentc1a82f1aabc93e5b3c5f2729f70f4a11fc8a5748 (diff)
parent4b3cdd869264ed2705558a7c74d521e2a290a86e (diff)
Merge pull request #370 from drifloony/ram_variables
map out ram variables
Diffstat (limited to 'src/rotating_gate.c')
-rw-r--r--src/rotating_gate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rotating_gate.c b/src/rotating_gate.c
index d12a21240..bb3c31dfc 100644
--- a/src/rotating_gate.c
+++ b/src/rotating_gate.c
@@ -565,9 +565,9 @@ static const u8 sRotatingGate_ArmLayout[][GATE_ARM_WEST + 1][GATE_ARM_MAX_LENGTH
},
};
-extern u8 gRotatingGate_GateSpriteIds[ROTATING_GATE_PUZZLE_MAX];
-extern const struct RotatingGatePuzzle *gRotatingGate_PuzzleConfig;
-extern u8 gRotatingGate_PuzzleCount;
+static EWRAM_DATA u8 gRotatingGate_GateSpriteIds[ROTATING_GATE_PUZZLE_MAX] = {0};
+static EWRAM_DATA const struct RotatingGatePuzzle *gRotatingGate_PuzzleConfig = NULL;
+static EWRAM_DATA u8 gRotatingGate_PuzzleCount = 0;
static int GetCurrentMapRotatingGatePuzzleType(void)
{