Lemony's Default Map Tone problem when loading in battle.

Oriceles

Veteran
Veteran
Joined
Apr 4, 2012
Messages
384
Reaction score
71
First Language
English
Primarily Uses
N/A
I'm using the script specified in title and when I try to start a battle I get the next error window:



When I open the Script editor prompts me to the next:



The script is part of Restaff February 2013, but I'll leave the script attached for reference.

Default Map Tone & In Game Map Screen Tone Changer.txt

Any help is highly appreciated I really like this script since is the only method I know to load screentones before the player reach the map.
 

Attachments

Nathan Frost

... only the world's greatest Secret Agent.
Veteran
Joined
Sep 23, 2014
Messages
243
Reaction score
74
First Language
English
Primarily Uses
I'm taking a quick guess as I don't have RM with me at the moment, but replace that line to this.

I'm pretty sure that's what's causing the issue as scene_battle doesn't have that def in it.

Code:
if SceneManager.scene_is?(Scene_Map) ; return if SceneManager.scene.ldmt_set ; end
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
I'm assuming that variable needs to be set before you can move by input.

Code:
return if SceneManager.scene.is_a?(Scene_Map) && SceneManager.scene.ldmt_set
I'm also assuming the problem occurs when you're pressing the direction keys during battle?
 
Last edited by a moderator:

Nathan Frost

... only the world's greatest Secret Agent.
Veteran
Joined
Sep 23, 2014
Messages
243
Reaction score
74
First Language
English
Primarily Uses
I'm assuming that variable needs to be set before you can move by input.

return if SceneManager.scene.is_a?(Scene_Map) && SceneManager.scene.ldmt_setI'm also assuming the problem occurs when you're pressing the direction keys during battle?
Ah that's better, I'm busy at work so that's why I wrote it the way I did. Thanks for fixing for me though Tsukihime. You'll want to use her way.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
 

Oriceles

Veteran
Veteran
Joined
Apr 4, 2012
Messages
384
Reaction score
71
First Language
English
Primarily Uses
N/A
I'm assuming that variable needs to be set before you can move by input.

return if SceneManager.scene.is_a?(Scene_Map) && SceneManager.scene.ldmt_setI'm also assuming the problem occurs when you're pressing the direction keys during battle?
no, happens when I transition from map to battle, like moving around searching for random encounter to happen, then it crashes.

Should I modify line 190 to that one?
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,863
Messages
1,017,053
Members
137,571
Latest member
grr
Top