aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/diploma.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 22:11:35 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 22:22:09 -0400
commit6ef36800b0dcb86100a7c716172015667e60dc99 (patch)
tree7e381171a7f42cadb6e619c839bfc4d3eb88e7d1 /engine/events/diploma.asm
parentH_CONSTANTNAMES -> hConstantNames (diff)
downloadpokeyellow-6ef36800b0dcb86100a7c716172015667e60dc99.tar.gz
pokeyellow-6ef36800b0dcb86100a7c716172015667e60dc99.tar.xz
pokeyellow-6ef36800b0dcb86100a7c716172015667e60dc99.zip
Replace raw hex values with HRAM constants
To do: turn constants into labels and use ldh
Diffstat (limited to 'engine/events/diploma.asm')
-rwxr-xr-xengine/events/diploma.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events/diploma.asm b/engine/events/diploma.asm
index e53ef58f..24bd2f22 100755
--- a/engine/events/diploma.asm
+++ b/engine/events/diploma.asm
@@ -73,7 +73,7 @@ UnusedPlayerNameLengthFunc:
; Unused function that does a calculation involving the length of the player's
; name.
ld hl, wPlayerName
- ld bc, $ff00
+ lb bc, $ff, $00
.loop
ld a, [hli]
cp "@"