OoT: big poe count option returns

This commit is contained in:
espeon65536
2022-05-25 23:52:04 -05:00
committed by Fabian Dill
parent dc558f906c
commit dadd7d4693
3 changed files with 12 additions and 4 deletions

View File

@@ -9,8 +9,7 @@ local script_version = 1
-- Heavily modified form of RiptideSage's tracker
--------------------------------------------------
-- TODO: read this from the ROM
local NUM_BIG_POES_REQUIRED = 1
local NUM_BIG_POES_REQUIRED = 10
-- The offset constants are all from N64 RAM start. Offsets in the check statements are relative.
local save_context_offset = 0x11A5D0
@@ -1556,6 +1555,8 @@ local item_queue = {}
local first_connect = true
local game_complete = false
NUM_BIG_POES_REQUIRED = mainmemory.read_u8(rando_context + 0x0CEE)
local bytes_to_string = function(bytes)
local string = ''
for i=0,#(bytes) do