decompiled up to sub_81B5A8C

This commit is contained in:
golem galvanize 2018-12-12 22:55:39 -05:00
parent a6db7b2419
commit 2265d49ac2
11 changed files with 971 additions and 2886 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,8 @@
#ifndef GUARD_EASYCHAT_H #ifndef GUARD_EASYCHAT_H
#define GUARD_EASYCHAT_H #define GUARD_EASYCHAT_H
#include "main.h"
void InitEasyChatPhrases(void); void InitEasyChatPhrases(void);
void easy_chat_input_maybe(void); void easy_chat_input_maybe(void);
u8 * CopyEasyChatWord(u8 *dest, u16 word); u8 * CopyEasyChatWord(u8 *dest, u16 word);
@ -12,5 +14,6 @@ u16 sub_811EE38(u16 group);
u16 sub_811F01C(void); u16 sub_811F01C(void);
bool16 EasyChat_GetNumWordsInGroup(u8); bool16 EasyChat_GetNumWordsInGroup(u8);
u16 sub_811EE90(u16); u16 sub_811EE90(u16);
void sub_811A20C(u8 kind, u16 *words, MainCallback callback, u8 sizeParam);
#endif // GUARD_EASYCHAT_H #endif // GUARD_EASYCHAT_H

View File

@ -2,5 +2,6 @@
#define GUARD_FLDEFF_SOFTBOILED_H #define GUARD_FLDEFF_SOFTBOILED_H
void sub_81615A8(u8 taskId); void sub_81615A8(u8 taskId);
void sub_8161560(u8 taskId);
#endif // GUARD_FLDEFF_SOFTBOILED_H #endif // GUARD_FLDEFF_SOFTBOILED_H

View File

@ -60,5 +60,6 @@ void CB2_BagMenuFromStartMenu(void);
u8 sub_81ABB2C(u8 pocketId); u8 sub_81ABB2C(u8 pocketId);
bool8 UseRegisteredKeyItemOnField(void); bool8 UseRegisteredKeyItemOnField(void);
void CB2_GoToSellMenu(void); void CB2_GoToSellMenu(void);
void GoToBagMenu(u8 bagMenuType, u8 pocketId, void ( *postExitMenuMainCallback2)());
#endif //GUARD_item_menu_H #endif //GUARD_item_menu_H

View File

@ -2,6 +2,7 @@
#define GUARD_LINK_RFU_H #define GUARD_LINK_RFU_H
#include "librfu.h" #include "librfu.h"
#include "link.h"
// Exported type declarations // Exported type declarations

View File

@ -16,5 +16,7 @@ u8 CreateMonIcon(u16 species, void (*callback)(struct Sprite *), s16 x, s16 y, u
u8 UpdateMonIconFrame(struct Sprite *sprite); u8 UpdateMonIconFrame(struct Sprite *sprite);
void LoadMonIconPalette(u16 species); void LoadMonIconPalette(u16 species);
void sub_80D328C(struct Sprite *sprite); void sub_80D328C(struct Sprite *sprite);
void sub_80D3014(struct Sprite *sprite);
void sub_80D32C8(struct Sprite *sprite, u8 animNum);
#endif // GUARD_POKEMON_ICON_H #endif // GUARD_POKEMON_ICON_H

View File

@ -107,6 +107,7 @@ u8 *sub_8124610(u8 *dest, u16 mapSecId);
u16 CorrectSpecialMapSecId(u16 mapSecId); u16 CorrectSpecialMapSecId(u16 mapSecId);
void sub_8122D88(struct RegionMap *regionMap); void sub_8122D88(struct RegionMap *regionMap);
void PokedexAreaScreen_UpdateRegionMapVariablesAndVideoRegs(s16 x, s16 y); void PokedexAreaScreen_UpdateRegionMapVariablesAndVideoRegs(s16 x, s16 y);
void MCB2_FlyMap(void);
extern const struct RegionMapLocation gRegionMapEntries[]; extern const struct RegionMapLocation gRegionMapEntries[];

View File

@ -5,6 +5,10 @@
// Exported RAM declarations // Exported RAM declarations
extern struct UnkLinkRfuStruct_02022B14Substruct gUnknown_02022C38;
extern u16 gUnknown_02022C3C;
extern u8 gUnknown_02022C3E;
// Exported ROM declarations // Exported ROM declarations
void sub_8018438(void); void sub_8018438(void);

View File

@ -407,6 +407,22 @@ extern const u8 gText_SwitchedPkmnItem[];
extern const u8 gText_BagFullCouldNotRemoveItem[]; extern const u8 gText_BagFullCouldNotRemoveItem[];
extern const u8 gText_PkmnCantParticipate[]; extern const u8 gText_PkmnCantParticipate[];
extern const u8 gText_PkmnNotHolding[]; extern const u8 gText_PkmnNotHolding[];
extern const u8 gText_ThrowAwayItem[];
extern const u8 gText_ItemThrownAway[];
extern const u8 gText_SendMailToPC[];
extern const u8 gText_MailSentToPC[];
extern const u8 gText_PCMailboxFull[];
extern const u8 gText_MailMessageWillBeLost[];
extern const u8 gText_MailTakenFromPkmn[];
extern const u8 gText_NoMoreThanVar1Pkmn[];
extern const u8 gText_PkmnCantBeTradedNow[];
extern const u8 gText_EggCantBeTradedNow[];
extern const u8 gText_OnlyPkmnForBattle[];
extern const u8 gJPText_PutVar1IntoSpinner[];
extern const u8 gText_PauseUntilPress[];
extern const u8 gText_CantUseUntilNewBadge[];
extern const u8 gText_ReturnToHealingSpot[];
extern const u8 gText_EscapeFromHere[];
//pokedex text //pokedex text
extern const u8 gText_CryOf[]; extern const u8 gText_CryOf[];

View File

@ -1,6 +1,8 @@
#ifndef GUARD_TRADE_H #ifndef GUARD_TRADE_H
#define GUARD_TRADE_H #define GUARD_TRADE_H
#include "link_rfu.h"
// Exported type declarations // Exported type declarations
// Exported RAM declarations // Exported RAM declarations
@ -10,5 +12,8 @@
s32 sub_807A728(void); s32 sub_807A728(void);
void sub_80773AC(void); void sub_80773AC(void);
void sub_807AE50(void); void sub_807AE50(void);
int sub_807A8D0(u32 /* probably wrong */, u16, u16, u8);
int sub_807A7E0(u32 /* probably wrong */, u32 /* probably wrong */, u16, u16, u16, u16, u8);
int sub_807A918(struct Pokemon*, u16);
#endif //GUARD_TRADE_H #endif //GUARD_TRADE_H

File diff suppressed because it is too large Load Diff