Consistent if/else/endc (matches rept/endr) and DEF (matches BANK/HIGH/LOW)

This commit is contained in:
Remy Oukaour
2017-12-28 21:22:35 -05:00
committed by yenatch
parent 4c35f3ac85
commit b9a68fec25
12 changed files with 40 additions and 40 deletions

View File

@@ -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