| 2490 | } |
| 2491 | |
| 2492 | Scene_Battle_Rpg2k3::BattleActionReturn Scene_Battle_Rpg2k3::ProcessBattleActionAnimation(Game_BattleAlgorithm::AlgorithmBase* action) { |
| 2493 | const auto anim_id = action->GetAnimationId(0); |
| 2494 | if (anim_id) { |
| 2495 | action->PlayAnimation(anim_id, false, -1, CheckAnimFlip(action->GetSource())); |
| 2496 | } |
| 2497 | if (action->GetStartSe()) { |
| 2498 | Main_Data::game_system->SePlay(*action->GetStartSe()); |
| 2499 | } |
| 2500 | |
| 2501 | if (action->GetCBAMovement() != lcf::rpg::BattlerAnimationItemSkill::Movement_none) { |
| 2502 | cba_direction_back = true; |
| 2503 | } |
| 2504 | |
| 2505 | if (action->ReflectTargets()) { |
| 2506 | SetBattleActionState(BattleActionState_AnimationReflect); |
| 2507 | } else { |
| 2508 | SetBattleActionState(BattleActionState_Execute); |
| 2509 | } |
| 2510 | return BattleActionReturn::eContinue; |
| 2511 | } |
| 2512 | |
| 2513 | Scene_Battle_Rpg2k3::BattleActionReturn Scene_Battle_Rpg2k3::ProcessBattleActionAnimationReflect(Game_BattleAlgorithm::AlgorithmBase* action) { |
| 2514 | const auto anim_id = action->GetAnimationId(0); |
nothing calls this directly
no test coverage detected