Fix compile issues
This commit is contained in:
parent
0b8aa7b0dc
commit
11bdbfb658
@ -2545,6 +2545,6 @@
|
||||
@ putting them into their pokeball;
|
||||
@ by default waits for their movement to finish
|
||||
.macro hidefollower wait=1
|
||||
callfunc ScrFunc_hidefollower
|
||||
callnative ScrFunc_hidefollower
|
||||
.2byte \wait
|
||||
.endm
|
||||
|
||||
@ -46,7 +46,7 @@ struct BlendSettings
|
||||
u32 unused:2;
|
||||
};
|
||||
|
||||
struct __attribute__((packed)) TimeBlendSettings {
|
||||
struct TimeBlendSettings {
|
||||
struct BlendSettings bld0;
|
||||
struct BlendSettings bld1;
|
||||
u16 weight;
|
||||
|
||||
@ -1166,7 +1166,7 @@ const u8* SetPaletteColorMapType(u8 paletteIndex, u8 colorMapType) {
|
||||
return sPaletteColorMapTypes;
|
||||
// setup field effect color map
|
||||
if (sPaletteColorMapTypes != sFieldEffectPaletteColorMapTypes) {
|
||||
CpuFastCopy(sBasePaletteColorMapTypes, sFieldEffectPaletteColorMapTypes, 32);
|
||||
CpuCopy16(sBasePaletteColorMapTypes, sFieldEffectPaletteColorMapTypes, 32);
|
||||
sPaletteColorMapTypes = sFieldEffectPaletteColorMapTypes;
|
||||
}
|
||||
sFieldEffectPaletteColorMapTypes[paletteIndex] = colorMapType;
|
||||
|
||||
@ -826,8 +826,6 @@ bool8 ScrCmd_fadescreenspeed(struct ScriptContext *ctx)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static EWRAM_DATA u32 *sPalBuffer = NULL;
|
||||
|
||||
bool8 ScrCmd_fadescreenswapbuffers(struct ScriptContext *ctx)
|
||||
{
|
||||
u8 mode = ScriptReadByte(ctx);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user