Use constants to delineate map types, and factor out more data

This commit is contained in:
Rangi 2020-08-31 10:23:19 -04:00
parent 70eac3a1f7
commit bfd9f617c9
17 changed files with 126 additions and 135 deletions

View file

@ -83,17 +83,18 @@ UnusedPlayerNameLengthFunc:
dec c
jr .loop
diploma_text: MACRO
dw \3
dwcoord \1, \2
ENDM
DiplomaTextPointersAndCoords:
dw DiplomaText
dwcoord 5, 2
dw DiplomaPlayer
dwcoord 3, 4
dw DiplomaEmptyText
dwcoord 15, 4
dw DiplomaCongrats
dwcoord 2, 6
dw DiplomaGameFreak
dwcoord 9, 16
; x, y, text
diploma_text 5, 2, DiplomaText
diploma_text 3, 4, DiplomaPlayer
diploma_text 15, 4, DiplomaEmptyText
diploma_text 2, 6, DiplomaCongrats
diploma_text 9, 16, DiplomaGameFreak
DiplomaText:
db CIRCLE_TILE_ID, "Diploma", CIRCLE_TILE_ID, "@"