Here is an example. In my current set up, when the game starts, the title screen and music are to be accompanied by a menu, like most RPGs. I am doing that like this:
Code:
plotscript, game startup, begin #Start up the game
suspend player
fade screen out
wait
play song (song:Opening Theme PPP)
load palette (2)
show backdrop (6)
wait
if(save slot used(1) || save slot used(2) || save slot used(3) || save slot used(4)) then (set tag(31,true))
open menu (13)
wait
fade screen in
end
suspend player
fade screen out
wait
play song (song:Opening Theme PPP)
load palette (2)
show backdrop (6)
wait
if(save slot used(1) || save slot used(2) || save slot used(3) || save slot used(4)) then (set tag(31,true))
open menu (13)
wait
fade screen in
end
The goal here is to blacken the screen, then have it come up with all of the relevant things intact. What actually happens is that a new game is started, I can see the character for about half a second, and then I can see the palette change and then the fade out, which then fades in to the background. Very messy!
I've actually also got another issue, somewhat related. Slices that are drawn to the screen don't seem to be remembered on load. That's no problem, I can just load them again!
Code:
plotscript, load game, begin
load palette (0)
update palette
show overlay(night)
end
plotscript, load game, begin
load palette (0)
update palette
show overlay(night)
end
This is set, in custom, to my load game script. "Show overlay" works everywhere else: on a new game and every time I enter a new map (which changes day/night.) Finally, my "menu 13" above has "Load Game" which triggers special menu "Load" - which is the way to get this load game plotscript to run.
But it doesn't seem to work! And yet... the script must be running, since palette 0 is loaded correctly, rather than using palette 2 of the title screen.
I'm going to keep messing with it, because I'm sure it's something simple on my end, but if anyone can point me in the right direction that would be awesome.



