aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/diploma.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-05 19:58:21 -0400
committerGitHub <noreply@github.com>2020-07-05 19:58:21 -0400
commitc57c93d2b2fb06cadafefda37c0974ba1ec9e6c0 (patch)
tree531d6b30d5a606ae963024825ed6e614843000a6 /engine/events/diploma.asm
parentMerge pull request #257 from Rangi42/master (diff)
parentdb $f6 == script_cable_club_receptionist (diff)
downloadpokeyellow-c57c93d2b2fb06cadafefda37c0974ba1ec9e6c0.tar.gz
pokeyellow-c57c93d2b2fb06cadafefda37c0974ba1ec9e6c0.tar.xz
pokeyellow-c57c93d2b2fb06cadafefda37c0974ba1ec9e6c0.zip
Merge pull request #259 from Rangi42/master
Port pokecrystal's formatting of text commands and special characters
Diffstat (limited to 'engine/events/diploma.asm')
-rwxr-xr-xengine/events/diploma.asm6
1 files changed, 4 insertions, 2 deletions
diff --git a/engine/events/diploma.asm b/engine/events/diploma.asm
index 53d78e57..92196537 100755
--- a/engine/events/diploma.asm
+++ b/engine/events/diploma.asm
@@ -1,3 +1,5 @@
+CIRCLE_TILE_ID EQU $70
+
DisplayDiploma::
call SaveScreenTilesToBuffer2
call GBPalWhiteOutWithDelay3
@@ -8,7 +10,7 @@ DisplayDiploma::
set 6, [hl]
call DisableLCD
ld hl, CircleTile
- ld de, vChars2 + $700
+ ld de, vChars2 + CIRCLE_TILE_ID * $10
ld bc, $10
ld a, BANK(CircleTile)
call FarCopyData2
@@ -94,7 +96,7 @@ DiplomaTextPointersAndCoords:
dwCoord 9, 16
DiplomaText:
- db $70,"Diploma",$70,"@"
+ db CIRCLE_TILE_ID, "Diploma", CIRCLE_TILE_ID, "@"
DiplomaPlayer:
db "Player@"