summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-09-03 03:39:21 -0400
committeryenatch <yenatch@gmail.com>2013-09-03 03:39:21 -0400
commit0d3de2e30bb7bea2cf3849ea98068a3ce64f565b (patch)
tree95c3e2e36aec9c0ea7ddfc4df05187aecc605ed1
parentedc354152e53c94a806501eab066abab5ff1ba51 (diff)
GetTMHMMove and renamed TechnicalMachines -> TMHMMoves
-rw-r--r--main.asm17
1 files changed, 15 insertions, 2 deletions
diff --git a/main.asm b/main.asm
index b2dbad7d3..2271a3d36 100644
--- a/main.asm
+++ b/main.asm
@@ -23062,9 +23062,21 @@ Function11621: ; 11621
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 @@ TechnicalMachines: ; 0x1167a
db FLASH
db WHIRLPOOL
db WATERFALL
+; 116b3
INCBIN "baserom.gbc", $116b3, $116b7 - $116b3