mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
Fix hard-coded loop counter
This commit is contained in:
parent
162f02c846
commit
9a518db863
@ -395,7 +395,7 @@ s32 func_802C73B0(script_context* script) {
|
|||||||
s32 func_802C73B8(script_context* script) {
|
s32 func_802C73B8(script_context* script) {
|
||||||
s32 i;
|
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)) {
|
if (script == get_script_by_index(i)) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user