mirror of
https://github.com/pret/pokered.git
synced 2026-04-24 15:08:51 -05:00
Use less generic labels for party finding loops (#514)
Some checks failed
CI / build (push) Has been cancelled
Some checks failed
CI / build (push) Has been cancelled
This commit is contained in:
parent
d6e9f53825
commit
4eaccc4a7a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user