From 03c6c4a8a8548274a75b41ffe93aa7aba3ed0cc0 Mon Sep 17 00:00:00 2001 From: Tal Hayon Date: Mon, 14 Feb 2022 06:25:19 +0200 Subject: Decompile stockwell asm_funcs --- src/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script.c') 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; } -- cgit v1.2.3