summaryrefslogtreecommitdiff
path: root/chestnut.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'chestnut.yaml')
-rw-r--r--chestnut.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/chestnut.yaml b/chestnut.yaml
new file mode 100644
index 0000000..1b4b60f
--- /dev/null
+++ b/chestnut.yaml
@@ -0,0 +1,16 @@
+---
+source_files: [../src/chestnut.cpp]
+
+hooks:
+ - name: BuildChestnut
+ type: add_func_pointer
+ src_addr_pal: 0x80978E90
+ target_func: 'daEnChestnut_c::build(void)'
+ - name: ChestnutSpriteFileInfo
+ type: add_func_pointer
+ src_addr_pal: 0x8031B04C
+ target_func: 'ChestnutFileList'
+ - name: ChestnutFixSpawnPosition
+ type: patch
+ addr_pal: 0x8030D544
+ data: '00000008 FFFFFFF0'