summaryrefslogtreecommitdiff
path: root/mrsun.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mrsun.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/mrsun.yaml b/mrsun.yaml
new file mode 100644
index 0000000..ffcad10
--- /dev/null
+++ b/mrsun.yaml
@@ -0,0 +1,25 @@
+---
+# Replaces EN_WALLINSECT
+
+source_files: [../src/mrsun.cpp]
+hooks:
+ - name: MrSun_Create
+ type: add_func_pointer
+ src_addr_pal: 0x80B0DFB8
+ target_func: 'MrSun_Create(MrSun *self)'
+
+ - name: MrSun_Execute
+ type: add_func_pointer
+ src_addr_pal: 0x80B0DFD0
+ target_func: 'MrSun_Execute(MrSun *self)'
+
+ - name: MrSun_Draw
+ type: patch
+ addr_pal: 0x80B0DFDC
+ data: '809D0810'
+
+ - name: MrSun_HeapDeallocated
+ type: patch
+ addr_pal: 0x80B0DFF8
+ data: '809D1F70'
+