decompile main_menu

This commit is contained in:
golem galvanize
2018-02-11 17:19:36 -05:00
parent 99d0b4bbfd
commit 601a942db4
11 changed files with 908 additions and 2959 deletions
-2910
View File
File diff suppressed because it is too large Load Diff
+9 -9
View File
@@ -1,4 +1,4 @@
gUnknown_082C897B:: @ 82C897B gText_Birch_Welcome:: @ 82C897B
.string "Hi! Sorry to keep you waiting!\p" .string "Hi! Sorry to keep you waiting!\p"
.string "Welcome to the world of POKéMON!\p" .string "Welcome to the world of POKéMON!\p"
.string "My name is BIRCH.\p" .string "My name is BIRCH.\p"
@@ -6,12 +6,12 @@ gUnknown_082C897B:: @ 82C897B
.string "PROFESSOR.\p" .string "PROFESSOR.\p"
.string "$" .string "$"
gUnknown_082C89FB:: @ 82C89FB gText_Birch_Pokemon:: @ 82C89FB
.string "This is what we call a “POKéMON.”\p" .string "This is what we call a “POKéMON.”\p"
.string "\n" .string "\n"
.string "$" .string "$"
gUnknown_082C8A1F:: @ 82C8A1F gText_Birch_MainSpeech:: @ 82C8A1F
.string "This world is widely inhabited by\n" .string "This world is widely inhabited by\n"
.string "creatures known as POKéMON.\p" .string "creatures known as POKéMON.\p"
.string "We humans live alongside POKéMON,\n" .string "We humans live alongside POKéMON,\n"
@@ -28,28 +28,28 @@ gUnknown_082C8A1F:: @ 82C8A1F
.string "Thats what I do.\p" .string "Thats what I do.\p"
.string "$" .string "$"
gUnknown_082C8BD0:: @ 82C8BD0 gText_Birch_AndYouAre:: @ 82C8BD0
.string "And you are?$" .string "And you are?$"
gUnknown_082C8BDD:: @ 82C8BDD gText_Birch_BoyOrGirl:: @ 82C8BDD
.string "Are you a boy?\n" .string "Are you a boy?\n"
.string "Or are you a girl?$" .string "Or are you a girl?$"
gUnknown_082C8BFF:: @ 82C8BFF gText_Birch_WhatsYourName:: @ 82C8BFF
.string "All right.\n" .string "All right.\n"
.string "Whats your name?$" .string "Whats your name?$"
gUnknown_082C8C1C:: @ 82C8C1C gText_Birch_SoItsPlayer:: @ 82C8C1C
.string "So its {PLAYER}{KUN}?$" .string "So its {PLAYER}{KUN}?$"
gUnknown_082C8C2A:: @ 82C8C2A gText_Birch_YourePlayer:: @ 82C8C2A
.string "Ah, okay!\p" .string "Ah, okay!\p"
.string "Youre {PLAYER}{KUN} whos moving to my\n" .string "Youre {PLAYER}{KUN} whos moving to my\n"
.string "hometown of LITTLEROOT.\l" .string "hometown of LITTLEROOT.\l"
.string "I get it now!\p" .string "I get it now!\p"
.string "$" .string "$"
gUnknown_082C8C7A:: @ 82C8C7A gText_Birch_AreYouReady:: @ 82C8C7A
.string "All right, are you ready?\p" .string "All right, are you ready?\p"
.string "Your very own adventure is about\n" .string "Your very own adventure is about\n"
.string "to unfold.\p" .string "to unfold.\p"
+1
View File
@@ -74,6 +74,7 @@ extern u32 gFieldEffectArguments[8];
u32 FieldEffectStart(u8); u32 FieldEffectStart(u8);
bool8 FieldEffectActiveListContains(u8 id); bool8 FieldEffectActiveListContains(u8 id);
void sub_80B69DC(void); void sub_80B69DC(void);
u8 AddNewGameBirchObject(s16, s16, u8);
void FieldEffectStop(struct Sprite *sprite, u8 id); void FieldEffectStop(struct Sprite *sprite, u8 id);
u8 CreateTrainerSprite(u8 trainerSpriteID, s16 x, s16 y, u8 subpriority, u8 *buffer); u8 CreateTrainerSprite(u8 trainerSpriteID, s16 x, s16 y, u8 subpriority, u8 *buffer);
void sub_80B7FC8(void); void sub_80B7FC8(void);
+4
View File
@@ -145,6 +145,10 @@ extern bool8 gReceivedRemoteLinkPlayers;
extern bool8 gLinkVSyncDisabled; extern bool8 gLinkVSyncDisabled;
extern u32 gLinkStatus; extern u32 gLinkStatus;
void c2_mystery_gift(void);
void sub_801867C(void);
bool8 sub_80093CC(void);
void Task_DestroySelf(u8 taskId); void Task_DestroySelf(u8 taskId);
void OpenLink(void); void OpenLink(void);
void CloseLink(void); void CloseLink(void);
+1
View File
@@ -32,6 +32,7 @@ void sub_8197930(void);
u8 GetPlayerTextSpeed(void); u8 GetPlayerTextSpeed(void);
void sub_81978B0(u16 arg0); void sub_81978B0(u16 arg0);
void AddTextPrinterWithCallbackForMessage(bool8 a1, void (*callback)(struct TextSubPrinter *, u16));
void box_print(u8 windowId, u8 fontId, u8 left, u8 top, const u8 *color, s8 speed, const u8 *str); void box_print(u8 windowId, u8 fontId, u8 left, u8 top, const u8 *color, s8 speed, const u8 *str);
void sub_8198070(u8 windowId, bool8 copyToVram); void sub_8198070(u8 windowId, bool8 copyToVram);
void SetWindowTemplateFields(struct WindowTemplate* template, u8 priority, u8 tilemapLeft, u8 tilemapTop, u8 width, u8 height, u8 palNum, u16 baseBlock); void SetWindowTemplateFields(struct WindowTemplate* template, u8 priority, u8 tilemapLeft, u8 tilemapTop, u8 width, u8 height, u8 palNum, u16 baseBlock);
+1
View File
@@ -6,6 +6,7 @@
// Exported RAM declarations // Exported RAM declarations
// Exported ROM declarations // Exported ROM declarations
void Task_ScrollIndicatorArrowPairOnMainMenu(u8);
u8 AddScrollIndicatorArrowPairParametrized(u8, u8, u8, u8, s32, u16, u16, u16 *); u8 AddScrollIndicatorArrowPairParametrized(u8, u8, u8, u8, s32, u16, u16, u16 *);
void RemoveScrollIndicatorArrowPair(u8); void RemoveScrollIndicatorArrowPair(u8);
+1
View File
@@ -55,6 +55,7 @@ void Overworld_ChangeMusicTo(u16);
bool32 is_c1_link_related_active(void); bool32 is_c1_link_related_active(void);
void CB2_NewGame(void);
void strange_npc_table_clear(void); void strange_npc_table_clear(void);
const struct MapHeader *get_mapheader_by_bank_and_number(u16, u16); const struct MapHeader *get_mapheader_by_bank_and_number(u16, u16);
void FieldObjectMoveDestCoords(struct MapObject *, u32, s16 *, s16 *); void FieldObjectMoveDestCoords(struct MapObject *, u32, s16 *, s16 *);
+1
View File
@@ -1,6 +1,7 @@
#ifndef GUARD_POKEMON_3_H #ifndef GUARD_POKEMON_3_H
#define GUARD_POKEMON_3_H #define GUARD_POKEMON_3_H
u16 sub_806EFF0(u16);
const u8* GetTrainerClassNameFromId(u16 trainerId); const u8* GetTrainerClassNameFromId(u16 trainerId);
const u8* GetTrainerNameFromId(u16 trainerId); const u8* GetTrainerNameFromId(u16 trainerId);
void PlayMapChosenOrBattleBGM(u16 song); void PlayMapChosenOrBattleBGM(u16 song);
+28
View File
@@ -218,6 +218,34 @@ extern const u8 gText_FemaleSymbol[];
extern const u8 gText_SelectorArrow3[]; extern const u8 gText_SelectorArrow3[];
extern const u8 gText_YesNo[]; extern const u8 gText_YesNo[];
// main menu/birch speech text
extern const u8 gText_SaveFileErased[];
extern const u8 gText_SaveFileCorrupted[];
extern const u8 gJPText_No1MSubCircuit[];
extern const u8 gText_BatteryRunDry[];
extern const u8 gText_MainMenuNewGame[];
extern const u8 gText_MainMenuOption[];
extern const u8 gText_MainMenuContinue[];
extern const u8 gText_MainMenuMysteryGift2[];
extern const u8 gText_MainMenuMysteryEvents[];
extern const u8 gText_MainMenuMysteryGift[];
extern const u8 gText_WirelessNotConnected[];
extern const u8 gText_MysteryGiftCantUse[];
extern const u8 gText_MysteryEventsCantUse[];
extern const u8 gText_Birch_Welcome[];
extern const u8 gText_ThisIsAPokemon[];
extern const u8 gText_Birch_MainSpeech[];
extern const u8 gText_Birch_AndYouAre[];
extern const u8 gText_Birch_BoyOrGirl[];
extern const u8 gText_Birch_WhatsYourName[];
extern const u8 gText_Birch_SoItsPlayer[];
extern const u8 gText_Birch_YourePlayer[];
extern const u8 gText_Birch_AreYouReady[];
extern const u8 gText_ContinueMenuPlayer[];
extern const u8 gText_ContinueMenuTime[];
extern const u8 gText_ContinueMenuPokedex[];
extern const u8 gText_ContinueMenuBadges[];
// mystery event menu text // mystery event menu text
extern const u8 gText_EventSafelyLoaded[]; extern const u8 gText_EventSafelyLoaded[];
extern const u8 gText_LoadErrorEndingSession[]; extern const u8 gText_LoadErrorEndingSession[];
-1
View File
@@ -55,7 +55,6 @@ SECTIONS {
asm/link.o(.text); asm/link.o(.text);
src/rtc.o(.text); src/rtc.o(.text);
src/main_menu.o(.text); src/main_menu.o(.text);
asm/main_menu.o(.text);
src/battle_controllers.o(.text); src/battle_controllers.o(.text);
src/decompress.o(.text); src/decompress.o(.text);
asm/rom_8034C54.o(.text); asm/rom_8034C54.o(.text);
+862 -39
View File
File diff suppressed because it is too large Load Diff