No Description

battle_locations.h 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /****************************************************************************
  2. * Copyright (C) 2015-2016 by the SotS Team *
  3. * *
  4. * This file is part of Sovereign of the Skies. *
  5. * *
  6. * Sovereign of the Skies is free software: you can redistribute it *
  7. * and/or modify it *
  8. * under the terms of the GNU Lesser General Public License as published *
  9. * by the Free Software Foundation, either version 3 of the License, or *
  10. * (at your option) any later version provided you include a copy of the *
  11. * licence and this header. *
  12. * *
  13. * Sovereign of the Skies is distributed in the hope that it will be *
  14. * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
  16. * GNU Lesser General Public License for more details. *
  17. * *
  18. * You should have received a copy of the GNU Lesser General Public *
  19. * License along with Sovereign of the Skies. *
  20. * If not, see <http://www.gnu.org/licenses/>. *
  21. ****************************************************************************/
  22. /**
  23. * @file attack_names.h
  24. * @author Sturmvogel
  25. * @date 15 dec 2016
  26. * @brief Some globals used in-battle
  27. */
  28. #ifndef BATTLE_LOC_H_
  29. #define BATTLE_LOC_H_
  30. #include <types.h>
  31. u8 battle_active_bank;
  32. u8 battle_stat_changer;
  33. void* battle_string_chooser;
  34. u8 battle_last_used_ability;
  35. u16 battle_executed_move;
  36. u8 battle_attacker_bank;
  37. u8 battle_defender_bank;
  38. u8 battle_damage_multiplier;
  39. s32 battle_damage_store;
  40. u32 battle_hitmarker;
  41. void* battlescript_cursor;
  42. u8 battle_menu_chosen_item[4];
  43. u8 battle_turn_order[4];
  44. u16 battle_base_power;
  45. #endif