diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-08-31 10:23:19 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-08-31 10:23:19 -0400 |
| commit | bfd9f617c96af851ad4100b752ea967ef8989edc (patch) | |
| tree | 078f667a596ee500839f21081c2371ade0ec7950 /engine/events/diploma.asm | |
| parent | Factor out data/tilesets/pair_collision_tile_ids.asm (diff) | |
| download | pokeyellow-bfd9f617c96af851ad4100b752ea967ef8989edc.tar.gz pokeyellow-bfd9f617c96af851ad4100b752ea967ef8989edc.tar.xz pokeyellow-bfd9f617c96af851ad4100b752ea967ef8989edc.zip | |
Use constants to delineate map types, and factor out more data
Diffstat (limited to 'engine/events/diploma.asm')
| -rwxr-xr-x | engine/events/diploma.asm | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/engine/events/diploma.asm b/engine/events/diploma.asm index c282b49b..91541f09 100755 --- a/engine/events/diploma.asm +++ b/engine/events/diploma.asm @@ -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, "@" |
