summaryrefslogtreecommitdiff
path: root/soh/src/code/code_800FD970.c
diff options
context:
space:
mode:
authorMalkierian <malkierian@live.com>2023-03-22 17:59:08 -0700
committerGitHub <noreply@github.com>2023-03-22 20:59:08 -0400
commite76b990c8a37d4877ebd4aef9ab8093450e9a0c1 (patch)
tree969c1e2acb9c350a36c2c5d790750f1c17a2f70f /soh/src/code/code_800FD970.c
parent533ee9379addc019a1c622c6a03c6271508f81e5 (diff)
Randomzier: Fix starting rupee item collection (#2645)
* When rupees are given as starting items, they still modify `gSaveContext.rupeeAccumulator`, which means that if you make a new file, start it, and reload without saving, or exit SoH before starting the new file, those rupees were lost. This adds a check for `gPlayState` being NULL, and if it is, adds those initial rupees to the rupee count directly. * Update soh/src/code/z_parameter.c Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com> --------- Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com>
Diffstat (limited to 'soh/src/code/code_800FD970.c')
0 files changed, 0 insertions, 0 deletions