mirror of https://github.com/pret/pokeemerald.git
Text now shows if the Pokemon was added to the dex and what PC it went to.
parent
85bf0019f9
commit
5bad37e03f
|
@ -775,8 +775,7 @@ index b22577455..b8605454e 100644
|
|||
{
|
||||
gBattlescriptCurrInstr = T1_READ_PTR(gBattlescriptCurrInstr + 1);
|
||||
}
|
||||
- else if (!FlagGet(FLAG_SYS_POKEDEX_GET))
|
||||
+ else if (!FlagGet(FLAG_SYS_POKEDEX_GET) || gUsingThiefBall == THIEF_BALL_CAUGHT)
|
||||
else if (!FlagGet(FLAG_SYS_POKEDEX_GET))
|
||||
{
|
||||
HandleSetPokedexFlag(SpeciesToNationalPokedexNum(species), FLAG_SET_CAUGHT, personality);
|
||||
gBattlescriptCurrInstr = T1_READ_PTR(gBattlescriptCurrInstr + 1);
|
||||
|
@ -841,9 +840,14 @@ index b7f0f693f..d1881fcf0 100644
|
|||
finishturn
|
||||
+BattleScript_SuccessBallThrowEndThief::
|
||||
+ printstring STRINGID_GOTCHAPKMNCAUGHTNOBGM
|
||||
+ trysetcaughtmondexflags BattleScript_SuccessBallThrowEndThiefGive
|
||||
+ printstring STRINGID_PKMNDATAADDEDTODEX
|
||||
+ waitstate
|
||||
+BattleScript_SuccessBallThrowEndThiefGive::
|
||||
+ printfromtable gCaughtMonStringIds
|
||||
+ waitmessage B_WAIT_TIME_LONG
|
||||
+ givecaughtmon
|
||||
+ cleareffectsonfaint BS_TARGET
|
||||
+ trysetcaughtmondexflags BattleScript_HandleFaintedMon
|
||||
+ goto BattleScript_HandleFaintedMon
|
||||
|
||||
BattleScript_WallyBallThrow::
|
||||
|
|
Loading…
Reference in New Issue