Skip to content

Commit

Permalink
Merge pull request TestRunnerSRL#50 from pidgezero-one/triforce-hunt-…
Browse files Browse the repository at this point in the history
…helper

Allow setting # of triforce pieces in oot.sav from Lua console
  • Loading branch information
TestRunnerSRL authored Jul 29, 2020
2 parents 6a5cd41 + e032547 commit 7b95bb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bizhawk-co-op/helpers/oot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,9 @@ local Save_Context = Layout:create {

magic_meter_size = e( 0x13F4, Int_16 ),

-- ex: oot.sav.triforce_pieces = 0x01 - doesn't seem to work with decimal vals
triforce_pieces = e( 0xD4 + 0x1C * 0x48 + 0x10, Int_32)

}

-- events:
Expand Down

0 comments on commit 7b95bb5

Please sign in to comment.