TheoAllen

TSBS patch for menu actor

Jan 18th, 2016
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. class Game_Battler
  2. def force_change_battle_phase(phase)
  3. @battle_phase = phase
  4. @used_sequence = phase_sequence[phase].call
  5. @sequence_stack = [@used_sequence]
  6. @anim_index = 0
  7. @anim_index = rand(get_animloop_array.size - 1) if phase == :idle
  8. @finish = false
  9. @animation_array = get_animloop_array.dup
  10. if actor? && !@immortal && dead? && PlaySystemSound
  11. Sound.play_actor_collapse if SceneManager.scene_is?(Scene_Battle)
  12. end
  13. fiber = Fiber.new { tsbs_main_fiber }
  14. insert_fiber(fiber)
  15. end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment