Dark-Art Studios
Member
this gets Placed in Class Scene_Title in the update definition
loop do
if @sprite.bitmap == RPG::Cache.title("001-title001")
@sprite.bitmap = RPG::Cache.title("001-title002")
break
end
if @sprite.bitmap == RPG::Cache.title("001-title002")
@sprite.bitmap = RPG::Cache.title("001-title003")
break
end
if @sprite.bitmap == RPG::Cache.title("001-title003")
@sprite.bitmap = RPG::Cache.title("001-title001")
break
end
end
However I get an error "undefined bitmap for nil:NilClass".
Anybody know why this error pops up, thanks.
loop do
if @sprite.bitmap == RPG::Cache.title("001-title001")
@sprite.bitmap = RPG::Cache.title("001-title002")
break
end
if @sprite.bitmap == RPG::Cache.title("001-title002")
@sprite.bitmap = RPG::Cache.title("001-title003")
break
end
if @sprite.bitmap == RPG::Cache.title("001-title003")
@sprite.bitmap = RPG::Cache.title("001-title001")
break
end
end
However I get an error "undefined bitmap for nil:NilClass".
Anybody know why this error pops up, thanks.