diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-01 13:13:49 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-01 13:13:49 -0400 |
commit | fce6243b432d1df1b4ab244023be738a54dbe8f3 (patch) | |
tree | c93b0989254b15e86aa0ae07ab255d5bb5fd0afb /mobile/mobile_45_sprite_engine.asm | |
parent | e171c84c2990df2c1a3773885297089869a0fd58 (diff) |
Identify more labels, and use the jumptable macro when possible
Diffstat (limited to 'mobile/mobile_45_sprite_engine.asm')
-rw-r--r-- | mobile/mobile_45_sprite_engine.asm | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/mobile/mobile_45_sprite_engine.asm b/mobile/mobile_45_sprite_engine.asm index 28b5b611b..54ecede02 100644 --- a/mobile/mobile_45_sprite_engine.asm +++ b/mobile/mobile_45_sprite_engine.asm @@ -354,16 +354,7 @@ Function11619d: ret Function1161b8: - ld a, [wc319] - 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, wc319 .Jumptable: dw Function1161d5 |