shithub: pokered

Download patch

ref: 07165f25dc2deefa77fdb20476929d9e1b363ede
parent: 4889e8fa3ea9401a7692ed588ab24239b328f30e
author: akatsuki-py <bluejapan73+dev@gmail.com>
date: Sun May 24 00:58:12 EDT 2020

use rept macro

--- a/engine/overworld/healing_machine.asm
+++ b/engine/overworld/healing_machine.asm
@@ -89,16 +89,9 @@
 
 CopyHealingMachineOAM:
 ; copy one OAM entry and advance the pointers
+	rept 4
 	ld a, [de]
 	inc de
 	ld [hli], a
-	ld a, [de]
-	inc de
-	ld [hli], a
-	ld a, [de]
-	inc de
-	ld [hli], a
-	ld a, [de]
-	inc de
-	ld [hli], a
+	endr
 	ret