summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Winwood <twwinwood@gmail.com>2018-06-18 07:17:19 +0100
committerThomas Winwood <twwinwood@gmail.com>2018-06-18 07:17:19 +0100
commit67c8820a607da664acb4d1513f2fa6db8941548c (patch)
treead6317a0794bb2f1ec0d9867054a2ebdf4312e56 /src
parent346b9deadcbbd1f11a1e1081dca540211e1bc0fa (diff)
Decompile sub_80DDD58
(I didn't actually do this one, shinny did)
Diffstat (limited to 'src')
-rw-r--r--src/ghost.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ghost.c b/src/ghost.c
index 6c7e36190..c14a60fdf 100644
--- a/src/ghost.c
+++ b/src/ghost.c
@@ -10,6 +10,7 @@ extern u8 gUnknown_0202F7D2;
void sub_80DDBD8(struct Sprite *);
void sub_80DDC4C(struct Sprite *);
void sub_80DDCC8(struct Sprite *);
+void sub_80DDD78(struct Sprite *);
void sub_80DDB6C(struct Sprite *sprite) {
InitAnimSpritePos(sprite, 1);
@@ -107,4 +108,11 @@ void sub_80DDCC8(struct Sprite *sprite)
}
if(sprite->data[6] == 0)
sprite->data[6] = 0x100;
+}
+
+void sub_80DDD58(struct Sprite *sprite)
+{
+ sub_8078764(sprite, 1);
+ sprite->callback = sub_80DDD78;
+ sub_80DDD78(sprite);
} \ No newline at end of file