I'm trying to show a picture inside the battleScene. I'm using this code inside a script:
$gameScreen.showPicture(11, $gameVariables.value(162).toString(), 1, 0, -50, 100, 100, 255, 0);
I verified the image name is correct and a string value. The script isn't executed and in the console when I enter it manually, it returns undefined. Any ideas on why is this happening or how to correctly implement the showPicture command?
I'd rather not make it with the event commands as it would require 24 conditionals inside a common event to make what I want to do.
$gameScreen.showPicture(11, $gameVariables.value(162).toString(), 1, 0, -50, 100, 100, 255, 0);
I verified the image name is correct and a string value. The script isn't executed and in the console when I enter it manually, it returns undefined. Any ideas on why is this happening or how to correctly implement the showPicture command?
I'd rather not make it with the event commands as it would require 24 conditionals inside a common event to make what I want to do.