Skip to content

Commit b1f8d42

Browse files
authored
Inline NoSwarmWildmon label (#1199)
1 parent 9e7a4f9 commit b1f8d42

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

engine/overworld/wildmons.asm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ _SwarmWildmonCheck:
425425
cp e
426426
jr nz, .CheckYanma
427427
call LookUpWildmonsForMapDE
428-
jr nc, _NoSwarmWildmon
428+
jr nc, .noSwarm
429429
scf
430430
ret
431431

@@ -434,19 +434,19 @@ _SwarmWildmonCheck:
434434
ld hl, wSwarmFlags
435435
bit SWARMFLAGS_YANMA_SWARM_F, [hl]
436436
pop hl
437-
jr z, _NoSwarmWildmon
437+
jr z, .noSwarm
438438
ld a, [wYanmaMapGroup]
439439
cp d
440-
jr nz, _NoSwarmWildmon
440+
jr nz, .noSwarm
441441
ld a, [wYanmaMapNumber]
442442
cp e
443-
jr nz, _NoSwarmWildmon
443+
jr nz, .noSwarm
444444
call LookUpWildmonsForMapDE
445-
jr nc, _NoSwarmWildmon
445+
jr nc, .noSwarm
446446
scf
447447
ret
448448

449-
_NoSwarmWildmon:
449+
.noSwarm:
450450
and a
451451
ret
452452

0 commit comments

Comments
 (0)