summaryrefslogtreecommitdiff
path: root/include/battle_interface.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2017-05-22 20:05:20 -0400
committerGitHub <noreply@github.com>2017-05-22 20:05:20 -0400
commitde9f64061f83aab80e62b0fa69f9ed182704dfc9 (patch)
tree6c8548fce969b5bd9d457c5a0301d3ba886bac22 /include/battle_interface.h
parentcb975fbf00519c90c05c0dfaaf3f7a22ad8449ab (diff)
parent70b04997a09a45552a257623867acc1a8be6141e (diff)
Merge pull request #5 from PikalaxALT/pikalaxalt/field_map_obj
Pikalaxalt/field map obj
Diffstat (limited to 'include/battle_interface.h')
-rw-r--r--include/battle_interface.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/battle_interface.h b/include/battle_interface.h
new file mode 100644
index 000000000..e85f87a30
--- /dev/null
+++ b/include/battle_interface.h
@@ -0,0 +1,36 @@
+#ifndef GUARD_BATTLE_INTERFACE_H
+#define GUARD_BATTLE_INTERFACE_H
+
+struct BattleInterfaceStruct1
+{
+ s32 unk0;
+ s32 unk4;
+ s32 unk8;
+ u32 unkC_0:5;
+ u32 unk10;
+};
+
+struct BattleInterfaceStruct2
+{
+ u16 unk0;
+ u32 unk4;
+};
+
+u8 battle_make_oam_normal_battle(u8);
+u8 battle_make_oam_safari_battle(void);
+void sub_8043D84(u8, u8, u32, u32, u32);
+void sub_8043DB0(u8);
+void sub_8043DFC(u8);
+void nullsub_11();
+void sub_8043EB4(u8);
+void sub_8043F44(u8);
+void sub_804454C(void);
+u8 sub_8044804(u8, const struct BattleInterfaceStruct2 *, u8, u8);
+void sub_8044CA0(u8);
+void sub_8045A5C(u8, struct Pokemon *, u8);
+s32 sub_8045C78(u8, u8, u8, u8);
+s16 sub_80460C8(struct BattleInterfaceStruct1 *, int *, void *, int);
+u8 GetScaledHPFraction(s16, s16, u8);
+int GetHPBarLevel(s16, s16);
+
+#endif // GUARD_BATTLE_INTERFACE_H