Hey ,
I've run into an issue where if the 1st Actor tries to use an item (during battle) to another character then I get an error. If another (not the 1st) actor tries to use an item on another character then it is good and everything is fine.
Here is the portion of that code that doesn't seem to be working right...
#--------------------------------------------------------------------------
# ● Update BC Slide Effect
#--------------------------------------------------------------------------
def update_bc_slide_effect(bc_sprite,index)
return if !SLIDE_ANIMATION
return if !COMMAND_TYPE.between?(2,3)
if COMMAND_TYPE == 2
nx = @sprite_command_org[index][0]
ny = index == self.index ? @sprite_command_org[index][1] - 24 : @sprite_command_org[index][1]
elsif COMMAND_TYPE == 3
nx = index == self.index ? @sprite_command_org[index][0] - 24 : @sprite_command_org[index][0]
if SCROLL_ROW and self.index > @s_row_max
ny = @sprite_command_org[index][1] - (@sprite_command_cwh[index][1] * (self.index - @s_row_max))
else
ny = @sprite_command_org[index][1]
end
end
execute_move_rg(bc_sprite,0,bc_sprite.x,nx)
execute_move_rg(bc_sprite,1,bc_sprite.y,ny)
@c_nxy = [@sprite_commands[self.index].x,@sprite_commands[self.index].y]
end
Line 1091 is the one above end at the bottom of the spoiler
@c_nxy = [@sprite_commands[self.index].x,@sprite_commands[self.index].y]
Also I have already tried to start New Game and it still doesn't work well.
Protected download