BSS: rom4.o, field_camera.o

This commit is contained in:
PikalaxALT 2017-09-30 13:08:28 -04:00
parent 8620b9203d
commit 64631bac93
4 changed files with 51 additions and 35 deletions

View File

@ -5,7 +5,7 @@
// Static type declarations // Static type declarations
// Static RAM declarations // Static RAM declarations
IWRAM_DATA u32 berry_blender_c_unused_03000de4; IWRAM_DATA void *berry_blender_c_unused_03000de4;
IWRAM_DATA s16 gUnknown_03000DE8[8]; IWRAM_DATA s16 gUnknown_03000DE8[8];
IWRAM_DATA s16 gUnknown_03000DF8[6]; IWRAM_DATA s16 gUnknown_03000DF8[6];
IWRAM_DATA s16 gUnknown_03000E04; IWRAM_DATA s16 gUnknown_03000E04;

28
src/field_camera.c Normal file
View File

@ -0,0 +1,28 @@
// Includes
#include "global.h"
// Static type declarations
struct FieldCameraUnknownStruct
{
u8 unk0;
u8 unk1;
u8 unk2;
u8 unk3;
bool8 unk4;
};
// Static RAM declarations
IWRAM_DATA struct FieldCameraUnknownStruct gUnknown_03000E20;
IWRAM_DATA s16 gUnknown_03000E28;
IWRAM_DATA s16 gUnknown_03000E2A;
IWRAM_DATA u8 gUnknown_03000E2C;
IWRAM_DATA void (*gUnknown_03000E30)(void);
// Static ROM declarations
// .rodata
// .text

19
src/rom4.c Normal file
View File

@ -0,0 +1,19 @@
// Includes
#include "global.h"
// Static type declarations
// Static RAM declarations
IWRAM_DATA void *gUnknown_03000E0C;
IWRAM_DATA u8 gUnknown_03000E10[4];
IWRAM_DATA u8 (*gUnknown_03000E14)(u32);
IWRAM_DATA u8 gUnknown_03000E18;
IWRAM_DATA u8 gUnknown_03000E19;
IWRAM_DATA void *rom4_c_unused_03000e1c;
// Static ROM declarations
// .rodata
// .text

View File

@ -13,39 +13,8 @@ gUnknown_03000000: @ 3000000
.include "src/egg_hatch.o" .include "src/egg_hatch.o"
.include "src/berry_blender.o" .include "src/berry_blender.o"
.include "src/play_time.o" .include "src/play_time.o"
.include "src/rom4.o"
.align 2 .include "src/field_camera.o"
gUnknown_03000E0C: @ 3000E0C
.space 0x4
gUnknown_03000E10: @ 3000E10
.space 0x4
gUnknown_03000E14: @ 3000E14
.space 0x4
gUnknown_03000E18: @ 3000E18
.space 0x1
gUnknown_03000E19: @ 3000E19
.space 0x7
gUnknown_03000E20: @ 3000E20
.space 0x8
gUnknown_03000E28: @ 3000E28
.space 0x2
gUnknown_03000E2A: @ 3000E2A
.space 0x2
gUnknown_03000E2C: @ 3000E2C
.space 0x4
gUnknown_03000E30: @ 3000E30
.space 0x8
.include "src/script.o" .include "src/script.o"
.align 2 .align 2