You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use {interpolation} to generate sequences of RAM labels
This makes the table_width/assert_table_length usages unnecessary, and also keeps the labels automatically up to date if the length constants change.
This commit is contained in:
@@ -309,9 +309,9 @@ ReadBTTrainerParty:
|
||||
.skip_mon_3
|
||||
; Add the terminator character to each of these names
|
||||
ld a, "@"
|
||||
ld [wBT_OTTempMon1NameEnd - 1], a
|
||||
ld [wBT_OTTempMon2NameEnd - 1], a
|
||||
ld [wBT_OTTempMon3NameEnd - 1], a
|
||||
ld [wBT_OTTempMon1Name + MON_NAME_LENGTH - 1], a
|
||||
ld [wBT_OTTempMon2Name + MON_NAME_LENGTH - 1], a
|
||||
ld [wBT_OTTempMon3Name + MON_NAME_LENGTH - 1], a
|
||||
; Fix errors in the movesets
|
||||
call CheckBTMonMovesForErrors
|
||||
; Repair the trainer name if needed, then copy it to wOTPlayerName
|
||||
|
Reference in New Issue
Block a user