summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-11-20 11:08:30 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2019-11-20 11:08:30 -0500
commite7cb5476c4fb4e2583bb8ca03a290cb838ad9bbc (patch)
treefdaf5ff39fae35770193f3e936deb2ca36377ffd /include
parent539ec639fddd248a7f1a36d7e46d89ba68684364 (diff)
Port evolution_scene
Diffstat (limited to 'include')
-rw-r--r--include/battle_bg.h2
-rw-r--r--include/constants/pokemon.h4
-rw-r--r--include/pokemon.h2
-rw-r--r--include/pokemon_summary_screen.h2
-rw-r--r--include/sprite.h1
-rw-r--r--include/strings.h8
-rw-r--r--include/trade_scene.h6
7 files changed, 18 insertions, 7 deletions
diff --git a/include/battle_bg.h b/include/battle_bg.h
index 29571b410..61c106b64 100644
--- a/include/battle_bg.h
+++ b/include/battle_bg.h
@@ -5,7 +5,7 @@
extern const struct BgTemplate gBattleBgTemplates[];
-void sub_800F34C(void);
+void InitBattleBgsVideo(void);
void DrawBattleEntryBackground(void);
void sub_800F6FC(u8 taskId);
void LoadBattleMenuWindowGfx(void);
diff --git a/include/constants/pokemon.h b/include/constants/pokemon.h
index 6942fee83..a2ad90776 100644
--- a/include/constants/pokemon.h
+++ b/include/constants/pokemon.h
@@ -83,4 +83,8 @@
// Shiny odds
#define SHINY_ODDS 8 // Actual probability is SHINY_ODDS/65536
+// Learning moves
+#define MON_ALREADY_KNOWS_MOVE 0xFFFE
+#define MON_HAS_MAX_MOVES 0xFFFF
+
#endif // GUARD_CONSTANTS_POKEMON_H
diff --git a/include/pokemon.h b/include/pokemon.h
index 3d0faca36..c5ad89f41 100644
--- a/include/pokemon.h
+++ b/include/pokemon.h
@@ -14,7 +14,7 @@
#define MON_DATA_OT_NAME 7
#define MON_DATA_MARKINGS 8
#define MON_DATA_CHECKSUM 9
-#define MON_DATA_10 10
+#define MON_DATA_ENCRYPT_SEPARATOR 10
#define MON_DATA_SPECIES 11
#define MON_DATA_HELD_ITEM 12
#define MON_DATA_MOVE1 13
diff --git a/include/pokemon_summary_screen.h b/include/pokemon_summary_screen.h
index b800e3d30..2655405e5 100644
--- a/include/pokemon_summary_screen.h
+++ b/include/pokemon_summary_screen.h
@@ -10,7 +10,7 @@ extern const u8 *const gNatureNamePointers[];
void ShowSelectMovePokemonSummaryScreen(struct Pokemon *, u8, u8, MainCallback, u16);
void ShowPokemonSummaryScreenSet40EF(u8 mode, struct BoxPokemon *mons, u8 monIndex, u8 maxMonIndex, void (*callback)(void));
-u8 sub_8138B2C(void);
+u8 GetMoveSlotToReplace(void);
void SummaryScreen_SetUnknownTaskId(u8 a0);
void SummaryScreen_DestroyUnknownTask(void);
diff --git a/include/sprite.h b/include/sprite.h
index 85722311f..7432306a4 100644
--- a/include/sprite.h
+++ b/include/sprite.h
@@ -253,6 +253,7 @@ extern s16 gSpriteCoordOffsetY;
extern const struct SpriteTemplate gDummySpriteTemplate;
extern struct Sprite gSprites[];
extern struct OamMatrix gOamMatrices[];
+extern bool8 gAffineAnimsDisabled;
void ResetSpriteData(void);
void AnimateSprites(void);
diff --git a/include/strings.h b/include/strings.h
index 377b6ea39..e71256907 100644
--- a/include/strings.h
+++ b/include/strings.h
@@ -688,7 +688,7 @@ extern const u8 gText_XWillBeSentToY[];
extern const u8 gText_ByeByeVar1[];
extern const u8 gText_XSentOverY[];
extern const u8 gText_TakeGoodCareOfX[];
-extern const u8 gUnknown_841E325[];
+extern const u8 gText_CommunicationStandby5[];
extern const u8 gTradeText_Cancel[];
extern const u8 gTradeText_ChooseAPokemon[];
extern const u8 gTradeText_Summary[];
@@ -763,4 +763,10 @@ extern const u8 gText_DecimalPoint[];
// map_name_popup
extern const u8 gUnknown_841D18D[];
+// evolution_scene
+extern const u8 gText_PkmnIsEvolving[];
+extern const u8 gText_CongratsPkmnEvolved[];
+extern const u8 gText_EllipsisQuestionMark[];
+extern const u8 gText_PkmnStoppedEvolving[];
+
#endif //GUARD_STRINGS_H
diff --git a/include/trade_scene.h b/include/trade_scene.h
index 13cb1a56c..52e80e418 100644
--- a/include/trade_scene.h
+++ b/include/trade_scene.h
@@ -7,11 +7,11 @@ void DoInGameTradeScene(void);
void DrawTextOnTradeWindow(u8 windowId, const u8 *str, s8 speed);
u16 GetInGameTradeSpeciesInfo(void);
u16 GetTradeSpecies(void);
-void sub_805049C(void);
-void sub_80504B0(void);
+void InitTradeSequenceBgGpuRegs(void);
+void LinkTradeDrawWindow(void);
void LoadTradeAnimGfx(void);
extern const u16 gUnknown_826601C[];
-extern const struct WindowTemplate gUnknown_826D1CC;
+extern const struct WindowTemplate gTradeEvolutionSceneYesNoWindowTemplate;
#endif //GUARD_TRADE_SCENE_H