From 0d3de2e30bb7bea2cf3849ea98068a3ce64f565b Mon Sep 17 00:00:00 2001 From: yenatch Date: Tue, 3 Sep 2013 03:39:21 -0400 Subject: [PATCH] GetTMHMMove and renamed TechnicalMachines -> TMHMMoves --- main.asm | 17 +++++++++++++++-- 1 file 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