diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2017-06-20 05:46:48 +0200 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2017-06-19 23:46:48 -0400 |
commit | 102f5b1e15e7295e30a3cebfbbad3c8af4cc1d37 (patch) | |
tree | c1237e26e6ea3c562ff7e34ef6f85c82e271d3d4 /src/safari_zone.c | |
parent | 2c4dc714db7cb1d37963fcadddf2f7a744f1e654 (diff) |
Battle labels named (#333)
* Changed battle labels
Diffstat (limited to 'src/safari_zone.c')
-rw-r--r-- | src/safari_zone.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/safari_zone.c b/src/safari_zone.c index fa6c11f52..a47c8e951 100644 --- a/src/safari_zone.c +++ b/src/safari_zone.c @@ -23,7 +23,7 @@ struct PokeblockFeeder static void ClearAllPokeblockFeeders(void); static void DecrementFeederStepCounters(void); -extern u8 gUnknown_02024D26; +extern u8 gBattleOutcome; EWRAM_DATA u8 gNumSafariBalls = 0; EWRAM_DATA static u16 gSafariZoneStepCounter = 0; @@ -99,14 +99,14 @@ void sub_80C824C(void) { SetMainCallback2(c2_exit_to_overworld_2_switch); } - else if (gUnknown_02024D26 == 8) + else if (gBattleOutcome == 8) { ScriptContext2_RunNewScript(&gUnknown_081C340A); warp_in(); gFieldCallback = sub_8080E44; SetMainCallback2(CB2_LoadMap); } - else if (gUnknown_02024D26 == 7) + else if (gBattleOutcome == 7) { ScriptContext1_SetupScript(&gUnknown_081C3459); ScriptContext1_Stop(); |