summaryrefslogtreecommitdiff
path: root/levelspecial.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'levelspecial.yaml')
-rw-r--r--levelspecial.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/levelspecial.yaml b/levelspecial.yaml
new file mode 100644
index 0000000..cc8d33a
--- /dev/null
+++ b/levelspecial.yaml
@@ -0,0 +1,25 @@
+---
+# Replaces TAG_THUNDER
+
+source_files: [../src/levelspecial.cpp]
+hooks:
+ - name: LevelSpecial_Create
+ type: add_func_pointer
+ src_addr_pal: 0x8097CD3C
+ target_func: 'LevelSpecial_Create(LevelSpecial *)'
+
+ - name: LevelSpecial_Execute
+ type: add_func_pointer
+ src_addr_pal: 0x8097CD54
+ target_func: 'LevelSpecial_Execute(LevelSpecial *)'
+
+ - name: ResetAfterLevel
+ type: branch_insn
+ branch_type: b
+ src_addr_pal: 0x809259E0
+ target_func: 'ResetAfterLevel(void)'
+
+ - name: LevelSpecial_MemFix
+ type: patch
+ addr_pal: 0x808AC778
+ data: '38600400'