You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
CRYSTAL11 → _CRYSTAL11
This commit is contained in:
@@ -26,7 +26,7 @@ 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 $7f
|
||||
else
|
||||
and $1f
|
||||
|
||||
@@ -7,7 +7,7 @@ BattleTowerText:: ; 11c000
|
||||
push af
|
||||
ld a, BANK(BT_OTTrainerClass)
|
||||
ld [rSVBK], a
|
||||
if DEF(CRYSTAL11)
|
||||
if DEF(_CRYSTAL11)
|
||||
ld hl, BT_OTTrainerClass
|
||||
else
|
||||
; BUG ALERT
|
||||
@@ -16,7 +16,7 @@ else
|
||||
; uses it to get the gender of the trainer.
|
||||
; As a consequence, the enemy trainer's dialog will
|
||||
; always be sampled from the female array.
|
||||
ld hl, BT_OTName + 5
|
||||
ld hl, BT_OTName + NAME_LENGTH_JAPANESE - 1
|
||||
endc
|
||||
ld a, [hl]
|
||||
dec a
|
||||
|
||||
Reference in New Issue
Block a user