diff --git a/GEN 3/BizHawk/FRLG_RNG_BizHawk_SM.lua b/GEN 3/BizHawk/FRLG_RNG_BizHawk_SM.lua index 4564815..c401b4c 100644 --- a/GEN 3/BizHawk/FRLG_RNG_BizHawk_SM.lua +++ b/GEN 3/BizHawk/FRLG_RNG_BizHawk_SM.lua @@ -1271,7 +1271,7 @@ end function isInitialSeedFound() local initial = read32Bit(initialSeedAddr) - for i = 1, table.getn(botTargetInitialSeeds) do + for i = 1, #(botTargetInitialSeeds) do if initial == botTargetInitialSeeds[i] then return true end @@ -1541,4 +1541,4 @@ while not wrongGameVersion do end emu.frameadvance() -end \ No newline at end of file +end