summaryrefslogtreecommitdiff
path: root/include/overworld.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-09-25 13:45:22 -0400
committerGitHub <noreply@github.com>2019-09-25 13:45:22 -0400
commitf8f5f415b16c635e87ebec69d7a8effec9e491f6 (patch)
tree2be3fb231773e3ba9e84a1fd517e99f081bb4ec7 /include/overworld.h
parentd9d90b5a9fdb6d3dc0645b10444e02efab08d82e (diff)
parente0b3642edcbc7a1d713ca704686e11647fa8a6cc (diff)
Merge pull request #101 from PikalaxALT/credits
Credits
Diffstat (limited to 'include/overworld.h')
-rw-r--r--include/overworld.h23
1 files changed, 19 insertions, 4 deletions
diff --git a/include/overworld.h b/include/overworld.h
index 7c1f34e41..472ebf544 100644
--- a/include/overworld.h
+++ b/include/overworld.h
@@ -1,5 +1,5 @@
-#ifndef GUARD_ROM4_H
-#define GUARD_ROM4_H
+#ifndef GUARD_OVERWORLD_H
+#define GUARD_OVERWORLD_H
#include "global.h"
#include "main.h"
@@ -23,6 +23,18 @@ struct UCoords32
u32 x, y;
};
+struct CreditsOverworldCmd
+{
+ s16 unk_0;
+ u16 unk_2;
+ u16 unk_4;
+};
+
+/* gDisableMapMusicChangeOnMapLoad */
+#define MUSIC_DISABLE_OFF 0
+#define MUSIC_DISABLE_STOP 1
+#define MUSIC_DISABLE_KEEP 2
+
extern struct UCoords32 gDirectionToVectors[];
extern struct LinkPlayerMapObject gLinkPlayerMapObjects[4];
@@ -97,7 +109,7 @@ void ResetInitialPlayerAvatarState(void);
void sub_8055D40(u16 mapDataId);
void CleanupOverworldWindowsAndTilemaps(void);
-extern u8 gUnknown_2031DD8;
+extern u8 gDisableMapMusicChangeOnMapLoad;
extern u8 gUnknown_2036E28;
extern void (*gFieldCallback)(void);
@@ -119,4 +131,7 @@ bool32 sub_8055C9C(void);
void Overworld_ResetStateAfterDigEscRope(void);
bool32 sub_8058244(void);
-#endif //GUARD_ROM4_H
+void Overworld_CreditsMainCB(void);
+bool32 Overworld_DoScrollSceneForCredits(u8 *, const struct CreditsOverworldCmd *, u8);
+
+#endif //GUARD_OVERWORLD_H