mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
review changes
This commit is contained in:
parent
b229a1c295
commit
0f44747788
@ -4510,7 +4510,7 @@ gUnknown_08305D0C:: @ 8305D0C
|
||||
@ 8305DCC
|
||||
.include "data/enemy_mon_elevation.inc"
|
||||
|
||||
@ 8309AAC
|
||||
@ 8305F68
|
||||
.include "data/graphics/pokemon/front_anims.inc"
|
||||
|
||||
@ 830A18C
|
||||
|
10
include/bg.h
10
include/bg.h
@ -1,6 +1,16 @@
|
||||
#ifndef GUARD_BG_H
|
||||
#define GUARD_BG_H
|
||||
|
||||
struct BGCntrlBitfield // for the I/O registers
|
||||
{
|
||||
volatile u16 priority:2;
|
||||
volatile u16 charBaseBlock:2;
|
||||
volatile u16 field_0_2:4;
|
||||
volatile u16 field_1_0:5;
|
||||
volatile u16 areaOverflowMode:1;
|
||||
volatile u16 screenSize:2;
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
BG_CTRL_ATTR_VISIBLE = 1,
|
||||
|
@ -197,17 +197,6 @@ static void CB2_ReshowBattleScreenAfterMenu(void)
|
||||
gBattleScripting.reshowMainState++;
|
||||
}
|
||||
|
||||
// todo: find a better place for the struct declaration
|
||||
struct BGCntrlBitfield
|
||||
{
|
||||
volatile u16 priority:2;
|
||||
volatile u16 charBaseBlock:2;
|
||||
volatile u16 field_0_2:4;
|
||||
volatile u16 field_1_0:5;
|
||||
volatile u16 areaOverflowMode:1;
|
||||
volatile u16 screenSize:2;
|
||||
};
|
||||
|
||||
static void sub_80A95F4(void)
|
||||
{
|
||||
struct BGCntrlBitfield *regBgcnt1, *regBgcnt2;
|
||||
|
Loading…
Reference in New Issue
Block a user