shithub: pokecrystal

Download patch

ref: 6e91c3a293d94990695e6b002a8c031873aefdf9
parent: e01a86fe840dd4b75266f458cf09f1bf2bb00901
author: yenatch <[email protected]>
date: Thu May 10 20:42:44 EDT 2018

Revert "Fix #511: eliminate "Left shift of negative value" warnings"

This reverts commit aa51dbc61245d5b4949c1872b3d3e915a981ded3.

--- a/engine/events/magnet_train.asm
+++ b/engine/events/magnet_train.asm
@@ -4,13 +4,13 @@
 	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