You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Consistent if/else/endc (matches rept/endr) and DEF (matches BANK/HIGH/LOW)
This commit is contained in:
@@ -26,13 +26,13 @@ Function_LoadOpponentTrainerAndPokemons: ; 1f8000
|
||||
ld a, [hRandomAdd]
|
||||
add b
|
||||
ld b, a ; b contains the nr of the trainer
|
||||
IF DEF(CRYSTAL11)
|
||||
if DEF(CRYSTAL11)
|
||||
and (1 << 7) - 1
|
||||
cp 70
|
||||
ELSE
|
||||
else
|
||||
and (1 << 5) - 1
|
||||
cp 21
|
||||
ENDC
|
||||
endc
|
||||
jr nc, .resample
|
||||
ld b, a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user