Merge branch 'master' into doc-rm
This commit is contained in:
@@ -412,9 +412,9 @@ void TrySetSpriteRotScale(struct Sprite *sprite, bool8 recalcCenterVector, s16 x
|
||||
void sub_8075AD8(struct Sprite *sprite);
|
||||
u16 ArcTan2Neg(s16 a, s16 b);
|
||||
void SetGreyscaleOrOriginalPalette(u16 paletteNum, bool8 restoreOriginalColor);
|
||||
u32 sub_8075BE8(u8 battleBackground, u8 attacker, u8 target, u8 attackerPartner, u8 targetPartner, u8 a6, u8 a7);
|
||||
u32 sub_8075CB8(u8 a1, u8 a2, u8 a3, u8 a4);
|
||||
u8 sub_8075D80(u8 a1);
|
||||
u32 SelectBattleAnimSpriteAndBgPalettes(bool8 battleBackground, bool8 attacker, bool8 target, bool8 attackerPartner, bool8 targetPartner, bool8 a6, bool8 a7);
|
||||
u32 SelectBattlerSpritePalettes(bool8 playerLeft, bool8 playerRight, bool8 foeLeft, bool8 foeRight);
|
||||
u8 GetSpritePalIdxByBattler(u8 a1);
|
||||
void AnimSpriteOnMonPos(struct Sprite *sprite);
|
||||
void TranslateAnimSpriteToTargetMonLocation(struct Sprite *sprite);
|
||||
void AnimThrowProjectile(struct Sprite *sprite);
|
||||
@@ -468,7 +468,7 @@ void sub_8099BD4(u8 taskId);
|
||||
extern const struct SpriteTemplate gUnknown_83E7C98;
|
||||
extern const struct SpriteTemplate gBasicHitSplatSpriteTemplate;
|
||||
u32 UnpackSelectedBattleAnimPalettes(s16 selector);
|
||||
void sub_80B9BDC(u8 taskId);
|
||||
void AnimTask_CurseBlendEffect(u8 taskId);
|
||||
void sub_80B9CE4(u8 taskId);
|
||||
void sub_80B9E58(u8 taskId);
|
||||
void sub_80B9F6C(u8 taskId);
|
||||
@@ -561,13 +561,13 @@ void AnimWaterPulseRing(struct Sprite *sprite);
|
||||
u8 SmokescreenImpact(s16 x, s16 y, u8 a3);
|
||||
|
||||
// battle_anim_utility_funcs.c
|
||||
void sub_80BA7F8(u8 taskId);
|
||||
void sub_80BA83C(u8 taskId);
|
||||
void AnimTask_BlendSelected(u8 taskId);
|
||||
void AnimTask_BlendExcept(u8 taskId);
|
||||
void AnimTask_SetCamouflageBlend(u8 taskId);
|
||||
void AnimTask_BlendParticle(u8 taskId);
|
||||
void sub_80BAB38(u8 taskId);
|
||||
void sub_80BAB98(u8 taskId);
|
||||
void sub_80BACEC(u8 taskId);
|
||||
void AnimTask_HardwarePaletteFade(u8 taskId);
|
||||
void AnimTask_CloneBattlerSpriteWithBlend(u8 taskId);
|
||||
void AnimTask_SetUpCurseBackground(u8 taskId);
|
||||
void sub_80BB088(u8 taskId);
|
||||
void sub_80BB660(u8 taskId);
|
||||
void sub_80BB7DC(u8 taskId);
|
||||
|
||||
+2
-2
@@ -25,8 +25,8 @@ enum
|
||||
ACRO_STATE_TURN_JUMP,
|
||||
};
|
||||
|
||||
void sub_80BD620(u32 directionHistory, u32 abStartSelectHistory);
|
||||
bool8 sub_80BD540(void);
|
||||
void InitPlayerAvatarBikeState(u32 directionHistory, u32 abStartSelectHistory);
|
||||
bool8 MetatileAtPlayerPositionForbidsBiking(void);
|
||||
void StartTransitionToFlipBikeState(u8 flags);
|
||||
s16 GetPlayerSpeed(void);
|
||||
bool8 sub_80BD460(u8);
|
||||
|
||||
@@ -1437,7 +1437,7 @@
|
||||
// SPECIAL FLAGS (unknown purpose)
|
||||
#define SPECIAL_FLAGS_START 0x4000
|
||||
#define SPECIAL_FLAGS_COUNT 16
|
||||
#define FLAG_SPECIAL_FLAG_0x4000 0x4000
|
||||
#define FLAG_DONT_SHOW_MAP_NAME_POPUP 0x4000
|
||||
#define FLAG_DONT_TRANSITION_MUSIC 0x4001
|
||||
#define FLAG_SPECIAL_FLAG_0x4002 0x4002
|
||||
#define FLAG_SPECIAL_FLAG_0x4003 0x4003
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
#ifndef GUARD_DECORATION_H
|
||||
#define GUARD_DECORATION_H
|
||||
|
||||
enum DecorationPermission
|
||||
{
|
||||
/*
|
||||
* The nomenclature here describes collision and placement permissions, in that order.
|
||||
*/
|
||||
DECORPERM_SOLID_FLOOR,
|
||||
DECORPERM_PASS_FLOOR,
|
||||
DECORPERM_BEHIND_FLOOR,
|
||||
DECORPERM_NA_WALL,
|
||||
DECORPERM_SPRITE,
|
||||
};
|
||||
|
||||
enum DecorationShape
|
||||
{
|
||||
DECORSHAPE_1x1,
|
||||
DECORSHAPE_2x1,
|
||||
DECORSHAPE_3x1, // unused
|
||||
DECORSHAPE_4x2,
|
||||
DECORSHAPE_2x2,
|
||||
DECORSHAPE_1x2,
|
||||
DECORSHAPE_1x3, // unused
|
||||
DECORSHAPE_2x4,
|
||||
DECORSHAPE_3x3,
|
||||
DECORSHAPE_3x2,
|
||||
};
|
||||
|
||||
enum DecorationCategory
|
||||
{
|
||||
DECORCAT_DESK,
|
||||
DECORCAT_CHAIR,
|
||||
DECORCAT_PLANT,
|
||||
DECORCAT_ORNAMENT,
|
||||
DECORCAT_MAT,
|
||||
DECORCAT_POSTER,
|
||||
DECORCAT_DOLL,
|
||||
DECORCAT_CUSHION,
|
||||
DECORCAT_COUNT,
|
||||
};
|
||||
|
||||
struct Decoration
|
||||
{
|
||||
u8 id;
|
||||
u8 name[16];
|
||||
u8 permission;
|
||||
u8 shape;
|
||||
u8 category;
|
||||
u16 price;
|
||||
const u8 *description;
|
||||
const u16 *tiles;
|
||||
};
|
||||
|
||||
#endif //GUARD_DECORATION_H
|
||||
@@ -1254,7 +1254,7 @@ extern const u8 EventScript_CurrentTooFast[];
|
||||
extern const u8 EventScript_UseSurf[];
|
||||
extern const u8 EventScript_Waterfall[];
|
||||
extern const u8 EventScript_CantUseWaterfall[];
|
||||
extern const u8 gUnknown_81A8CED[];
|
||||
extern const u8 EventScript_VsSeekerChargingDone[];
|
||||
extern const u8 EventScript_FieldPoison[];
|
||||
extern const u8 EventScript_EggHatch[];
|
||||
extern const u8 EventScript_1C1361[];
|
||||
|
||||
@@ -15,7 +15,7 @@ void MovePlayerNotOnBike(u8 direction, u16 heldKeys);
|
||||
|
||||
void MovementType_Player(struct Sprite * sprite);
|
||||
void sub_805C270(void);
|
||||
void sub_805C780(void);
|
||||
void StopPlayerAvatar(void);
|
||||
void GetXYCoordsOneStepInFrontOfPlayer(s16 *xPtr, s16 *yPtr);
|
||||
u8 GetPlayerAvatarGraphicsIdByStateId(u8);
|
||||
void SetPlayerAvatarStateMask(u8 mask);
|
||||
|
||||
@@ -333,6 +333,7 @@ enum
|
||||
COLLISION_ISOLATED_HORIZONTAL_RAIL,
|
||||
COLLISION_VERTICAL_RAIL,
|
||||
COLLISION_HORIZONTAL_RAIL,
|
||||
COLLISION_COUNT
|
||||
};
|
||||
|
||||
// player running states
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
#ifndef GUARD_INTRO_H
|
||||
#define GUARD_INTRO_H
|
||||
|
||||
void sub_80EC864(void);
|
||||
void CB2_CopyrightScreen(void);
|
||||
void c2_copyright_1(void);
|
||||
|
||||
#endif //GUARD_INTRO_H
|
||||
|
||||
+2
-2
@@ -79,8 +79,8 @@
|
||||
#define LINKTYPE_BATTLE_TOWER 0x2288
|
||||
#define LINKTYPE_0x3311 0x3311
|
||||
#define LINKTYPE_0x3322 0x3322
|
||||
#define LINKTYPE_0x4411 0x4411
|
||||
#define LINKTYPE_0x6601 0x6601
|
||||
#define LINKTYPE_BERRY_BLENDER_SETUP 0x4411
|
||||
#define LINKTYPE_CONTEST_GMODE 0x6601
|
||||
|
||||
#define MASTER_HANDSHAKE 0x8FFF
|
||||
#define SLAVE_HANDSHAKE 0xB9A0
|
||||
|
||||
@@ -15,7 +15,7 @@ struct YesNoFuncTable
|
||||
};
|
||||
|
||||
bool16 RunTextPrinters_CheckActive(u8 textPrinterId);
|
||||
bool32 sub_80BF72C(void);
|
||||
bool32 MenuHelpers_CallLinkSomething(void);
|
||||
bool8 sub_80BF748(void);
|
||||
bool8 MenuHelpers_LinkSomething(void);
|
||||
void SetVBlankHBlankCallbacksToNull(void);
|
||||
|
||||
+2
-2
@@ -81,7 +81,7 @@ void SetWarpDestinationToEscapeWarp(void);
|
||||
void SetWarpDestinationToLastHealLocation(void);
|
||||
u8 IsMapTypeOutdoors(u8 mapType);
|
||||
void Overworld_ClearSavedMusic(void);
|
||||
bool32 sub_8056124(u16 song);
|
||||
bool32 Overworld_MusicCanOverrideMapMusic(u16 song);
|
||||
|
||||
void player_avatar_init_params_reset(void);
|
||||
|
||||
@@ -146,7 +146,7 @@ bool8 BGMusicStopped(void);
|
||||
bool8 IsMapTypeIndoors(u8 mapType);
|
||||
bool32 Overworld_IsBikingAllowed(void);
|
||||
void Overworld_ResetStateAfterDigEscRope(void);
|
||||
bool32 sub_8058244(void);
|
||||
bool32 Overworld_LinkRecvQueueLengthMoreThan2(void);
|
||||
u8 GetCurrentMapType(void);
|
||||
|
||||
u8 GetLastUsedWarpMapType(void);
|
||||
|
||||
+3
-3
@@ -9,7 +9,7 @@
|
||||
extern u8 gQuestLogState;
|
||||
extern u8 gUnknown_3005E88;
|
||||
extern const u16 gUnknown_84566A8[];
|
||||
extern struct FieldInput gUnknown_3005E90;
|
||||
extern struct FieldInput gQuestLogFieldInput;
|
||||
|
||||
void sub_8112720(u8);
|
||||
void SetQuestLogEvent(u16, const u16 *);
|
||||
@@ -27,8 +27,8 @@ void sub_8111CF0(void);
|
||||
void ResetQuestLog(void);
|
||||
void ResetTrainerFanClub(void);
|
||||
void TrySetUpQuestLogScenes_ElseContinueFromSave(u8 taskId);
|
||||
void sub_8112450(void);
|
||||
void sub_8112364(void);
|
||||
void SaveQuestLogData(void);
|
||||
void QuestLog_OnInteractionWithSpecialNpc(void);
|
||||
u8 sub_8112CAC(void);
|
||||
void sub_81138F8(void);
|
||||
void sub_811231C(void);
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
void TrySetMapSaveWarpStatus(void);
|
||||
bool32 IsCurMapPokeCenter(void);
|
||||
void sub_810B810(void);
|
||||
void sub_810B82C(void);
|
||||
void SetUnlockedPokedexFlags(void);
|
||||
void SetPostgameFlags(void);
|
||||
|
||||
#endif // GUARD_SAVE_LOCATION_H
|
||||
|
||||
+1
-1
@@ -78,7 +78,7 @@ u8 GetRegisteredQuestLogInput(void);
|
||||
void ResetFacingNpcOrSignPostVars(void);
|
||||
bool8 CanWalkAwayToCancelMsgBox(void);
|
||||
void SetWalkingIntoSignVars(void);
|
||||
bool8 sub_80699D4(void);
|
||||
bool8 IsMsgBoxWalkawayDisabled(void);
|
||||
|
||||
extern const u8 *gRAMScriptPtr;
|
||||
extern u8 gWalkAwayFromSignInhibitTimer;
|
||||
|
||||
+1
-1
@@ -916,7 +916,7 @@ extern const u8 gText_GiveUpTryingToTeachNewMove[];
|
||||
extern const u8 gText_DecimalPoint[];
|
||||
|
||||
// map_name_popup
|
||||
extern const u8 gUnknown_841D18D[];
|
||||
extern const u8 gText_Rooftop2[];
|
||||
|
||||
// option menu
|
||||
extern const u8 gText_TextSpeed[];
|
||||
|
||||
+1
-5
@@ -3,18 +3,14 @@
|
||||
|
||||
#include "global.h"
|
||||
|
||||
void sub_810C604(void);
|
||||
void sub_810C640(void);
|
||||
|
||||
void Task_VsSeeker_0(u8 taskId);
|
||||
void sub_810CB90(void);
|
||||
void sub_810CDE8(void);
|
||||
int GetRematchTrainerId(u16 a0);
|
||||
bool8 sub_810CF04(u8 a0);
|
||||
u8 sub_810CF54();
|
||||
void sub_810D0D0(void);
|
||||
void sub_810CB90(void);
|
||||
bool8 sub_810C4EC(void);
|
||||
bool8 UpdateVsSeekerStepCounter(void);
|
||||
void TryUpdateRandomTrainerRematches(u16 mapGroup, u16 mapNum);
|
||||
|
||||
#endif //GUARD_VS_SEEKER_H
|
||||
|
||||
Reference in New Issue
Block a user