diff options
| author | Tal Hayon <talhayon1@gmail.com> | 2022-02-14 06:25:19 +0200 |
|---|---|---|
| committer | Tal Hayon <talhayon1@gmail.com> | 2022-02-14 06:25:19 +0200 |
| commit | 03c6c4a8a8548274a75b41ffe93aa7aba3ed0cc0 (patch) | |
| tree | f867f947e0769cf13d9d9276c70deac5274d027b /src/script.c | |
| parent | 8a2a8f620726095faddca2ebfa775a92d4438a0c (diff) | |
Decompile stockwell asm_funcs
Diffstat (limited to 'src/script.c')
| -rw-r--r-- | src/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.c b/src/script.c index 6c837afd..40dc0edd 100644 --- a/src/script.c +++ b/src/script.c @@ -823,7 +823,7 @@ void ScriptCommand_HasRupees(Entity* entity, ScriptExecutionContext* context) { } void ScriptCommand_HasShells(Entity* entity, ScriptExecutionContext* context) { - context->condition = (context->scriptInstructionPointer[1] <= gSave.stats.field_0x1a); + context->condition = (context->scriptInstructionPointer[1] <= gSave.stats.shells); gActiveScriptInfo.flags |= 1; } |
