hi i'm new to scripting and i wrote this script (bad intro?)
#===============================================================================
# ** Window_Party
#-------------------------------------------------------------------------------
# This window displays the members in the party and you can select the leader.
#===============================================================================
class Window_Party < Window_Selectable
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
super(0, 0, 480, 480)
self.contents = Bitmap.new(width - 32, height - 32)
refresh
self.index = - 1
end
#-----------------------------------------------------------------------------
# * Refresh
#-----------------------------------------------------------------------------
def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
x = 64
y = i * 116
actor = $game_party.actors[i]
draw_actor_graphic(actor, x - 40, y + 80)
draw_actor_name(actor, x, y)
end
end
(lol notice how i formatted everything as the defaults did?)
well when I run the game, it says I have an error on [the last line]
the error is always on the last line no matter what
if you've got a solution, please post
my name is,
APG