So it appears that cleaning up the code isn't fixing bugs that are popping up. Sigh.
What's happening is that, upon going to a new town, the string at the bottom left corner is still popping up, and it's making menu noises. Moving up and down "selects" other towns, and hitting enter will bring you to them. Also, cancelling sometimes makes the camera swoosh down, and spit out hash.
Code: plotscript, worldmapnewposeto, begin
#Arrows and all that
write map block (24, 27, 162, 3)
write map block (24, 27, 210, 4)
write map block (24, 31, 170, 3)
write map block (24, 31, 218, 4)
$str:townname="New Poseto"
show string (str:townname)
wait (1)
#Key input
variable(still_waiting) #this will be the indicator of when to move on
still_waiting:=true #right now, the player hasn't pressed a correct key yet
while ( still_waiting == true ) do(
wait for key
if (key is pressed (01) || key is pressed (56)) then(
traintravelquit
still_waiting:=false
)
if (key is pressed (72)) then(
worldmapnpfs
still_waiting:=false
)
if (key is pressed (28) || key is pressed (29) || key is pressed (57)) then(
worldmapnpnp
still_waiting:=false
)
)
end
plotscript, worldmapfaust, begin
#Arrows and all that
write map block (24, 22, 162, 3)
write map block (24, 22, 210, 4)
write map block (24, 26, 166, 3)
write map block (24, 26, 214, 4)
write map block (22, 24, 170, 3)
write map block (22, 24, 218, 4)
write map block (26, 24, 170, 3)
write map block (26, 24, 218, 4)
$str:townname="Faust"
show string (str:townname)
wait (1)
#Key input
variable(still_waiting) #this will be the indicator of when to move on
still_waiting:=true #right now, the player hasn't pressed a correct key yet
while ( still_waiting == true ) do(
wait for key
if (key is pressed (01) || key is pressed (56)) then(
traintravelquit
still_waiting:=false
)
if (key is pressed (72)) then(
worldmapfsws
still_waiting:=false
)
if (key is pressed (80)) then(
worldmapfsnp
still_waiting:=false
)
if (key is pressed (28) || key is pressed (29) || key is pressed (57)) then(
worldmapfsfs
still_waiting:=false
)
)
end
plotscript, worldmapwhitesands, begin
#Arrows and all that
write map block (26, 23, 166, 3)
write map block (26, 23, 214, 4)
$str:townname="White Sands"
show string (str:townname)
wait (1)
#Key input
variable(still_waiting) #this will be the indicator of when to move on
still_waiting:=true #right now, the player hasn't pressed a correct key yet
while ( still_waiting == true ) do(
wait for key
if (key is pressed (01) || key is pressed (56)) then(
traintravelquit
still_waiting:=false
)
if (key is pressed (80)) then(
worldmapwsfs
still_waiting:=false
)
if (key is pressed (28) || key is pressed (29) || key is pressed (57)) then(
worldmapwsws
still_waiting:=false
)
)
end
plotscript, worldmapnpfs, begin
#Moving from New Poseto to Faust
show no value
play sound (1)
write map block (24, 29, 0, 1)
write map block (24, 29, 0, 2)
write map block (24, 27, 0, 3)
write map block (24, 27, 0, 4)
write map block (24, 31, 0, 3)
write map block (24, 31, 0, 4)
write map block (24, 24, 160, 1)
write map block (24, 24, 208, 2)
wait (1)
focus camera (24, 24, 10)
wait for camera
worldmapfaust
wait
end
plotscript, worldmapfsnp, begin
#Moving from Faust to New Poseto
show no value
play sound (1)
write map block (24, 24, 0, 1)
write map block (24, 24, 0, 2)
write map block (24, 22, 0, 3)
write map block (24, 22, 0, 4)
write map block (24, 26, 0, 3)
write map block (24, 26, 0, 4)
write map block (22, 24, 0, 3)
write map block (22, 24, 0, 4)
write map block (26, 24, 0, 3)
write map block (26, 24, 0, 4)
write map block (24, 29, 160, 1)
write map block (24, 29, 208, 2)
wait (1)
focus camera (24, 29, 10)
wait for camera
worldmapnewposeto
wait
end
plotscript, worldmapfsws, begin
#Moving from Faust to White Sands
show no value
play sound (1)
write map block (24, 24, 0, 1)
write map block (24, 24, 0, 2)
write map block (24, 22, 0, 3)
write map block (24, 22, 0, 4)
write map block (24, 26, 0, 3)
write map block (24, 26, 0, 4)
write map block (22, 24, 0, 3)
write map block (22, 24, 0, 4)
write map block (26, 24, 0, 3)
write map block (26, 24, 0, 4)
write map block (26, 21, 160, 1)
write map block (26, 21, 208, 2)
wait (1)
focus camera (26, 21, 10)
wait for camera
worldmapwhitesands
wait
end
plotscript, worldmapwsfs, begin
#Moving from White Sands to Faust
show no value
play sound (1)
write map block (26, 21, 0, 1)
write map block (26, 21, 0, 2)
write map block (26, 23, 0, 3)
write map block (26, 23, 0, 4)
write map block (24, 24, 160, 1)
write map block (24, 24, 208, 2)
wait (1)
focus camera (24, 24, 10)
wait for camera
worldmapfaust
wait
end
plotscript, worldmapnpnp, begin
#Entering New Poseto
if (check tag (12)) then (
traintravelquit
)
show no value
set tag (13, off)
set tag (14, off)
play sound (50)
wait (1)
fade screen out
wait (1)
teleport to map (1, 25, 9)
camera follows hero
wait (1)
fade screen in
wait (1)
resume player
resume npcs
end
plotscript, worldmapfsfs, begin
#Entering Emperor Alexi IV Terminal
if (check tag (13)) then (
traintravelquit
)
show no value
set tag (12, off)
set tag (14, off)
play sound (50)
wait (1)
fade screen out
wait (1)
teleport to map (16, 1, 1)
camera follows hero
wait (1)
fade screen in
wait (1)
resume player
resume npcs
end
plotscript, worldmapwsws, begin
#Entering White Sands Terminal
if (check tag (14)) then (
traintravelquit
)
show no value
set tag (12, off)
set tag (13, off)
play sound (50)
wait (1)
fade screen out
wait (1)
teleport to map (17, 1, 1)
camera follows hero
wait (1)
fade screen in
wait (1)
resume player
resume npcs
end
plotscript, traintravel, begin
#Check to see what map player is in
suspend player
suspend npcs
wait (1)
if (check tag (12)) then (
#Mode 7 in New Poseto
load tileset (15)
wait (2)
load tileset (16)
wait (2)
load tileset (17)
wait (2)
load tileset (18)
wait (2)
load tileset (19)
wait (2)
show backdrop (1)
wait (1)
#Mode 7 in world map (New Poseto)
teleport to map (14, 0, 16)
wait (1)
load tileset (14)
put camera (330, 490)
wait (1)
show map
wait (2)
load tileset (13)
wait (2)
load tileset (12)
wait (2)
load tileset (11)
wait (2)
load tileset (10)
wait (2)
load tileset
wait (1)
write map block (24, 29, 160, 1)
write map block (24, 29, 208, 2)
write map block (24, 29, 172, 3)
write map block (24, 29, 220, 4)
show text box (211)
wait for text box
play sound (1)
wait (3)
worldmapnewposeto
)
if (check tag (13)) then (
#Mode 7 in Faust
#Mode 7 in world map (Faust)
teleport to map (14, 0, 16)
wait (1)
load tileset (14)
put camera (330, 390)
wait (1)
show map
wait (2)
load tileset (13)
wait (2)
load tileset (12)
wait (2)
load tileset (11)
wait (2)
load tileset (10)
wait (2)
load tileset
wait (2)
write map block (24, 24, 160, 1)
write map block (24, 24, 208, 2)
write map block (24, 24, 172, 3)
write map block (24, 24, 220, 4)
show text box (211)
wait for text box
play sound (1)
worldmapfaust
)
if (check tag (14)) then (
#Mode 7 in White Sands
#Mode 7 in world map (White Sands)
teleport to map (14, 0, 16)
wait (1)
load tileset (14)
put camera (370, 330)
wait (1)
show map
wait (2)
load tileset (13)
wait (2)
load tileset (12)
wait (2)
load tileset (11)
wait (2)
load tileset (10)
wait (2)
load tileset
wait (2)
write map block (26, 21, 160, 1)
write map block (26, 21, 208, 2)
write map block (26, 21, 172, 3)
write map block (26, 21, 220, 4)
show text box (211)
wait for text box
play sound (1)
worldmapwhitesands
)
end
plotscript, traintravelquit, begin
#Undoing the blinkies
show no value
play sound (7)
wait (1)
write map block (24, 29, 0, 1)
write map block (24, 29, 0, 2)
write map block (24, 29, 0, 3)
write map block (24, 29, 0, 4)
write map block (24, 24, 0, 1)
write map block (24, 24, 0, 2)
write map block (24, 24, 0, 3)
write map block (24, 24, 0, 4)
write map block (26, 21, 0, 1)
write map block (26, 21, 0, 2)
write map block (26, 21, 0, 3)
write map block (26, 21, 0, 4)
write map block (24, 27, 0, 3)
write map block (24, 27, 0, 4)
write map block (24, 31, 0, 3)
write map block (24, 31, 0, 4)
write map block (24, 22, 0, 3)
write map block (24, 22, 0, 4)
write map block (24, 26, 0, 3)
write map block (24, 26, 0, 4)
write map block (22, 24, 0, 3)
write map block (22, 24, 0, 4)
write map block (26, 24, 0, 3)
write map block (26, 24, 0, 4)
write map block (26, 23, 0, 3)
write map block (26, 23, 0, 4)
#Mode 7ing out
wait (1)
load tileset (10)
wait (2)
load tileset (11)
wait (2)
load tileset (12)
wait (2)
load tileset (13)
wait (2)
load tileset (14)
wait (2)
show backdrop (1)
wait (1)
if (check tag (12)) then (
#Mode 7ing into New Poseto
set tag (12, off)
teleport to map (1, 25, 9)
camera follows hero
load tileset (19)
wait (1)
show map
wait (2)
load tileset (18)
wait (2)
load tileset (17)
wait (2)
load tileset (16)
wait (2)
load tileset (15)
wait (2)
load tileset
wait (2)
resume player
resume NPCs
)
if (check tag (13)) then (
#Mode 7ing into Faust
set tag (13, off)
#Add graphics in, you lazy person
wait (1)
teleport to map (16, 1, 1)
camera follows hero
wait (1)
show map
wait (1)
resume player
resume npcs
)
if (check tag (14)) then (
#Mode 7ing into White Sands
set tag (14, off)
#Lazy person!
wait (1)
teleport to map (17, 1, 1)
camera follows hero
wait (1)
show map
wait (1)
resume player
resume npcs
)
end