Use less generic labels for party finding loops (#514)
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
kagnusdev 2025-07-08 00:59:17 +02:00 committed by GitHub
parent d6e9f53825
commit 4eaccc4a7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,14 +31,14 @@ ReadTrainer:
; and hl points to the trainer class.
; Our next task is to iterate through the trainers,
; decrementing b each time, until we get to the right one.
.outer
.CheckNextTrainer
dec b
jr z, .IterateTrainer
.inner
.SkipTrainer
ld a, [hli]
and a
jr nz, .inner
jr .outer
jr nz, .SkipTrainer
jr .CheckNextTrainer
; if the first byte of trainer data is FF,
; - each pokemon has a specific level