Identify more labels, and use the jumptable macro when possible
This commit is contained in:
@@ -154,16 +154,7 @@ CutGrassGFX:
|
||||
INCBIN "gfx/overworld/cut_grass.2bpp"
|
||||
|
||||
OWCutJumptable:
|
||||
ld a, [wJumptableIndex]
|
||||
ld e, a
|
||||
ld d, 0
|
||||
ld hl, .dw
|
||||
add hl, de
|
||||
add hl, de
|
||||
ld a, [hli]
|
||||
ld h, [hl]
|
||||
ld l, a
|
||||
jp hl
|
||||
jumptable .dw, wJumptableIndex
|
||||
|
||||
.dw
|
||||
dw Cut_SpawnAnimateTree
|
||||
|
Reference in New Issue
Block a user