diff options
| author | Slawter666 <38655737+Slawter666@users.noreply.github.com> | 2018-08-07 22:18:30 +0100 |
|---|---|---|
| committer | Slawter666 <38655737+Slawter666@users.noreply.github.com> | 2018-08-07 22:18:30 +0100 |
| commit | 704e3c7334f40b101b1f09da63da56576ac86bd2 (patch) | |
| tree | f6a4c60670da605676293713eaad936b188db477 /data/battle_scripts_2.s | |
| parent | ab2cc59629bfb8c4809807e82cb5224b4596844a (diff) | |
| parent | 85ebd76cd03e1ee84f182585060b3a79b8653e85 (diff) | |
Merge https://github.com/pret/pokeemerald into spritesheet
Diffstat (limited to 'data/battle_scripts_2.s')
| -rw-r--r-- | data/battle_scripts_2.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/battle_scripts_2.s b/data/battle_scripts_2.s index 1fbaa9536..485847ed1 100644 --- a/data/battle_scripts_2.s +++ b/data/battle_scripts_2.s @@ -4,6 +4,7 @@ #include "constants/battle_string_ids.h" #include "constants/items.h" #include "constants/songs.h" +#include "constants/game_stat.h" .include "asm/macros.inc" .include "asm/macros/battle_script.inc" .include "constants/constants.inc" @@ -62,7 +63,7 @@ BattleScript_SafariBallThrow:: BattleScript_SuccessBallThrow:: jumpifhalfword CMP_EQUAL, gLastUsedItem, ITEM_SAFARI_BALL, BattleScript_PrintCaughtMonInfo - incrementgamestat 0xB + incrementgamestat GAME_STAT_POKEMON_CAPTURES BattleScript_PrintCaughtMonInfo:: printstring STRINGID_GOTCHAPKMNCAUGHT trysetcaughtmondexflags BattleScript_TryNicknameCaughtMon |
