Merge pull request #1520 from GriffinRichards/doc-random
Document random remaining symbols
This commit is contained in:
@@ -101,6 +101,8 @@
|
||||
#define BARD_SONG_LENGTH 6
|
||||
#define NUM_STORYTELLER_TALES 4
|
||||
#define NUM_TRADER_ITEMS 4
|
||||
#define GIDDY_MAX_TALES 10
|
||||
#define GIDDY_MAX_QUESTIONS 8
|
||||
|
||||
#define OPTIONS_BUTTON_MODE_NORMAL 0
|
||||
#define OPTIONS_BUTTON_MODE_LR 1
|
||||
|
||||
@@ -113,22 +113,22 @@
|
||||
#define MB_WATER_SOUTH_ARROW_WARP 0x6D
|
||||
#define MB_DEEP_SOUTH_WARP 0x6E
|
||||
#define MB_UNUSED_6F 0x6F
|
||||
#define MB_WARP_OR_BRIDGE 0x70
|
||||
#define MB_UNUSED_71 0x71
|
||||
#define MB_ROUTE120_NORTH_BRIDGE_1 0x72
|
||||
#define MB_ROUTE120_NORTH_BRIDGE_2 0x73
|
||||
#define MB_BRIDGE_OVER_OCEAN 0x70
|
||||
#define MB_BRIDGE_OVER_POND_LOW 0x71
|
||||
#define MB_BRIDGE_OVER_POND_MED 0x72
|
||||
#define MB_BRIDGE_OVER_POND_HIGH 0x73
|
||||
#define MB_PACIFIDLOG_VERTICAL_LOG_1 0x74
|
||||
#define MB_PACIFIDLOG_VERTICAL_LOG_2 0x75
|
||||
#define MB_PACIFIDLOG_HORIZONTAL_LOG_1 0x76
|
||||
#define MB_PACIFIDLOG_HORIZONTAL_LOG_2 0x77
|
||||
#define MB_FORTREE_BRIDGE 0x78
|
||||
#define MB_UNUSED_79 0x79
|
||||
#define MB_ROUTE120_SOUTH_BRIDGE_1 0x7A
|
||||
#define MB_ROUTE120_SOUTH_BRIDGE_2 0x7B
|
||||
#define MB_ROUTE120_NORTH_BRIDGE_3 0x7C
|
||||
#define MB_ROUTE120_NORTH_BRIDGE_4 0x7D
|
||||
#define MB_UNUSED_7E 0x7E
|
||||
#define MB_ROUTE110_BRIDGE 0x7F
|
||||
#define MB_BRIDGE_OVER_POND_MED_EDGE_1 0x7A
|
||||
#define MB_BRIDGE_OVER_POND_MED_EDGE_2 0x7B
|
||||
#define MB_BRIDGE_OVER_POND_HIGH_EDGE_1 0x7C
|
||||
#define MB_BRIDGE_OVER_POND_HIGH_EDGE_2 0x7D
|
||||
#define MB_UNUSED_BRIDGE_1 0x7E
|
||||
#define MB_UNUSED_BRIDGE_2 0x7F
|
||||
#define MB_COUNTER 0x80
|
||||
#define MB_UNUSED_81 0x81
|
||||
#define MB_UNUSED_82 0x82
|
||||
|
||||
@@ -382,27 +382,27 @@ extern const u8 EventScript_UseRockSmash[];
|
||||
extern const u8 LittlerootTown_BrendansHouse_2F_EventScript_TurnOffPlayerPC[];
|
||||
extern const u8 LittlerootTown_MaysHouse_2F_EventScript_TurnOffPlayerPC[];
|
||||
|
||||
//mauville_old_man
|
||||
extern const u8 gOtherText_Is[];
|
||||
extern const u8 gOtherText_DontYouAgree[];
|
||||
extern const u8 gText_SoPretty[];
|
||||
extern const u8 gText_SoDarling[];
|
||||
extern const u8 gText_SoRelaxed[];
|
||||
extern const u8 gText_SoSunny[];
|
||||
extern const u8 gText_SoDesirable[];
|
||||
extern const u8 gText_SoExciting[];
|
||||
extern const u8 gText_SoAmusing[];
|
||||
extern const u8 gText_SoMagical[];
|
||||
extern const u8 gMauvilleManText_ISoWantToGoOnAVacation[];
|
||||
extern const u8 gMauvilleManText_IBoughtCrayonsWith120Colors[];
|
||||
extern const u8 gMauvilleManText_WouldntItBeNiceIfWeCouldFloat[];
|
||||
extern const u8 gMauvilleManText_WhenYouWriteOnASandyBeach[];
|
||||
extern const u8 gMauvilleManText_WhatsTheBottomOfTheSeaLike[];
|
||||
extern const u8 gMauvilleManText_WhenYouSeeTheSettingSunDoesIt[];
|
||||
extern const u8 gMauvilleManText_LyingBackInTheGreenGrass[];
|
||||
extern const u8 gMauvilleManText_SecretBasesAreSoWonderful[];
|
||||
// Mauville Old Man (Giddy)
|
||||
extern const u8 GiddyText_Is[];
|
||||
extern const u8 GiddyText_DontYouAgree[];
|
||||
extern const u8 GiddyText_SoPretty[];
|
||||
extern const u8 GiddyText_SoDarling[];
|
||||
extern const u8 GiddyText_SoRelaxed[];
|
||||
extern const u8 GiddyText_SoSunny[];
|
||||
extern const u8 GiddyText_SoDesirable[];
|
||||
extern const u8 GiddyText_SoExciting[];
|
||||
extern const u8 GiddyText_SoAmusing[];
|
||||
extern const u8 GiddyText_SoMagical[];
|
||||
extern const u8 GiddyText_ISoWantToGoOnAVacation[];
|
||||
extern const u8 GiddyText_IBoughtCrayonsWith120Colors[];
|
||||
extern const u8 GiddyText_WouldntItBeNiceIfWeCouldFloat[];
|
||||
extern const u8 GiddyText_WhenYouWriteOnASandyBeach[];
|
||||
extern const u8 GiddyText_WhatsTheBottomOfTheSeaLike[];
|
||||
extern const u8 GiddyText_WhenYouSeeTheSettingSunDoesIt[];
|
||||
extern const u8 GiddyText_LyingBackInTheGreenGrass[];
|
||||
extern const u8 GiddyText_SecretBasesAreSoWonderful[];
|
||||
|
||||
// mauville old man storyteller
|
||||
// Mauville Old Man (storyteller)
|
||||
extern const u8 MauvilleCity_PokemonCenter_1F_Text_SavedGameTitle[];
|
||||
extern const u8 MauvilleCity_PokemonCenter_1F_Text_SavedGameAction[];
|
||||
extern const u8 MauvilleCity_PokemonCenter_1F_Text_SavedGameStory[];
|
||||
|
||||
@@ -638,8 +638,8 @@ struct MauvilleManGiddy
|
||||
/*0x00*/ u8 id;
|
||||
/*0x01*/ u8 taleCounter;
|
||||
/*0x02*/ u8 questionNum;
|
||||
/*0x04*/ u16 randomWords[10];
|
||||
/*0x18*/ u8 questionList[8];
|
||||
/*0x04*/ u16 randomWords[GIDDY_MAX_TALES];
|
||||
/*0x18*/ u8 questionList[GIDDY_MAX_QUESTIONS];
|
||||
/*0x20*/ u8 language;
|
||||
}; /*size = 0x2C*/
|
||||
|
||||
|
||||
@@ -10,15 +10,15 @@ int GetStringCenterAlignXOffset(int fontId, const u8 *str, int totalWidth);
|
||||
int GetStringRightAlignXOffset(int fontId, const u8 *str, int totalWidth);
|
||||
int GetStringCenterAlignXOffsetWithLetterSpacing(int fontId, const u8 *str, int totalWidth, int letterSpacing);
|
||||
int GetStringWidthDifference(int fontId, const u8 *str, int totalWidth, int letterSpacing);
|
||||
int GetMaxWidthInMenuTable(const struct MenuAction *str, int arg1);
|
||||
int sub_81DB3D8(const struct MenuAction *str, const u8* arg1, int arg2);
|
||||
int GetMaxWidthInMenuTable(const struct MenuAction *actions, int numActions);
|
||||
int GetMaxWidthInSubsetOfMenuTable(const struct MenuAction *actions, const u8* actionIds, int numActions);
|
||||
int Intl_GetListMenuWidth(const struct ListMenuTemplate *listMenu);
|
||||
void CopyMonCategoryText(int dexNum, u8 *dest);
|
||||
u8 *sub_81DB494(u8 *str, int fontId, const u8 *str2, int totalStringWidth);
|
||||
u8 *GetStringClearToWidth(u8 *dest, int fontId, const u8 *str, int totalStringWidth);
|
||||
void PadNameString(u8 *dest, u8 padChar);
|
||||
void ConvertInternationalPlayerNameStripChar(u8 *, u8);
|
||||
void ConvertInternationalContestantName(u8 *);
|
||||
int sub_81DB604(u8 *);
|
||||
int GetNicknameLanguage(u8 *);
|
||||
void sub_81DB620(int windowId, int columnStart, int rowStart, int numFillTiles, int numRows);
|
||||
|
||||
#endif // GUARD_INTERNATIONAL_STRING_UTIL_H
|
||||
|
||||
@@ -5,7 +5,7 @@ extern struct BardSong gBardSong;
|
||||
|
||||
void SetMauvilleOldMan(void);
|
||||
u8 GetCurrentMauvilleOldMan(void);
|
||||
void ScrSpecial_SetMauvilleOldManObjEventGfx(void);
|
||||
void SetMauvilleOldManObjEventGfx(void);
|
||||
u8 sub_81201C8(void);
|
||||
void SanitizeMauvilleOldManForRuby(OldMan *dest);
|
||||
void sub_8120670(void);
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
#ifndef GUARD_METATILE_BEHAVIOR_H
|
||||
#define GUARD_METATILE_BEHAVIOR_H
|
||||
|
||||
// Return values for MetatileBehavior_GetBridgeType
|
||||
enum {
|
||||
BRIDGE_TYPE_OCEAN, // For log bridges over 'ocean' style water (Routes 110/119 use this).
|
||||
BRIDGE_TYPE_POND_LOW,
|
||||
BRIDGE_TYPE_POND_MED,
|
||||
BRIDGE_TYPE_POND_HIGH,
|
||||
};
|
||||
|
||||
bool8 MetatileBehavior_IsATile(u8);
|
||||
bool8 MetatileBehavior_IsEncounterTile(u8);
|
||||
bool8 MetatileBehavior_IsJumpEast(u8);
|
||||
@@ -76,9 +84,9 @@ bool8 MetatileBehavior_IsLongGrass(u8);
|
||||
bool8 MetatileBehavior_IsBerryTreeSoil(u8);
|
||||
bool8 MetatileBehavior_IsAshGrass(u8);
|
||||
bool8 MetatileBehavior_IsFootprints(u8);
|
||||
bool8 MetatileBehavior_IsBridge(u8);
|
||||
bool8 MetatileBehavior_IsBridgeOverWater(u8);
|
||||
u8 MetatileBehavior_GetBridgeType(u8);
|
||||
u8 MetatileBehavior_8089510(u8);
|
||||
bool8 MetatileBehavior_IsBridgeOverWaterNoEdge(u8);
|
||||
bool8 MetatileBehavior_IsLandWildEncounter(u8);
|
||||
bool8 MetatileBehavior_IsWaterWildEncounter(u8);
|
||||
bool8 MetatileBehavior_IsIndoorEncounter(u8);
|
||||
@@ -115,7 +123,7 @@ bool8 MetatileBehavior_IsSecretBaseSpinMat(u8);
|
||||
bool8 MetatileBehavior_IsLavaridgeB1FWarp(u8);
|
||||
bool8 MetatileBehavior_IsLavaridge1FWarp(u8);
|
||||
bool8 MetatileBehavior_IsAquaHideoutWarp(u8);
|
||||
bool8 MetatileBehavior_IsWarpOrBridge(u8);
|
||||
bool8 MetatileBehavior_IsBridgeOverOcean(u8);
|
||||
bool8 MetatileBehavior_IsMossdeepGymWarp(u8);
|
||||
bool8 MetatileBehavior_IsSurfableFishableWater(u8);
|
||||
bool8 MetatileBehavior_IsMtPyreHole(u8);
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
extern const u8 gMonIconPaletteIndices[];
|
||||
|
||||
const u8 *GetMonIconTiles(u16 species, bool32);
|
||||
void sub_80D304C(u16 offset);
|
||||
void TryLoadAllMonIconPalettesAtOffset(u16 offset);
|
||||
u8 GetValidMonIconPalIndex(u16 species);
|
||||
const u8 *GetMonIconPtr(u16 speciesId, u32 personality, u32 frameNo);
|
||||
const u16 *GetValidMonIconPalettePtr(u16 speciesId);
|
||||
@@ -20,7 +20,6 @@ void FreeAndDestroyMonIconSprite(struct Sprite *sprite);
|
||||
u8 CreateMonIcon(u16 species, void (*callback)(struct Sprite *), s16 x, s16 y, u8 subpriority, u32 personality, bool32 handleDeoxys);
|
||||
u8 UpdateMonIconFrame(struct Sprite *sprite);
|
||||
void LoadMonIconPalette(u16 species);
|
||||
void sub_80D328C(struct Sprite *sprite);
|
||||
void SpriteCB_MonIcon(struct Sprite *sprite);
|
||||
void SetPartyHPBarSprite(struct Sprite *sprite, u8 animNum);
|
||||
u8 GetMonIconPaletteIndexFromSpecies(u16 species);
|
||||
|
||||
@@ -1,8 +1,14 @@
|
||||
#ifndef GUARD_TRAINER_POKEMON_SPRITES_H
|
||||
#define GUARD_TRAINER_POKEMON_SPRITES_H
|
||||
|
||||
// For the flags argument of CreateMonPicSprite_Affine
|
||||
#define MON_PIC_AFFINE_BACK 0
|
||||
#define MON_PIC_AFFINE_FRONT 1
|
||||
#define MON_PIC_AFFINE_NONE 3
|
||||
#define F_MON_PIC_NO_AFFINE (1 << 7)
|
||||
|
||||
bool16 ResetAllPicSprites(void);
|
||||
u16 CreatePicSprite2(u16 species, u32 otId, u32 personality, u8 flags, s16 x, s16 y, u8 paletteSlot, u16 paletteTag);
|
||||
u16 CreateMonPicSprite_Affine(u16 species, u32 otId, u32 personality, u8 flags, s16 x, s16 y, u8 paletteSlot, u16 paletteTag);
|
||||
u16 CreateMonPicSprite_HandleDeoxys(u16 species, u32 otId, u32 personality, bool8 isFrontPic, s16 x, s16 y, u8 paletteSlot, u16 paletteTag);
|
||||
u16 FreeAndDestroyMonPicSprite(u16 spriteId);
|
||||
u16 CreateTrainerPicSprite(u16 species, bool8 isFrontPic, s16 x, s16 y, u8 paletteSlot, u16 paletteTag);
|
||||
|
||||
@@ -33,7 +33,6 @@ extern const struct WildPokemonHeader gWildMonHeaders[];
|
||||
|
||||
void DisableWildEncounters(bool8 disabled);
|
||||
bool8 StandardWildEncounter(u16 currMetaTileBehavior, u16 previousMetaTileBehavior);
|
||||
void ScrSpecial_RockSmashWildEncounter(void);
|
||||
bool8 SweetScentWildEncounter(void);
|
||||
bool8 DoesCurrentMapHaveFishingMons(void);
|
||||
void FishingWildEncounter(u8 rod);
|
||||
|
||||
Reference in New Issue
Block a user