Fiber.yield while $game_player.animation_id > 0
Fiber.yield while $game_map.events[事件编号].animation_id > 0