summaryrefslogtreecommitdiff
path: root/tools/tcgdisasm.py
diff options
context:
space:
mode:
authorElectroDeoxys <ElectroDeoxys@gmail.com>2021-02-22 13:45:13 +0000
committerElectroDeoxys <ElectroDeoxys@gmail.com>2021-02-22 14:04:17 +0000
commit8a7b1433f09e9cf8e1d40c9b69acde180d13a986 (patch)
tree482c411c9cbd70d4ba76471a0da853f1487532c0 /tools/tcgdisasm.py
parent21193167deaf379a4366d35f11779c1fad4ea931 (diff)
Disassemble and document Card Pop! functions
Diffstat (limited to 'tools/tcgdisasm.py')
-rw-r--r--tools/tcgdisasm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tcgdisasm.py b/tools/tcgdisasm.py
index 95db628..4cf162d 100644
--- a/tools/tcgdisasm.py
+++ b/tools/tcgdisasm.py
@@ -308,7 +308,7 @@ unconditional_returns = [0xc9, 0xd9, 0xe7] # e7 begins a script, which is not ha
absolute_jumps = [0xc3, 0xc2, 0xca, 0xd2, 0xda]
call_commands = [0xcd, 0xc4, 0xcc, 0xd4, 0xdc, 0xdf, 0xef]
relative_jumps = [0x18, 0x20, 0x28, 0x30, 0x38]
-unconditional_jumps = [0xc3, 0x18]
+unconditional_jumps = [0xc3, 0x18, 0xe9]
# the event macros found in bank 3. They db a byte after calling so need to be treated specially
event_macros = [(0xca8f,"set_event_value {}"),(0xcacd,"set_event_false {}"),(0xca84,"set_event_zero {}"), (0xcac2,"max_event_value {}"), (0xca69,"get_event_value {}")]