Nenhuma descrição

battle.h 930B

12345678910111213141516171819202122232425262728293031323334
  1. #include <battle_structs.h>
  2. #include <custom_structs.h>
  3. #include <battle_locations.h>
  4. #include <pkmn_types.h>
  5. #include <abilities.h>
  6. #include <moves.h>
  7. #include <item_effects.h>
  8. #include <items.h>
  9. #include <pokemon.h>
  10. #include <battle_abilities.h>
  11. #ifndef BATTLE_H_
  12. #define BATTLE_H_
  13. #define REQUEST_HELDITEM_BATTLE 0x2
  14. #define REQUEST_STATUS_BATTLE 0x28
  15. struct stat_fractions{
  16. u8 dividend;
  17. u8 divisor;
  18. };
  19. struct stat_fractions stat_buffs[] = { {2, 8}, {2, 7}, {2, 6}, {2, 5}, {2, 4}, {2, 3}, {2, 2}, {3, 2}, {4, 2}, {5, 2}, {6, 2}, {7, 2}, {8, 2} };
  20. u8 get_side_from_bank(u8 bank);
  21. u16 battle_turn_random;
  22. void mark_buffer_bank_for_execution(u8 bank);
  23. void prepare_setattributes_in_battle(u8 buffer, u8 data_request, u8 unkown, u8 data_to_add, void* ptr_to_attribute);
  24. u8 item_get_quality(u8 item_id);
  25. u8 get_item_x12_battle_function(u16 item_id);
  26. void battle_script_push();
  27. #endif