summaryrefslogtreecommitdiff
path: root/mobile/fixed_words.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-01 13:13:49 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-01 13:13:49 -0400
commitfce6243b432d1df1b4ab244023be738a54dbe8f3 (patch)
treec93b0989254b15e86aa0ae07ab255d5bb5fd0afb /mobile/fixed_words.asm
parente171c84c2990df2c1a3773885297089869a0fd58 (diff)
Identify more labels, and use the jumptable macro when possible
Diffstat (limited to 'mobile/fixed_words.asm')
-rw-r--r--mobile/fixed_words.asm11
1 files changed, 1 insertions, 10 deletions
diff --git a/mobile/fixed_words.asm b/mobile/fixed_words.asm
index 3b4c0878d..5394b6b4e 100644
--- a/mobile/fixed_words.asm
+++ b/mobile/fixed_words.asm
@@ -2455,16 +2455,7 @@ Function11d035:
AnimateEZChatCursor:
ld hl, SPRITEANIMSTRUCT_0C
add hl, bc
- ld a, [hl]
- ld e, a
- ld d, 0
- ld hl, .Jumptable
- add hl, de
- add hl, de
- ld a, [hli]
- ld h, [hl]
- ld l, a
- jp hl
+ jumptable .Jumptable, hl
.Jumptable:
dw .zero