# ★选择图片更新
def updateChsPicIndex(index)
return if index==@choose_index
@choose_index = index
enyName = $game_troop.enemies[index].name # 这里取的是敌人的“名字”
@choose_sprites.bitmap = RPG::Cache.battler(enyName,0) # 根据名字去文件夹拿图片
@choose_sprites.x = 0 # 坐标
@choose_sprites.y = 0
@choose_sprites.visible = true
end
# ★选择图片更新
def updateChsPicIndex(index)
return if index==@choose_index
@choose_index = index
enyName = $game_troop.enemies[index].name # 这里取的是敌人的“名字”
@choose_sprites.bitmap = RPG::Cache.battler(enyName,0) # 根据名字去文件夹拿图片
@choose_sprites.x = 0 # 坐标
@choose_sprites.y = 0
@choose_sprites.visible = true
end