summaryrefslogtreecommitdiff
path: root/src/script.c
diff options
context:
space:
mode:
authorPokeCodec <67983839+PokeCodec@users.noreply.github.com>2020-08-28 14:00:31 -0400
committerPokeCodec <67983839+PokeCodec@users.noreply.github.com>2020-08-28 14:00:31 -0400
commit1515a2ecc489a8976c4a26a3bed73edaf444d403 (patch)
tree6892723a22f0a9262e18781fb0d59b7f85fe0df9 /src/script.c
parent5faf2507080e3a3a37651cf0e89fdaef976fedd6 (diff)
Fix To-Dos
Diffstat (limited to 'src/script.c')
-rw-r--r--src/script.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script.c b/src/script.c
index 9ba1a7429..889c25765 100644
--- a/src/script.c
+++ b/src/script.c
@@ -26,9 +26,9 @@ void InitScriptContext(struct ScriptContext *ctx, void *cmdTable, void *cmdTable
s32 i;
ctx->mode = 0;
- ctx->scriptPtr = 0;
+ ctx->scriptPtr = NULL;
ctx->stackDepth = 0;
- ctx->nativePtr = 0;
+ ctx->nativePtr = NULL;
ctx->cmdTable = cmdTable;
ctx->cmdTableEnd = cmdTableEnd;
@@ -55,7 +55,7 @@ void SetupNativeScript(struct ScriptContext *ctx, bool8 (*ptr)(void))
void StopScript(struct ScriptContext *ctx)
{
ctx->mode = 0;
- ctx->scriptPtr = 0;
+ ctx->scriptPtr = NULL;
}
bool8 RunScriptCommand(struct ScriptContext *ctx)