summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-06-29 22:32:23 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-06-29 22:32:23 -0400
commiteee02552ca3ac7f9344de2daf2003a9ee80ff10e (patch)
treec681c8e04bec51c1e3815b0cb182d1e6ef19f263 /src
parent13cf6452be1059c046027348d8902fe2508c0e6b (diff)
Decompile use_pokeblock data
Diffstat (limited to 'src')
-rwxr-xr-xsrc/use_pokeblock.c50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/use_pokeblock.c b/src/use_pokeblock.c
index c21e3719a..6ca3437fd 100755
--- a/src/use_pokeblock.c
+++ b/src/use_pokeblock.c
@@ -46,6 +46,56 @@ const u8 *const gUnknown_08406134[] = {
OtherText_Beauty
};
+const struct SpriteSheet gSpriteSheet_ConditionUpDown = {
+ (u8 *)ConditionUpDownTiles,
+ sizeof ConditionUpDownTiles,
+ GFX_TAG_CONDITIONUPDOWN
+};
+
+const struct SpritePalette gSpritePalette_ConditionUpDown = {
+ ConditionUpDownPalette,
+ GFX_TAG_CONDITIONUPDOWN
+};
+
+const struct Coords16 gUnknown_08406158[] = {
+ {0x9c, 0x1e},
+ {0x75, 0x35},
+ {0x75, 0x70},
+ {0xc5, 0x70},
+ {0xc5, 0x35}
+};
+
+const struct OamData gOamData_840616C = {
+ .shape = 1,
+ .size = 2,
+ .priority = 1
+};
+
+const union AnimCmd gSpriteAnim_8406174[] = {
+ ANIMCMD_FRAME(0, 5),
+ ANIMCMD_END
+};
+
+const union AnimCmd gSpriteAnim_840617C[] = {
+ ANIMCMD_FRAME(8, 5),
+ ANIMCMD_END
+};
+
+const union AnimCmd *const gSpriteAnimTable_8406184[] = {
+ gSpriteAnim_8406174,
+ gSpriteAnim_840617C
+};
+
+const struct SpriteTemplate gSpriteTemplate_840618C = {
+ GFX_TAG_CONDITIONUPDOWN,
+ GFX_TAG_CONDITIONUPDOWN,
+ &gOamData_840616C,
+ gSpriteAnimTable_8406184,
+ NULL,
+ gDummySpriteAffineAnimTable,
+ SpriteCallbackDummy
+};
+
asm(".text\n"
".include \"constants/gba_constants.inc\"");