Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mislabeled sweet_scent.asm subroutine #1140

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions engine/events/sweet_scent.asm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SweetScentEncounter:
jr nc, .no_battle
ld hl, wStatusFlags2
bit STATUSFLAGS2_BUG_CONTEST_TIMER_F, [hl]
jr nz, .not_in_bug_contest
jr nz, .in_bug_contest
farcall GetMapEncounterRate
ld a, b
and a
Expand All @@ -43,7 +43,7 @@ SweetScentEncounter:
jr nz, .no_battle
jr .start_battle

.not_in_bug_contest
.in_bug_contest
farcall ChooseWildEncounter_BugContest

.start_battle
Expand Down