MCPcopy Create free account
hub / github.com/EasyRPG/Player / ProcessBattleActionAnimationReflect

Method ProcessBattleActionAnimationReflect

src/scene_battle_rpg2k3.cpp:2513–2521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2511}
2512
2513Scene_Battle_Rpg2k3::BattleActionReturn Scene_Battle_Rpg2k3::ProcessBattleActionAnimationReflect(Game_BattleAlgorithm::AlgorithmBase* action) {
2514 const auto anim_id = action->GetAnimationId(0);
2515 if (anim_id) {
2516 assert(action->GetReflectTarget());
2517 action->PlayAnimation(anim_id, false, -1, CheckAnimFlip(action->GetReflectTarget()));
2518 }
2519 SetBattleActionState(BattleActionState_FinishPose);
2520 return BattleActionReturn::eContinue;
2521}
2522
2523Scene_Battle_Rpg2k3::BattleActionReturn Scene_Battle_Rpg2k3::ProcessBattleActionFinishPose(Game_BattleAlgorithm::AlgorithmBase* action) {
2524 auto* source = action->GetSource();

Callers

nothing calls this directly

Calls 3

GetReflectTargetMethod · 0.80
PlayAnimationMethod · 0.80
GetAnimationIdMethod · 0.60

Tested by

no test coverage detected