mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Fix #511: eliminate "Left shift of negative value" warnings
This commit is contained in:
parent
e5d4f741ee
commit
aa51dbc612
@ -4,13 +4,13 @@ MagnetTrain: ; 8cc04
|
||||
jr nz, .ToGoldenrod
|
||||
ld a, 1 ; forwards
|
||||
lb bc, $40, $60
|
||||
lb de, (11 * 8) - (11 * 8 + 4), -$60
|
||||
lb de, ((11 * 8) - (11 * 8 + 4)), -$60
|
||||
jr .continue
|
||||
|
||||
.ToGoldenrod:
|
||||
ld a, -1 ; backwards
|
||||
lb bc, -$40, -$60
|
||||
lb de, (11 * 8) + (11 * 8 + 4), $60
|
||||
lb de, ((11 * 8) + (11 * 8 + 4)), $60
|
||||
|
||||
.continue
|
||||
ld h, a
|
||||
|
Loading…
Reference in New Issue
Block a user