secret give back the berry before a logic split instead of after on one branch

This commit is contained in:
darkfire006 2024-01-16 01:50:39 -06:00
parent f685dd5506
commit 07bc005c47
1 changed files with 1 additions and 1 deletions

View File

@ -18,12 +18,12 @@ version=2
@text.show(Please select your~second berry.) @text.show(Please select your~second berry.)
@item.select(plants,2000-2066) @item.select(plants,2000-2066)
@item.give(<storage.get(int,berry1)>,1)
:if:<inventory.selected>=-1 :if:<inventory.selected>=-1
@text.show(Come again soon!) @text.show(Come again soon!)
:end :end
:endif :endif
@storage.set(integer,berry2,<inventory.selected>) @storage.set(integer,berry2,<inventory.selected>)
@item.give(<storage.get(int,berry1)>,1)
@storage.set(string,drink,fail) @storage.set(string,drink,fail)
@storage.set(integer,value,-1) @storage.set(integer,value,-1)