mirror of
https://github.com/rh-hideout/pokeemerald-expansion.git
synced 2026-03-21 18:04:50 -05:00
Merge remote-tracking branch 'pret/master' into pret-merge
Conflicts: include/constants/battle_ai.h src/battle_ai_script_commands.c src/battle_gfx_sfx_util.c src/pokemon_summary_screen.c src/trainer_pokemon_sprites.c
This commit is contained in:
commit
4bdef731e4
|
|
@ -112,6 +112,9 @@
|
|||
|
||||
@ Defines a background hidden item event for map data
|
||||
.macro bg_hidden_item_event x:req, y:req, elevation:req, item:req, flag:req
|
||||
.if \flag < FLAG_HIDDEN_ITEMS_START
|
||||
.error "Hidden Item flag \flag is too small. Must be >= FLAG_HIDDEN_ITEMS_START."
|
||||
.endif
|
||||
bg_event \x, \y, \elevation, BG_EVENT_HIDDEN_ITEM, \item, ((\flag) - FLAG_HIDDEN_ITEMS_START)
|
||||
.endm
|
||||
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@
|
|||
struct_field o_MusicPlayerTrack_ToneData_sustain, 1
|
||||
struct_field o_MusicPlayerTrack_ToneData_release, 1
|
||||
struct_field o_MusicPlayerTrack_gap, 10
|
||||
struct_field o_MusicPlayerTrack_unk_3A, 2
|
||||
struct_field o_MusicPlayerTrack_timer, 2
|
||||
struct_field o_MusicPlayerTrack_unk_3C, 4
|
||||
struct_field o_MusicPlayerTrack_cmdPtr, 4
|
||||
struct_field o_MusicPlayerTrack_patternStack, 12
|
||||
|
|
|
|||
|
|
@ -445,7 +445,7 @@
|
|||
#define FLAG_REGISTERED_TRENT (TRAINER_REGISTERED_FLAGS_START + REMATCH_TRENT)
|
||||
#define FLAG_REGISTERED_SAWYER (TRAINER_REGISTERED_FLAGS_START + REMATCH_SAWYER)
|
||||
#define FLAG_REGISTERED_KIRA_AND_DAN (TRAINER_REGISTERED_FLAGS_START + REMATCH_KIRA_AND_DAN)
|
||||
#define FLAG_REGISTERED_WALLY (TRAINER_REGISTERED_FLAGS_START + REMATCH_WALLY)
|
||||
#define FLAG_REGISTERED_WALLY (TRAINER_REGISTERED_FLAGS_START + REMATCH_WALLY_VR)
|
||||
#define FLAG_REGISTERED_ROXANNE (TRAINER_REGISTERED_FLAGS_START + REMATCH_ROXANNE)
|
||||
#define FLAG_REGISTERED_BRAWLY (TRAINER_REGISTERED_FLAGS_START + REMATCH_BRAWLY)
|
||||
#define FLAG_REGISTERED_WATTSON (TRAINER_REGISTERED_FLAGS_START + REMATCH_WATTSON)
|
||||
|
|
|
|||
|
|
@ -257,8 +257,8 @@ struct PokemonCrySong
|
|||
u8 tieCmd; // 0x29
|
||||
u8 tieKeyValue; // 0x2A
|
||||
u8 tieVelocityValue; // 0x2B
|
||||
u8 unkCmd0C[2]; // 0x2C
|
||||
u16 unkCmd0CParam; // 0x2E
|
||||
u8 xwaitCmd[2]; // 0x2C
|
||||
u16 length; // 0x2E
|
||||
u8 end[2]; // 0x30
|
||||
};
|
||||
|
||||
|
|
@ -306,7 +306,7 @@ struct MusicPlayerTrack
|
|||
struct SoundChannel *chan;
|
||||
struct ToneData tone;
|
||||
u8 gap[10];
|
||||
u16 unk_3A;
|
||||
u16 timer;
|
||||
u32 unk_3C;
|
||||
u8 *cmdPtr;
|
||||
u8 *patternStack[3];
|
||||
|
|
@ -495,7 +495,7 @@ void ply_xiecv(struct MusicPlayerInfo *, struct MusicPlayerTrack *);
|
|||
void ply_xiecl(struct MusicPlayerInfo *, struct MusicPlayerTrack *);
|
||||
void ply_xleng(struct MusicPlayerInfo *, struct MusicPlayerTrack *);
|
||||
void ply_xswee(struct MusicPlayerInfo *, struct MusicPlayerTrack *);
|
||||
void ply_xcmd_0C(struct MusicPlayerInfo *, struct MusicPlayerTrack *);
|
||||
void ply_xwait(struct MusicPlayerInfo *, struct MusicPlayerTrack *);
|
||||
void ply_xcmd_0D(struct MusicPlayerInfo *, struct MusicPlayerTrack *);
|
||||
|
||||
#endif // GUARD_GBA_M4A_INTERNAL_H
|
||||
|
|
|
|||
|
|
@ -232,8 +232,8 @@ struct ObjectEvent
|
|||
u16 movementDirection:4;
|
||||
struct __attribute__((packed))
|
||||
{
|
||||
u16 rangeX:4;
|
||||
u16 rangeY:4;
|
||||
u8 rangeX:4;
|
||||
u8 rangeY:4;
|
||||
} range;
|
||||
/*0x1A*/ u8 fieldEffectSpriteId;
|
||||
/*0x1B*/ u8 warpArrowSpriteId;
|
||||
|
|
|
|||
|
|
@ -23,11 +23,6 @@ void RtcGetStatus(struct SiiRtcInfo *rtc);
|
|||
void RtcGetRawInfo(struct SiiRtcInfo *rtc);
|
||||
u16 RtcCheckInfo(struct SiiRtcInfo *rtc);
|
||||
void RtcReset(void);
|
||||
void FormatDecimalTime(u8 *dest, s32 hour, s32 minute, s32 second);
|
||||
void FormatHexTime(u8 *dest, s32 hour, s32 minute, s32 second);
|
||||
void FormatHexRtcTime(u8 *dest);
|
||||
void FormatDecimalDate(u8 *dest, s32 year, s32 month, s32 day);
|
||||
void FormatHexDate(u8 *dest, s32 year, s32 month, s32 day);
|
||||
void RtcCalcTimeDifference(struct SiiRtcInfo *rtc, struct Time *result, struct Time *t);
|
||||
void RtcCalcLocalTime(void);
|
||||
bool8 IsBetweenHours(s32 hours, s32 begin, s32 end);
|
||||
|
|
|
|||
|
|
@ -28,6 +28,5 @@ bool8 SiiRtcGetDateTime(struct SiiRtcInfo *rtc);
|
|||
bool8 SiiRtcSetDateTime(struct SiiRtcInfo *rtc);
|
||||
bool8 SiiRtcGetTime(struct SiiRtcInfo *rtc);
|
||||
bool8 SiiRtcSetTime(struct SiiRtcInfo *rtc);
|
||||
bool8 SiiRtcSetAlarm(struct SiiRtcInfo *rtc);
|
||||
|
||||
#endif // GUARD_RTC_H
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user