summaryrefslogtreecommitdiff
path: root/mrsun.yaml
diff options
context:
space:
mode:
authorColin Noga <Tempus@Spectrum-Song.local>2011-09-11 06:13:25 -0500
committerColin Noga <Tempus@Spectrum-Song.local>2011-09-11 06:13:25 -0500
commit0e5f20a6dc5f179cc38692b79a233ff2c1d86450 (patch)
tree3d5957e1fc5eae2fc62db0016c48b8d1d0ae3faf /mrsun.yaml
parentdd486705285fa58fe8a292203329b9a35ff1d77d (diff)
downloadkamek-0e5f20a6dc5f179cc38692b79a233ff2c1d86450.tar.gz
kamek-0e5f20a6dc5f179cc38692b79a233ff2c1d86450.zip
MrSun prototype and some fixes
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'
+