summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-05-01 12:38:55 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2018-05-01 12:38:55 +0200
commitf9a2f6c4a2bd8ce60d2c7a720eddf5cdde7446a9 (patch)
treedd858bd192240bbbc110f3293d5f0c92e321d986 /src
parent867b496f2e5a525043c9fd82ccaaad9349c89fac (diff)
start decompiling battle records
Diffstat (limited to 'src')
-rw-r--r--src/battle_records.c48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/battle_records.c b/src/battle_records.c
new file mode 100644
index 000000000..b21b07341
--- /dev/null
+++ b/src/battle_records.c
@@ -0,0 +1,48 @@
+#include "global.h"
+#include "battle_records.h"
+#include "bg.h"
+#include "window.h"
+#include "link.h"
+#include "battle.h"
+#include "overworld.h"
+#include "constants/game_stat.h"
+
+// const rom data
+const u32 gUnknown_085B3484[] = INCBIN_U32("graphics/unknown/unknown_5B3484.4bpp");
+const u16 gUnknown_085B3544[] = INCBIN_U16("graphics/unknown/unknown_5B3484.gbapal");
+const u32 gUnknown_085B3564[] = INCBIN_U32("graphics/unknown/unknown_5B3564.bin");
+
+const struct BgTemplate gUnknown_085B3D64[] =
+{
+ {
+ .bg = 0,
+ .charBaseIndex = 0,
+ .mapBaseIndex = 31,
+ .screenSize = 0,
+ .paletteMode = 0,
+ .priority = 0,
+ .baseTile = 0
+ },
+ {
+ .bg = 3,
+ .charBaseIndex = 1,
+ .mapBaseIndex = 30,
+ .screenSize = 0,
+ .paletteMode = 0,
+ .priority = 3,
+ .baseTile = 0
+ }
+};
+
+const struct WindowTemplate gUnknown_085B3D6C[] =
+{
+ {0x0, 0x2, 0x1, 0x1A, 0x12, 0xF, 0x14},
+ DUMMY_WIN_TEMPLATE
+};
+
+const struct WindowTemplate gUnknown_085B3D7C = {0x0, 0x2, 0x1, 0x1A, 0x11, 0xF, 0x1};
+
+const u8 gUnknown_085B3D84[] = _("-------");
+const u8 gUnknown_085B3D8C[] = _("----");
+
+// code