gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,833
Reaction score
1,890
First Language
Spanish
Primarily Uses
RMVXA
...and, who is the author of this Change_Battleback script?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
36,709
Reaction score
9,873
First Language
German
Primarily Uses
RMMV
and what kind of help do you need?

If you want to know how to use and install a script, please follow the link to the tutorial in my signature.
 

BrunoAlex0309

Villager
Member
Joined
Jun 22, 2022
Messages
11
Reaction score
2
First Language
spanish
Primarily Uses
Other
THE AUTHOR IS: rockstar chica is a FNAFB game
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,833
Reaction score
1,890
First Language
Spanish
Primarily Uses
RMVXA
a link to the download would be nice
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,264
Reaction score
1,161
First Language
English
Primarily Uses
RMVXA
The Author is actually KAL posted on RPGMakervxace.net back in 2012
Allows the use of the change battleback command in battle
I had to use the internet archive to get the actual page where it was posted.
Ruby:
#Posted 12 February 2012 - 03:23 AM

#Here try this:


class Game_Interpreter

  alias_method :command_283_orig_kal, :command_283
  def command_283
    command_283_orig_kal
    if SceneManager.scene.is_a?(Scene_Battle)
      scene = SceneManager.scene
      scene.spriteset.dispose_battleback1
      scene.spriteset.dispose_battleback2
      scene.spriteset.create_battleback1
      scene.spriteset.create_battleback2
    end
  end
end

class Scene_Battle
  attr_reader :spriteset
end
#The Change Battleback command should work in battles too now.
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,833
Reaction score
1,890
First Language
Spanish
Primarily Uses
RMVXA
@Roninator2 is that your fix or the original code? I'm lost here.
 

BrunoAlex0309

Villager
Member
Joined
Jun 22, 2022
Messages
11
Reaction score
2
First Language
spanish
Primarily Uses
Other
i think no (doesnt work the fix)
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,853
Reaction score
12,390
First Language
English
Primarily Uses
RMMZ
To say "it doesn't work" is not helpful as we have no way of knowing what has gone wrong. It could be one of many things.

Tell us exactly what happened. Did you get an error message?
 

BrunoAlex0309

Villager
Member
Joined
Jun 22, 2022
Messages
11
Reaction score
2
First Language
spanish
Primarily Uses
Other
Well I Was playing when i was gonna fight they show me that error message
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,833
Reaction score
1,890
First Language
Spanish
Primarily Uses
RMVXA
@BrunoAlex0309 this is not whatsapp.
if you have something to say, think about it beforehand and write it down in it's entirety.
your error message comes from a third party source that nobody knows anything about.
we can't read your mind.
*construct* an answer.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,264
Reaction score
1,161
First Language
English
Primarily Uses
RMVXA
I'm lost here.
I find that amusing and annoying.
I guess the date provided with it wasn't any clue.
sorry to confuse you.

i think no (doesnt work the fix)
No I did not change anything I just posted the original code after I found it on the internet.

The basic issue is that the game has a lot of bugs, like you found.
You need to apply the patch, which overwrites the scripts file.
The link for it was on the same page where you got the game file itself.
Extract the data.rar file into the game project folder overwriting the original files in the data folder.
Then you should not have any problems. But you may need to start a new game.
The script you mentioned at the start is not in the patch. It was removed.


original
1656933322149.png


New
1656933364922.png
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,833
Reaction score
1,890
First Language
Spanish
Primarily Uses
RMVXA
@Roninator2 I saw "try this" on the note... IDK if that was you or the original script.
my reasoning being, that "scene" there was definitely to blame.
I saw a check for scene and what seems to be an error handler, I assumed it was a fix.
 

AkiraKotatsuhime

炬燵姫
Veteran
Joined
Jan 2, 2013
Messages
208
Reaction score
158
First Language
DE / ドイツ語
Primarily Uses
N/A
I can't think about any scenario why #command_283 would ever be executed when SceneManager's @scene instance of Scene_Battle hasn't defined its #spriteset yet. But okay, this is what you need to insert directly below where the temporary local variable scene is defined as SceneManager.scene:

Ruby:
      return unless scene.spriteset

This line will cancel further execution of the code if the object which is needed to run the dispose- and create-functions is not present (again, it's confusing that this can even happen).

~炬燵あ
 

Latest Threads

Latest Profile Posts

Sometimes I wonder if I feature creep... 225 magic spells is a lot lol.
Being hit with nostalgia for something that's gone is both a great thing and so sad.

But being a creative means having ideas for bringing stuff back to life, which can be frustrating and rewarding in it's own right.
the urge to comment helpful things on forum posts but not using the same engine
It's my Party and I'll cry if I want to. The best b-day present I could have is if my mapper came back. No idea where he went.
Senary_Redesign.png
Updated Senary's design (left). The previous one is overdesigned and her lack of functional pants is distracting and undermines her as a strong female character. She now has compression shorts, shorter hair, and a loose-fitting shirt for a modern look. She was lacking the authority of her original design, so I gave her military cap with her namesake.

Forum statistics

Threads
124,488
Messages
1,163,994
Members
163,314
Latest member
asce2010
Top