Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Game_Battler
- def force_change_battle_phase(phase)
- @battle_phase = phase
- @used_sequence = phase_sequence[phase].call
- @sequence_stack = [@used_sequence]
- @anim_index = 0
- @anim_index = rand(get_animloop_array.size - 1) if phase == :idle
- @finish = false
- @animation_array = get_animloop_array.dup
- if actor? && !@immortal && dead? && PlaySystemSound
- Sound.play_actor_collapse if SceneManager.scene_is?(Scene_Battle)
- end
- fiber = Fiber.new { tsbs_main_fiber }
- insert_fiber(fiber)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment