Skip to content

Commit

Permalink
Update mislabeled sweet_scent.asm subroutine (#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
duckiedev authored Oct 17, 2024
1 parent 2265e53 commit 1febb75
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 1febb75

Please sign in to comment.