summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorPatrick12115 <115201185+Patrick12115@users.noreply.github.com>2023-09-14 22:52:14 -0400
committerGitHub <noreply@github.com>2023-09-14 21:52:14 -0500
commit0132d3b5e20fb0bd5d5e787b18509fab109b4796 (patch)
tree5358e04aeaccb5807523d043f1e15052a9264679 /soh/src/code
parent3116a9c8b57cb0dfdf7fb5fb39bcc74303ff2bd9 (diff)
[Difficulty Enhancement] Tree Stick Drops (#3171)
* Tree Stick Drops * Removed Unneeded i * formatting blunder * Stick Lottery * Change rand functions --------- Co-authored-by: Garrett Cox <garrettjcox@gmail.com>
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_en_item00.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/z_en_item00.c b/soh/src/code/z_en_item00.c
index 9d2b2dd74..fc8bbd669 100644
--- a/soh/src/code/z_en_item00.c
+++ b/soh/src/code/z_en_item00.c
@@ -1523,7 +1523,7 @@ s16 func_8001F404(s16 dropId) {
if (LINK_IS_ADULT) {
if (dropId == ITEM00_SEEDS) {
dropId = ITEM00_ARROWS_SMALL;
- } else if (dropId == ITEM00_STICK) {
+ } else if ((dropId == ITEM00_STICK) && !(CVarGetInteger("gTreeStickDrops", 0))) {
dropId = ITEM00_RUPEE_GREEN;
}
} else {