Merge pull request #487 from hatal175/fade

Add fade flags enum
This commit is contained in:
notyourav
2022-04-06 21:38:14 -07:00
committed by GitHub
30 changed files with 176 additions and 168 deletions
+8
View File
@@ -3,6 +3,14 @@
#include "global.h"
typedef enum {
FADE_IN_OUT = 0x1,
FADE_BLACK_WHITE = 0x2,
FADE_INSTANT = 0x4,
FADE_MOSAIC = 0x8,
FADE_IRIS = 0x10,
} FadeFlags;
/**
* @struct FadeControl
* @brief Controls screen fading effects.
+1 -1
View File
@@ -25,7 +25,7 @@ typedef struct {
/*0x4*/ u16 commandIndex;
/*0x6*/ u8 commandSize;
/*0x7*/ u8 flags;
/*0x8*/ u8 unk_08;
/*0x8*/ u8 fadeSpeed;
} ActiveScriptInfo;
extern ActiveScriptInfo gActiveScriptInfo;