[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>
This commit is contained in:
Patrick12115
2023-09-14 22:52:14 -04:00
committed by GitHub
parent 3116a9c8b5
commit 0132d3b5e2
3 changed files with 12 additions and 2 deletions

View File

@@ -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 {