- Joined
- Jul 26, 2016
- Messages
- 111
- Reaction score
- 8
- First Language
- English
- Primarily Uses
- RMMV
Does anyone know a way to modify SceneManager.push(Scene_Shop); so that it calls a shop with the Sell button enabled?
I'm calling a shop with items that have randomized prices pulled from variables.
Current script
var goods = [
[0,18,1,$gameVariables.value(0033)],
[0,19,1,$gameVariables.value(0034)],
[0,20,1,$gameVariables.value(0035)],
[0,21,1,$gameVariables.value(0036)]];
SceneManager.push(Scene_Shop);
SceneManager.prepareNextScene(goods, true);
Edit: Figured it out, it was the default "true" from the tutorial I was following.
Double edit: Now I have the sell window, but the ability to sell items is greyed out?
I'm calling a shop with items that have randomized prices pulled from variables.
Current script
var goods = [
[0,18,1,$gameVariables.value(0033)],
[0,19,1,$gameVariables.value(0034)],
[0,20,1,$gameVariables.value(0035)],
[0,21,1,$gameVariables.value(0036)]];
SceneManager.push(Scene_Shop);
SceneManager.prepareNextScene(goods, true);
Edit: Figured it out, it was the default "true" from the tutorial I was following.
Double edit: Now I have the sell window, but the ability to sell items is greyed out?
Last edited by a moderator:
