在新窗口中打开脚本页
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
| $VIPArcherScript ||= {};$VIPArcherScript[:chair_y] = 20140920 module VIPArcher end module VIPArcher::CHAIR TERRAIN_Y = { 5 => 4, 6 => 8, 7 => 10 };TERRAIN_Y.default = 0 end class Game_CharacterBase include VIPArcher::CHAIR def chair_y if self.is_a?(Game_Event) return 0 if self.instance_variable_get("@event").name.include?("EV") return 0 if move_frequency == 5 end @stop_count == 0 ? 0 : TERRAIN_Y[self.terrain_tag] end alias vip20140919_screen_y screen_y def screen_y vip20140919_screen_y - chair_y end end
|