You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
jumptable macro repurposed
This commit is contained in:
@@ -519,9 +519,8 @@ Mobile12_Bin2Dec: ; 48444 (12:4444)
|
||||
.loop
|
||||
and a
|
||||
jr z, .got_string
|
||||
rept 2
|
||||
inc hl
|
||||
endr
|
||||
inc hl
|
||||
dec a
|
||||
jr .loop
|
||||
.got_string
|
||||
@@ -746,9 +745,8 @@ Function486bf: ; 486bf (12:46bf)
|
||||
pop af
|
||||
ld [hli], a
|
||||
ld a, $1
|
||||
rept 2
|
||||
ld [hli], a
|
||||
endr
|
||||
ld [hli], a
|
||||
xor a
|
||||
rept 3
|
||||
ld [hli], a
|
||||
@@ -1673,12 +1671,10 @@ Function48cdc: ; 48cdc (12:4cdc)
|
||||
pop bc
|
||||
ld de, AttrMap - TileMap
|
||||
add hl, de
|
||||
rept 2
|
||||
inc b
|
||||
endr
|
||||
rept 2
|
||||
inc b
|
||||
inc c
|
||||
inc c
|
||||
endr
|
||||
ld a, $0
|
||||
.asm_48ced
|
||||
push bc
|
||||
|
||||
Reference in New Issue
Block a user