diff --git a/src/code_e92d0_len_5da0.c b/src/code_e92d0_len_5da0.c index e4351fa1cd..36bdfa8ab9 100644 --- a/src/code_e92d0_len_5da0.c +++ b/src/code_e92d0_len_5da0.c @@ -395,7 +395,7 @@ s32 func_802C73B0(script_context* script) { s32 func_802C73B8(script_context* script) { s32 i; - for (i = 0; i < 0x80; i++) { // TODO figure out what this represents + for (i = 0; i < ARRAY_COUNT(gCurrentScriptListPtr); i++) { if (script == get_script_by_index(i)) { break; }