加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 金芒芒 于 2024-7-7 12:55 编辑
@chuzhan_IndexCommand = Window_chuzhanCommand.new
class Scene_zhenwei #-------------------------------------------------------------------------- # ● 初始化对像 # zhenwei_index : 命令光标的初期位置,zhenwei_index = 9,chuzhan_index = 0 #-------------------------------------------------------------------------- def initialize(zhenwei_index = 0) @zhenwei_index = zhenwei_index # @chuzhan_index[i] = chuzhan_index @wait_time = 0 end #-------------------------------------------------------------------------- # ● 主处理 #-------------------------------------------------------------------------- def main # 生成地图背景 @zhenwei_TransparentBackground = Spriteset_Map.new # 生成出战菜单选项 @zhenwei_IndexCommand = Window_zhenweiCommand.new @zhenwei_IndexCommand.index = @zhenwei_index # 生成阵位列表 @chuzhan_IndexCommand = Window_chuzhanCommand.new
class Scene_zhenwei
#--------------------------------------------------------------------------
# ● 初始化对像
# zhenwei_index : 命令光标的初期位置,zhenwei_index = 9,chuzhan_index = 0
#--------------------------------------------------------------------------
def initialize(zhenwei_index = 0)
@zhenwei_index = zhenwei_index
# @chuzhan_index[i] = chuzhan_index
@wait_time = 0
end
#--------------------------------------------------------------------------
# ● 主处理
#--------------------------------------------------------------------------
def main
# 生成地图背景
@zhenwei_TransparentBackground = Spriteset_Map.new
# 生成出战菜单选项
@zhenwei_IndexCommand = Window_zhenweiCommand.new
@zhenwei_IndexCommand.index = @zhenwei_index
# 生成阵位列表
@chuzhan_IndexCommand = Window_chuzhanCommand.new
|