mirror of https://github.com/pret/pokecrystal.git
Update mislabeled sweet_scent.asm subroutine (#1140)
This commit is contained in:
parent
2265e53d24
commit
1febb75bf9
|
@ -34,7 +34,7 @@ SweetScentEncounter:
|
||||||
jr nc, .no_battle
|
jr nc, .no_battle
|
||||||
ld hl, wStatusFlags2
|
ld hl, wStatusFlags2
|
||||||
bit STATUSFLAGS2_BUG_CONTEST_TIMER_F, [hl]
|
bit STATUSFLAGS2_BUG_CONTEST_TIMER_F, [hl]
|
||||||
jr nz, .not_in_bug_contest
|
jr nz, .in_bug_contest
|
||||||
farcall GetMapEncounterRate
|
farcall GetMapEncounterRate
|
||||||
ld a, b
|
ld a, b
|
||||||
and a
|
and a
|
||||||
|
@ -43,7 +43,7 @@ SweetScentEncounter:
|
||||||
jr nz, .no_battle
|
jr nz, .no_battle
|
||||||
jr .start_battle
|
jr .start_battle
|
||||||
|
|
||||||
.not_in_bug_contest
|
.in_bug_contest
|
||||||
farcall ChooseWildEncounter_BugContest
|
farcall ChooseWildEncounter_BugContest
|
||||||
|
|
||||||
.start_battle
|
.start_battle
|
||||||
|
|
Loading…
Reference in New Issue