summaryrefslogtreecommitdiff
path: root/include/proto.h
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-06-15 17:28:12 +0100
committerGitHub <noreply@github.com>2020-06-15 17:28:12 +0100
commitb96fe608981c7693210f8711b64b1573edae71dc (patch)
treecf0867f106ad8ba71e4149348a0fff591e26634b /include/proto.h
parent08a00d98647a8b902b81ab4c2e41845cf919bf47 (diff)
parent7546bb0c8f5b26759b68417dc5a7e3cc9318ebc2 (diff)
Merge pull request #162 from PikalaxALT/pikalax_work
Decompile pokemon.s
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h
new file mode 100644
index 00000000..6f022d90
--- /dev/null
+++ b/include/proto.h
@@ -0,0 +1,23 @@
+#ifndef POKEDIAMOND_PROTO_H
+#define POKEDIAMOND_PROTO_H
+
+// For homeless function declarations
+
+#include "pokemon.h" // for struct definitions
+
+u16 * FUN_0200AA50(u16 species, u32 heap_id);
+void FUN_02021A74(u16 * dest, u16 * src);
+void FUN_02021A20(void * ptr);
+void FUN_02021E28(u16 * dest, u16 * src);
+void FUN_02021EF0(const u16 * src, u16 * dest, u32 count);
+u32 FUN_0206E7B8(u16 item, u32 a1, u32 a2);
+int FUN_02014C3C(u8);
+void FUN_02014C54(int, int, struct UnkStruct_02069038 *, u8);
+u32 IsNighttime(void); // is day or night
+int FUN_02005F14(int);
+void FUN_02005E80(int);
+void FUN_02005E90(int, int, int, int);
+void FUN_020056AC(int, int, int, int, int);
+void FUN_020808AC(struct BoxPokemon *, int, int, int, int);
+
+#endif //POKEDIAMOND_PROTO_H