diff options
| author | notyourav <65437533+notyourav@users.noreply.github.com> | 2022-02-17 19:56:49 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-17 19:56:49 -0800 |
| commit | 155a440bdd8f394add75398124d701d4faefa734 (patch) | |
| tree | 4ae80de568f40e3756fd3bd27049255fab453aa5 /src/script.c | |
| parent | 2c39b8ccf9b7077fa254d8651f8126611d0f3cb2 (diff) | |
| parent | 03c6c4a8a8548274a75b41ffe93aa7aba3ed0cc0 (diff) | |
Merge pull request #386 from hatal175/stockwell
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 884ade4a..d633841e 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; } |
