diff --git a/P3D/Content/Data/Scripts/frontier/shops/berry/grabbag.dat b/P3D/Content/Data/Scripts/frontier/shops/berry/grabbag.dat index 1915dbb22..277078b76 100644 --- a/P3D/Content/Data/Scripts/frontier/shops/berry/grabbag.dat +++ b/P3D/Content/Data/Scripts/frontier/shops/berry/grabbag.dat @@ -3,6 +3,10 @@ version=2 @options.SetCancelIndex(3) @options.show(Standard Bag 5 BP,Special Bag 10 BP,Info,Exit) :when:Standard Bag 5 BP + :if:<5 + @text.show(You don't have enough BP!~Come back soon!) + :exitscript + :end @storage.set(integer,berryloop,0) :while:15> @storage.set(integer,berrytogive,) @@ -11,6 +15,10 @@ version=2 @storage.set(integer,berryloop,+1) :endwhile :when:Special Bag 10 BP + :if:<10 + @text.show(You don't have enough BP!~Come back soon!) + :exitscript + :end @storage.set(integer,berryloop,0) :while:10> @storage.set(integer,berrytogive,) diff --git a/P3D/Content/Data/Scripts/frontier/shops/juice/daily.dat b/P3D/Content/Data/Scripts/frontier/shops/juice/daily.dat index e835dd150..2df8e60bb 100644 --- a/P3D/Content/Data/Scripts/frontier/shops/juice/daily.dat +++ b/P3D/Content/Data/Scripts/frontier/shops/juice/daily.dat @@ -112,8 +112,13 @@ version=2 @storage.set(string,drink,) @storage.set(integer,value,) @storage.set(integer,select,5) -:endwhen - +:endwhen + +:if:<)> + @text.show(You don't have enough BP!~Come again soon!) + :exitscript +:end + @text.show(Which Pokemon is this~drink for?) @pokemon.select :if:=-1