summaryrefslogtreecommitdiff
path: root/tools/tcgdisasm.py
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2018-07-03 20:31:48 -0500
committerGitHub <noreply@github.com>2018-07-03 20:31:48 -0500
commit169dc3d8fdd5603efd1766acd9ad1b8c23093e7f (patch)
treef11717e83ab1105378698de708280988a6e8995c /tools/tcgdisasm.py
parent779b0ff472edeff7b0bbb36970cb342c17613f12 (diff)
parentd27fb4554dda2b858b2fb3c0ea8585a2e782c0e6 (diff)
Merge pull request #43 from xCrystal/master
Disassembly and documentation of code related to text engine, menus and lists, and retreating Pokemon cards in a duel
Diffstat (limited to 'tools/tcgdisasm.py')
-rw-r--r--tools/tcgdisasm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tcgdisasm.py b/tools/tcgdisasm.py
index 75d1257..d6731d0 100644
--- a/tools/tcgdisasm.py
+++ b/tools/tcgdisasm.py
@@ -244,7 +244,7 @@ z80_table = [
('and ${:02x}', 1), # e6
('rst $20', 0), # e7
('add sp, ${:02x}', 1), # e8
- ('jp [hl]', 0), # e9
+ ('jp hl', 0), # e9
('ld [{}], a', 2), # ea
('db $eb', 0), # eb
('db $ec', 2), # ec
@@ -260,7 +260,7 @@ z80_table = [
('or ${:02x}', 1), # f6
('rst $30', 0), # f7
('ld hl, sp+${:02x}', 1), # f8
- ('ld sp, [hl]', 0), # f9
+ ('ld sp, hl', 0), # f9
('ld a, [{}]', 2), # fa
('ei', 0), # fb
('db $fc', 2), # fc