summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-09-15 23:56:47 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-09-15 23:56:47 -0400
commit0f5510b72ea8843d54ffaaf1c70c24d271f5dc67 (patch)
tree5b1d66c1e60bc8dd49f7c0c7b709e9990e1f7a17
parent6b75f3869aa40d2dc9bb80dcecc6b8ad0116c94d (diff)
Use ld16 when possible
-rw-r--r--source/bank_00.asm5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/bank_00.asm b/source/bank_00.asm
index 6e27c90..ac9f395 100644
--- a/source/bank_00.asm
+++ b/source/bank_00.asm
@@ -1447,10 +1447,7 @@ function_00_0a6d::
pop hl
pop af
ld [w_c31b], a
- ld a, l
- ld [w_c31c + 0], a
- ld a, h
- ld [w_c31c + 1], a
+ ld16 w_c31c, hl
ld hl, w_c319
ld a, [hl+]
ld h, [hl]