summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-02-15 22:30:39 -0600
committerDiegoisawesome <diego@domoreaweso.me>2018-02-15 22:30:39 -0600
commit0a206ee52c19963c778e6e15e4b92e1f0c58a13f (patch)
tree8ec5f7fa3c20aaca8e81b3ed320ce36eba963f33 /include
parent34716558b1f8bc4e9f07e90d3727ea44e74ddd9d (diff)
Finish decompiling intro
Diffstat (limited to 'include')
-rw-r--r--include/constants/rgb.h1
-rw-r--r--include/global.h6
-rw-r--r--include/graphics.h15
-rw-r--r--include/intro_credits_graphics.h4
4 files changed, 26 insertions, 0 deletions
diff --git a/include/constants/rgb.h b/include/constants/rgb.h
index 8b323799f..fd9c5c5a7 100644
--- a/include/constants/rgb.h
+++ b/include/constants/rgb.h
@@ -12,5 +12,6 @@
#define RGB_YELLOW RGB(31, 31, 0)
#define RGB_MAGENTA RGB(31, 0, 31)
#define RGB_CYAN RGB(0, 31, 31)
+#define RGB_WHITEALPHA RGB_WHITE | 0x8000
#endif // GUARD_RGB_H
diff --git a/include/global.h b/include/global.h
index 4a71a8a87..94afcde91 100644
--- a/include/global.h
+++ b/include/global.h
@@ -35,6 +35,12 @@
// Converts a number to Q4.12 fixed-point format
#define Q_4_12(n) ((s16)((n) * 4096))
+// Converts a Q8.8 fixed-point format number to a regular integer
+#define Q_8_8_TO_INT(n) ((int)((n) / 256))
+
+// Converts a Q4.12 fixed-point format number to a regular integer
+#define Q_4_12_TO_INT(n) ((int)((n) / 4096))
+
#define PARTY_SIZE 6
#define POKEMON_NAME_LENGTH 10
diff --git a/include/graphics.h b/include/graphics.h
index 76eaff28f..770a01ade 100644
--- a/include/graphics.h
+++ b/include/graphics.h
@@ -2726,6 +2726,21 @@ extern const u16 gBagScreenMale_Pal[];
extern const u8 gBagMenuHMIcon_Gfx[];
//intro graphics
+extern const u8 gIntro1SparkleGfx[];
+extern const u8 gIntro1FlygonGfx[];
+extern const u16 gIntro3LightningPal[];
+extern const u8 gIntroCopyright_Gfx[];
+extern const u8 gIntroCopyright_Tilemap[];
+extern const u16 gIntroCopyright_Pal[];
+extern const u8 gIntro2VolbeatGfx[];
+extern const u8 gIntro2TorchicGfx[];
+extern const u8 gIntro2ManectricGfx[];
+extern const u16 gIntro2VolbeatPal[];
+extern const u16 gIntro2TorchicPal[];
+extern const u16 gIntro2ManectricPal[];
+extern const u8 gIntro2BubblesGfx[];
+extern const u16 gIntro2BubblesPal[];
+extern const u8 gIntro3LightningGfx[];
extern const u8 gIntro3GroudonGfx[];
extern const u8 gIntro3GroudonTilemap[];
extern const u8 gIntro3LegendBgGfx[];
diff --git a/include/intro_credits_graphics.h b/include/intro_credits_graphics.h
index c63861d87..4e5d025a5 100644
--- a/include/intro_credits_graphics.h
+++ b/include/intro_credits_graphics.h
@@ -1,6 +1,10 @@
#ifndef GUARD_INTRO_CREDITS_GRAPHICS_H
#define GUARD_INTRO_CREDITS_GRAPHICS_H
+extern u16 gUnknown_0203BD24;
+extern u16 gUnknown_0203BD26;
+extern u16 gUnknown_0203BD28;
+
extern const struct CompressedSpriteSheet gIntro2BrendanSpriteSheet[];
extern const struct CompressedSpriteSheet gIntro2MaySpriteSheet[];
extern const struct CompressedSpriteSheet gIntro2BicycleSpriteSheet[];