From 261ec334a0bedbeb3f4340d22173bcb4dec78e6f Mon Sep 17 00:00:00 2001 From: theo3 Date: Tue, 4 Aug 2020 17:10:55 -0700 Subject: def ScreenTransition --- src/code_0807CC3C.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/code_0807CC3C.c (limited to 'src/code_0807CC3C.c') diff --git a/src/code_0807CC3C.c b/src/code_0807CC3C.c new file mode 100644 index 00000000..e9b9f8f5 --- /dev/null +++ b/src/code_0807CC3C.c @@ -0,0 +1,25 @@ +#include "global.h" +#include "entity.h" +#include "structures.h" +#include "functions.h" + +void sub_080808D8(void) { + gScreenTransition.transitionType = 0; +} + +void sub_080808E4(void) { + + if (sub_08052638(gScreenTransition.areaID)) { + gScreenTransition.transitionType = 0; + } else { + gScreenTransition.transitionType = 5; + } +} + +void sub_08080904(void) { + gScreenTransition.transitionType = 1; +} + +void sub_08080910(void) { + gScreenTransition.transitionType = 1; +} \ No newline at end of file -- cgit v1.2.3