Merge branch 'master' of https://github.com/pret/pokefirered into sync-b-anim
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@
|
||||
&& !(gDisableStructs[battler].mimickedMoves & gBitTable[moveSlot]))
|
||||
|
||||
#define TRAINER_OPPONENT_3FE 0x3FE
|
||||
#define TRAINER_OPPONENT_C00 0xC00
|
||||
#define TRAINER_UNION_ROOM 0xC00
|
||||
#define TRAINER_LINK_OPPONENT 0x800
|
||||
#define SECRET_BASE_OPPONENT 0x400
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
|
||||
#include "global.h"
|
||||
|
||||
enum
|
||||
{
|
||||
enum {
|
||||
AI_ITEM_FULL_RESTORE = 1,
|
||||
AI_ITEM_HEAL_HP,
|
||||
AI_ITEM_CURE_CONDITION,
|
||||
@@ -13,6 +12,15 @@ enum
|
||||
AI_ITEM_NOT_RECOGNIZABLE
|
||||
};
|
||||
|
||||
enum {
|
||||
AI_HEAL_CONFUSION,
|
||||
AI_HEAL_PARALYSIS,
|
||||
AI_HEAL_FREEZE,
|
||||
AI_HEAL_BURN,
|
||||
AI_HEAL_POISON,
|
||||
AI_HEAL_SLEEP,
|
||||
};
|
||||
|
||||
void AI_TrySwitchOrUseItem(void);
|
||||
u8 GetMostSuitableMonToSwitchInto(void);
|
||||
|
||||
|
||||
@@ -242,11 +242,11 @@ extern const u8 gText_Ice[];
|
||||
extern const u8 gText_Confusion[];
|
||||
extern const u8 gText_Love[];
|
||||
|
||||
extern const u8 gUnknown_83FE859[];
|
||||
extern const u8 gUnknown_83FE85E[];
|
||||
extern const u8 gUnknown_83FE85C[];
|
||||
extern const u8 gUnknown_83FE860[];
|
||||
extern const u8 gUnknown_83FE864[];
|
||||
extern const u8 gText_BattleTowerBan_Space[];
|
||||
extern const u8 gText_BattleTowerBan_Newline1[];
|
||||
extern const u8 gText_BattleTowerBan_Newline2[];
|
||||
extern const u8 gText_BattleTowerBan_Is1[];
|
||||
extern const u8 gText_BattleTowerBan_Is2[];
|
||||
|
||||
extern const u8 gText_SafariBalls[];
|
||||
extern const u8 gText_HighlightRed_Left[];
|
||||
|
||||
@@ -385,7 +385,7 @@
|
||||
#define STRINGID_TRAINER1MON2COMEBACK 384
|
||||
#define STRINGID_TRAINER1MON1AND2COMEBACK 385
|
||||
|
||||
#define BATTLESTRINGS_COUNT 374
|
||||
#define BATTLESTRINGS_COUNT 386
|
||||
|
||||
// This is the string id that gBattleStringsTable starts with.
|
||||
// String ids before this (e.g. STRINGID_INTROMSG) are not in the table,
|
||||
@@ -545,19 +545,16 @@
|
||||
#define B_MSG_WONT_OBEY 1
|
||||
#define B_MSG_TURNED_AWAY 2
|
||||
#define B_MSG_PRETEND_NOT_NOTICE 3
|
||||
#define B_MSG_INCAPABLE_OF_POWER 4
|
||||
// For randomly selecting a disobey string
|
||||
// Skips the one used for Battle Palace
|
||||
#define NUM_LOAF_STRINGS 4
|
||||
#define NUM_LOAF_STRINGS 4 // For randomly selecting a disobey string
|
||||
|
||||
// gSafariGetNearStringIds
|
||||
#define B_MSG_CREPT_CLOSER 0
|
||||
#define B_MSG_CANT_GET_CLOSER 1
|
||||
|
||||
// gSafariPokeblockResultStringIds
|
||||
#define B_MSG_MON_CURIOUS 0
|
||||
#define B_MSG_MON_ENTHRALLED 1
|
||||
#define B_MSG_MON_IGNORED 2
|
||||
#define B_MSG_MON_WATCHING 0
|
||||
#define B_MSG_MON_ANGRY 1
|
||||
#define B_MSG_MON_EATING 2
|
||||
|
||||
// gFlashFireStringIds
|
||||
#define B_MSG_FLASH_FIRE_BOOST 0
|
||||
|
||||
@@ -324,7 +324,7 @@
|
||||
#define BATTLE_RUN_FORBIDDEN 1
|
||||
#define BATTLE_RUN_FAILURE 2
|
||||
|
||||
// Window Ids for sStandardBattleWindowTemplates
|
||||
// Window Ids for sTextOnWindowsInfo_Normal
|
||||
#define B_WIN_MSG 0
|
||||
#define B_WIN_ACTION_PROMPT 1 // "What will {x} do?"
|
||||
#define B_WIN_ACTION_MENU 2 // "Fight/Pokémon/Bag/Run" menu
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
#define VARIOUS_RESET_INTIMIDATE_TRACE_BITS 5
|
||||
#define VARIOUS_UPDATE_CHOICE_MOVE_ON_LVL_UP 6
|
||||
#define VARIOUS_RESET_PLAYER_FAINTED 7
|
||||
#define VARIOUS_CASE_8 8
|
||||
#define VARIOUS_GET_BATTLERS_FOR_RECALL 8
|
||||
#define VARIOUS_RETURN_OPPONENT_MON1 9
|
||||
#define VARIOUS_RETURN_OPPONENT_MON2 10
|
||||
#define VARIOUS_CHECK_POKEFLUTE 11
|
||||
|
||||
+20
-19
@@ -93,25 +93,26 @@
|
||||
#define MON_DATA_SPDEF2 88
|
||||
|
||||
// Pokemon types
|
||||
#define TYPE_NORMAL 0x00
|
||||
#define TYPE_FIGHTING 0x01
|
||||
#define TYPE_FLYING 0x02
|
||||
#define TYPE_POISON 0x03
|
||||
#define TYPE_GROUND 0x04
|
||||
#define TYPE_ROCK 0x05
|
||||
#define TYPE_BUG 0x06
|
||||
#define TYPE_GHOST 0x07
|
||||
#define TYPE_STEEL 0x08
|
||||
#define TYPE_MYSTERY 0x09
|
||||
#define TYPE_FIRE 0x0a
|
||||
#define TYPE_WATER 0x0b
|
||||
#define TYPE_GRASS 0x0c
|
||||
#define TYPE_ELECTRIC 0x0d
|
||||
#define TYPE_PSYCHIC 0x0e
|
||||
#define TYPE_ICE 0x0f
|
||||
#define TYPE_DRAGON 0x10
|
||||
#define TYPE_DARK 0x11
|
||||
#define NUMBER_OF_MON_TYPES 0x12
|
||||
#define TYPE_NONE 255
|
||||
#define TYPE_NORMAL 0
|
||||
#define TYPE_FIGHTING 1
|
||||
#define TYPE_FLYING 2
|
||||
#define TYPE_POISON 3
|
||||
#define TYPE_GROUND 4
|
||||
#define TYPE_ROCK 5
|
||||
#define TYPE_BUG 6
|
||||
#define TYPE_GHOST 7
|
||||
#define TYPE_STEEL 8
|
||||
#define TYPE_MYSTERY 9
|
||||
#define TYPE_FIRE 10
|
||||
#define TYPE_WATER 11
|
||||
#define TYPE_GRASS 12
|
||||
#define TYPE_ELECTRIC 13
|
||||
#define TYPE_PSYCHIC 14
|
||||
#define TYPE_ICE 15
|
||||
#define TYPE_DRAGON 16
|
||||
#define TYPE_DARK 17
|
||||
#define NUMBER_OF_MON_TYPES 18
|
||||
|
||||
// Pokemon egg groups
|
||||
#define EGG_GROUP_NONE 0
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#define WEATHER_DROUGHT 12 // unused and broken in overworld
|
||||
#define WEATHER_DOWNPOUR 13 // unused
|
||||
#define WEATHER_UNDERWATER_BUBBLES 14 // unused
|
||||
#define WEATHER_ABNORMAL 15 // unused
|
||||
#define WEATHER_ROUTE119_CYCLE 20 // unused
|
||||
#define WEATHER_ROUTE123_CYCLE 21 // unused
|
||||
|
||||
|
||||
+1
-1
@@ -4852,7 +4852,7 @@ extern const u32 gBuyMenuFrame_TmHmTilemap[];
|
||||
extern const u32 gBuyMenuFrame_Pal[];
|
||||
|
||||
// battle_message
|
||||
extern const u16 gUnknown_8D2FBB4[];
|
||||
extern const u16 gPPTextPalette[];
|
||||
|
||||
// trainer card
|
||||
extern const u16 gKantoTrainerCard_Pal[];
|
||||
|
||||
@@ -11,8 +11,8 @@ enum StringConvertMode
|
||||
};
|
||||
|
||||
u8 *StringCopy_Nickname(u8 *dest, const u8 *src);
|
||||
u8 *StringGetEnd10(u8 *str);
|
||||
u8 *StringCopy7(u8 *dest, const u8 *src);
|
||||
u8 *StringGet_Nickname(u8 *str);
|
||||
u8 *StringCopy_PlayerName(u8 *dest, const u8 *src);
|
||||
u8 *StringCopy(u8 *dest, const u8 *src);
|
||||
u8 *StringAppend(u8 *dest, const u8 *src);
|
||||
u8 *StringCopyN(u8 *dest, const u8 *src, u8 n);
|
||||
|
||||
+2
-2
@@ -216,12 +216,12 @@ extern const u8 gString_SlotMachineControls[];
|
||||
|
||||
// battle_controller_safari
|
||||
extern const u8 gText_EmptyString3[];
|
||||
extern const u8 gUnknown_83FE747[];
|
||||
extern const u8 gText_SafariZoneMenu[];
|
||||
extern const u8 gText_WhatWillPlayerThrow[];
|
||||
|
||||
// battle_controller_player
|
||||
extern const u8 gText_BattleSwitchWhich[];
|
||||
extern const u8 gUnknown_83FE770[];
|
||||
extern const u8 gText_MoveInterfaceDynamicColors[];
|
||||
extern const u8 gText_MoveInterfacePP[];
|
||||
extern const u8 gText_MoveInterfaceType[];
|
||||
extern const u8 gText_LinkStandby[];
|
||||
|
||||
Reference in New Issue
Block a user