EDIT: I guess the game just couldnt switch from one character to another, So I just went back to my first way of transforming using a button, and setting variables and switches...
Please can anyone help me?
It says this when I try and save:
Script 'Scene_File' line219: TypeError occurred. no marshal_dump is defined for class Sprite_Character
I also get a: Script 'Scene_File' line 239: EoFError occurred. End of file reached.
So I've searched around and couldn't find any help that related to me...I am using Jets side-view battle system. This is also a script I have but I dont even think it works.
[spoiler=Spoiler Title]
=begin
From an event, call
set_bfloor(filename,x,y,z,opacity)
to set the battlefloor. You can just call
set_bfloor
to restore defaults. You do not have to use all of the variables, but they must
be in order, eg:
set_bfloor(filename)
set_bfloor(filename,x,y)
=end
class Spriteset_Battle
def create_battlefloor
@battlefloor_sprite = Sprite.new(@viewport1)
@battlefloor_sprite.bitmap = Cache.system($game_system.battlefloor[0])
@battlefloor_sprite.x = $game_system.battlefloor[1]
@battlefloor_sprite.y = $game_system.battlefloor[2]
@battlefloor_sprite.z = $game_system.battlefloor[3]
@battlefloor_sprite.opacity = $game_system.battlefloor[4]
end
end
class Game_System
attr_accessor :battlefloor
alias initialize_bfloor initialize unless $@
def initialize
@battlefloor = ["BattleFloor",0,192,1,128]
initialize_bfloor
end
end
class Game_Interpreter
def set_bfloor(filename="BattleFloor",x=0,y=192,z=1,opac=128)
$game_system.battlefloor = [filename,x,y,z,opac]
end
end
The problem normally occur after I use my transform skill in battle for the first time, then try to save. I need to continue working on this but I cant save and load the game, so its hard for me to playtest to make sure everything works..Please help
EDIT: I guess the game just couldnt switch from one character to another, So I just went back to my first way of transforming using a button, and setting variables and switches...
Please can anyone help me?
It says this when I try and save:
Script 'Scene_File' line219: TypeError occurred. no marshal_dump is defined for class Sprite_Character
I also get a: Script 'Scene_File' line 239: EoFError occurred. End of file reached.
So I've searched around and couldn't find any help that related to me...I am using Jets side-view battle system. This is also a script I have but I dont even think it works.
[spoiler=Spoiler Title]
The problem normally occur after I use my transform skill in battle for the first time, then try to save. I need to continue working on this but I cant save and load the game, so its hard for me to playtest to make sure everything works..Please help
Edited by dev13Share this post
Link to post
Share on other sites