shithub: pokecrystal

Download patch

ref: 0d3de2e30bb7bea2cf3849ea98068a3ce64f565b
parent: edc354152e53c94a806501eab066abab5ff1ba51
author: yenatch <[email protected]>
date: Mon Sep 2 23:39:21 EDT 2013

GetTMHMMove and renamed TechnicalMachines -> TMHMMoves

--- a/main.asm
+++ b/main.asm
@@ -23062,9 +23062,21 @@
 	ret
 ; 11626
 
-INCBIN "baserom.gbc", $11626, $1167a - $11626
+INCBIN "baserom.gbc", $11626, $1166a - $11626
 
-TechnicalMachines: ; 0x1167a
+GetTMHMMove: ; 1166a
+	ld a, [$d265]
+	dec a
+	ld hl, TMHMMoves
+	ld b, 0
+	ld c, a
+	add hl, bc
+	ld a, [hl]
+	ld [$d265], a
+	ret
+; 1167a
+
+TMHMMoves: ; 1167a
 	db DYNAMICPUNCH
 	db HEADBUTT
 	db CURSE
@@ -23122,6 +23134,7 @@
 	db FLASH
 	db WHIRLPOOL
 	db WATERFALL
+; 116b3
 
 INCBIN "baserom.gbc", $116b3, $116b7 - $116b3