summaryrefslogtreecommitdiff
path: root/arm9/src/script.c
diff options
context:
space:
mode:
authorAkira Akashi <rubenru09@aol.com>2021-06-10 22:42:30 +0100
committerGitHub <noreply@github.com>2021-06-10 22:42:30 +0100
commite8d0b49a6864d6077a5d7b1c123c49481fe14bfe (patch)
treed9c489014e94856bc94273499ea7b5eca66ac0dc /arm9/src/script.c
parent68013d52ebaf7094a782260d97888e9cb6b1d172 (diff)
parentbf8b0b7a9f33de9de350927b5c4001909da3c889 (diff)
Merge pull request #401 from PikalaxALT/pikalax_work
[LEAK-INFORMED] Match and document funcs in unk_02016B94.c
Diffstat (limited to 'arm9/src/script.c')
-rw-r--r--arm9/src/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm9/src/script.c b/arm9/src/script.c
index 3de2ee73..3e8cca58 100644
--- a/arm9/src/script.c
+++ b/arm9/src/script.c
@@ -76,7 +76,7 @@ THUMB_FUNC u8 RunScriptCommand(struct ScriptContext *ctx)
cmdCode = ScriptReadHalfword(ctx);
if (cmdCode >= ctx->cmdCount)
{
- GF_AssertFail();
+ GF_ASSERT(0);
ctx->mode = 0;
return FALSE;
}