big cleanup part 1

This commit is contained in:
Henny022p
2021-03-09 04:22:03 +01:00
parent cdb6f5a17e
commit d6c379cb3e
198 changed files with 398 additions and 973 deletions
+3 -4
View File
@@ -1,9 +1,8 @@
#include "global.h"
#include "entity.h"
#include "dma.h"
#include "functions.h"
// extern void DmaZero(void*, u32);
typedef struct {
u16 unk0;
u16 filler2[32];
@@ -13,13 +12,13 @@ typedef struct {
extern struct_0300110C gUnk_0300110C;
void sub_080300AC(void) {
MemClear32(&gUnk_0300110C.unk0, 0x44);
MemClear(&gUnk_0300110C.unk0, 0x44);
gUnk_0300110C.unk66 = 0xff;
}
void sub_080300C4(void) {
if (gScreenTransition.field_0xae == 0xff) {
gScreenTransition.field_0xac = 0;
MemClear32(&gScreenTransition.field_0x4c[32], 0x40);
MemClear(&gScreenTransition.field_0x4c[32], 0x40);
}
}