hot fix
This commit is contained in:
+4
-4
@@ -35,7 +35,7 @@ static void DiplomaBgInit(void);
|
||||
static void DiplomaPrintText(void);
|
||||
static u8 DiplomaLoadGfx(void);
|
||||
static void DiplomaVblankHandler(void);
|
||||
static void CB2_DiplomaInit(void);
|
||||
static void CB2_Diploma(void);
|
||||
static void Task_WaitForExit(u8);
|
||||
static void Task_DiplomaInit(u8);
|
||||
static void Task_DiplomaReturnToOverworld(u8);
|
||||
@@ -101,10 +101,10 @@ void CB2_ShowDiploma(void)
|
||||
gDiploma->callbackStep = 0;
|
||||
DiplomaBgInit();
|
||||
CreateTask(Task_DiplomaInit, 0);
|
||||
SetMainCallback2(CB2_DiplomaInit);
|
||||
SetMainCallback2(CB2_Diploma);
|
||||
}
|
||||
|
||||
static void CB2_DiplomaInit(void)
|
||||
static void CB2_Diploma(void)
|
||||
{
|
||||
RunTasks();
|
||||
AnimateSprites();
|
||||
@@ -134,7 +134,7 @@ static void Task_DiplomaInit(u8 taskId)
|
||||
case 4:
|
||||
if (HasAllKantoMons())
|
||||
{
|
||||
SetGpuReg(REG_OFFSET_BG1HOFS, 0x80 << 1);
|
||||
SetGpuReg(REG_OFFSET_BG1HOFS, 0x100);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
+2
-2
@@ -1621,7 +1621,7 @@ const u16 gLinkPlayerFacilityClasses[] =
|
||||
FACILITY_CLASS_BEAUTY_2, FACILITY_CLASS_AQUA_LEADER,
|
||||
};
|
||||
|
||||
const static struct OamData sOakSpeechNidoranFDummyOamData =
|
||||
static const struct OamData sOakSpeechNidoranFDummyOamData =
|
||||
{
|
||||
.y = 0,
|
||||
.affineMode = 0,
|
||||
@@ -1637,7 +1637,7 @@ const static struct OamData sOakSpeechNidoranFDummyOamData =
|
||||
.paletteNum = 0,
|
||||
};
|
||||
|
||||
const struct SpriteTemplate sOakSpeechNidoranFDummyTemplate =
|
||||
static const struct SpriteTemplate sOakSpeechNidoranFDummyTemplate =
|
||||
{
|
||||
.tileTag = SPRITE_INVALID_TAG,
|
||||
.paletteTag = SPRITE_INVALID_TAG,
|
||||
|
||||
Reference in New Issue
Block a user