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

Method GetTimerVisible

src/game_party.cpp:624–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622}
623
624bool Game_Party::GetTimerVisible(int which, bool in_battle) {
625 bool visible = false;
626 bool battle = false;
627 switch (which) {
628 case Timer1:
629 visible = data.timer1_visible;
630 battle = data.timer1_battle;
631 break;
632 case Timer2:
633 visible = data.timer2_visible;
634 battle = data.timer2_battle;
635 break;
636 }
637 return visible && (!in_battle || battle);
638}
639
640int Game_Party::GetAverageLevel() {
641 int party_lvl = 0;

Callers 1

DrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected