赞 | 1 |
VIP | 146 |
好人卡 | 13 |
积分 | 1 |
经验 | 26479 |
最后登录 | 2018-4-25 |
在线时间 | 5250 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 105
- 在线时间
- 5250 小时
- 注册时间
- 2011-10-7
- 帖子
- 1885
|
本帖最后由 凌童鞋 于 2012-1-30 22:05 编辑
- #==============================================================================
- # ■ Game_Interpreter
- #==============================================================================
- class Game_Interpreter
- def reload
- $data_actors = load_data("Data/Actors.rvdata")
- $data_classes = load_data("Data/Classes.rvdata")
- $data_skills = load_data("Data/Skills.rvdata")
- $data_items = load_data("Data/Items.rvdata")
- $data_weapons = load_data("Data/Weapons.rvdata")
- $data_armors = load_data("Data/Armors.rvdata")
- $data_enemies = load_data("Data/Enemies.rvdata")
- $data_troops = load_data("Data/Troops.rvdata")
- $data_states = load_data("Data/States.rvdata")
- $data_animations = load_data("Data/Animations.rvdata")
- $data_common_events = load_data("Data/CommonEvents.rvdata")
- $data_system = load_data("Data/System.rvdata")
- $data_areas = load_data("Data/Areas.rvdata")
- $game_temp = Game_Temp.new
- $game_message = Game_Message.new
- $game_system = Game_System.new
- $game_switches = Game_Switches.new
- $game_variables = Game_Variables.new
- $game_self_switches = Game_SelfSwitches.new
- $game_actors = Game_Actors.new
- $game_party = Game_Party.new
- $game_troop = Game_Troop.new
- $game_map = Game_Map.new
- $game_player = Game_Player.new
- $game_party.setup_starting_members # 起始队伍
- $game_map.setup($data_system.start_map_id) # 起始位置
- $game_player.moveto($data_system.start_x, $data_system.start_y)
- $game_player.refresh
- $scene = Scene_Map.new
- $game_map.autoplay
- end
- end
复制代码 用法:直接事件中调用脚本 |
|